|
|
|
|
@ -429,6 +429,9 @@ export default { |
|
|
|
|
row.roleId = func.join(row.roleId); |
|
|
|
|
row.postId = func.join(row.postId); |
|
|
|
|
row.leaderId = func.join(row.leaderId); |
|
|
|
|
row.tenantId = '000000' |
|
|
|
|
row.userType = '1' |
|
|
|
|
console.log('row--------------',row) |
|
|
|
|
add(row).then( |
|
|
|
|
() => { |
|
|
|
|
this.initFlag = false; |
|
|
|
|
@ -452,6 +455,9 @@ export default { |
|
|
|
|
row.leaderId = func.join(row.leaderId); |
|
|
|
|
// 获取需要提交的数据 |
|
|
|
|
const submitData = this.sensitiveManager.getSubmitData(row); |
|
|
|
|
row.tenantId = '000000' |
|
|
|
|
row.userType = '1' |
|
|
|
|
console.log('sub--------',submitData) |
|
|
|
|
update(submitData).then( |
|
|
|
|
() => { |
|
|
|
|
this.initFlag = false; |
|
|
|
|
|