部门选择
This commit is contained in:
		| @@ -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() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user