|
|
|
@ -753,14 +753,14 @@ export default { |
|
|
|
row.deptId = func.join(row.deptId); |
|
|
|
row.deptId = func.join(row.deptId); |
|
|
|
row.roleId = func.join(row.roleId); |
|
|
|
row.roleId = func.join(row.roleId); |
|
|
|
row.postId = func.join(row.postId); |
|
|
|
row.postId = func.join(row.postId); |
|
|
|
// if (row.deptId.split(',').length > 1) { |
|
|
|
if (row.deptId.split(',').length > 1) { |
|
|
|
// this.$message({ |
|
|
|
this.$message({ |
|
|
|
// type: "error", |
|
|
|
type: "error", |
|
|
|
// message: "所属部门只能选择一个!" |
|
|
|
message: "所属部门只能选择一个!" |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// loading(); |
|
|
|
loading(); |
|
|
|
// return false |
|
|
|
return false |
|
|
|
// } |
|
|
|
} |
|
|
|
update(row).then(() => { |
|
|
|
update(row).then(() => { |
|
|
|
this.initFlag = false; |
|
|
|
this.initFlag = false; |
|
|
|
this.onLoad(this.page); |
|
|
|
this.onLoad(this.page); |
|
|
|
|