部门选择
This commit is contained in:
@@ -148,12 +148,7 @@ export default {
|
|||||||
this.form = {...row}
|
this.form = {...row}
|
||||||
this.form.deptList = []
|
this.form.deptList = []
|
||||||
this.form.areaList = this.form.areaIds.split(',')
|
this.form.areaList = this.form.areaIds.split(',')
|
||||||
var deptList = row.departmentIds.split(',')
|
this.form.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.dialog = true
|
this.dialog = true
|
||||||
},
|
},
|
||||||
add() {
|
add() {
|
||||||
|
|||||||
Reference in New Issue
Block a user