|
@@ -217,10 +217,12 @@ export default {
|
|
|
if (!row.status) {
|
|
|
return getApp().$message.error("请先启用用户", "提示");
|
|
|
}
|
|
|
+ let deptIdList = row.deptIdList&&row.deptIdList.split(',') || []
|
|
|
+ deptIdList.push(row.deptId)
|
|
|
data.editData = {
|
|
|
editName:row.nickName,
|
|
|
roleId:row.roleId,
|
|
|
- deptIdList:row.deptIdList&&row.deptIdList.split(','),
|
|
|
+ deptIdList:deptIdList,
|
|
|
}
|
|
|
console.log('updateInfo',row,data.editData)
|
|
|
data.relationDeptId = row.deptId
|