|
|
@ -52,7 +52,7 @@ |
|
|
|
</el-form-item> |
|
|
|
<el-form-item label="用户角色" prop="tagIds"> |
|
|
|
<el-checkbox-group v-model="dataForm.tagIds"> |
|
|
|
<el-checkbox v-for="item in tagOptions" :key="item.id" :label="item.id">{{item.tagName}}</el-checkbox> |
|
|
|
<el-checkbox v-for="item in tagOptions" :key="item.tagName" :label="item.id">{{item.tagName}}</el-checkbox> |
|
|
|
</el-checkbox-group> |
|
|
|
</el-form-item> |
|
|
|
</el-form> |
|
|
@ -144,11 +144,10 @@ export default { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
this.tagOptions = res.data |
|
|
|
console.log(this.tagOptions) |
|
|
|
}).catch(() => {}) |
|
|
|
}, |
|
|
|
getStreetList () { |
|
|
|
this.$http.get(`/sys/dept/sublist/0`).then(({ data: res }) => { |
|
|
|
this.$http.get(`/sys/dept/sublist/1169154711480528897`).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
@ -192,6 +191,7 @@ export default { |
|
|
|
...this.dataForm, |
|
|
|
...res.data |
|
|
|
} |
|
|
|
this.dataForm.tagIds = res.data.tagIdsNew |
|
|
|
this.$http.get(`/sys/dept/sublist/` + this.dataForm.streetId).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|