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