部门选择

This commit is contained in:
liuye
2023-06-13 15:35:14 +08:00
parent c616e57b4f
commit 23383c28de

View File

@@ -148,12 +148,7 @@ export default {
this.form = {...row}
this.form.deptList = []
this.form.areaList = this.form.areaIds.split(',')
var deptList = row.departmentIds.split(',')
var deptNameList = row.departmentNames.split(',')
deptList.map((item, index) => {
var i = {id: item, name: deptNameList[index], checked: true}
this.form.deptList[index] = i
})
this.form.deptList = row.departmentIds.split(',')
this.dialog = true
},
add() {