|
|
|
@ -218,10 +218,6 @@ export default { |
|
|
|
|
value: 2, |
|
|
|
|
label: '数据平台' |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
value: 3, |
|
|
|
|
label: '中台' |
|
|
|
|
} |
|
|
|
|
], |
|
|
|
|
page: 1, |
|
|
|
|
pageSize: 10, |
|
|
|
@ -373,7 +369,11 @@ export default { |
|
|
|
|
id: row.userId, |
|
|
|
|
isEnable: val |
|
|
|
|
}).then(res => { |
|
|
|
|
if(res.code == '200') { |
|
|
|
|
this.$message.success(val ? '启用成功' : '禁用成功') |
|
|
|
|
}else{ |
|
|
|
|
this.$message.success(res.message) |
|
|
|
|
} |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}, |
|
|
|
|
handleSelectionChange(val) { |
|
|
|
@ -386,10 +386,16 @@ export default { |
|
|
|
|
type: 'warning' |
|
|
|
|
}).then(() => { |
|
|
|
|
this.$post(this.api.delUserAccounts,delList).then(res => { |
|
|
|
|
|
|
|
|
|
}).catch(res => { |
|
|
|
|
if(res.code == '200') { |
|
|
|
|
this.multipleSelection = []; |
|
|
|
|
this.$message.success('删除成功') |
|
|
|
|
this.getData() |
|
|
|
|
}).catch(res => {}) |
|
|
|
|
}else{ |
|
|
|
|
this.$message.success(res.message) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}).catch(() => {}) |
|
|
|
|
}else{ |
|
|
|
|
this.$message.error('请先选择客户 !') |
|
|
|
|