|
|
@ -84,9 +84,7 @@ export default { |
|
|
|
.showModal('提示', '是否申请成为家属?') |
|
|
|
.then(async () => { |
|
|
|
const params = { bindUserId }; |
|
|
|
console.log('params: ', params); |
|
|
|
const res = await this.getCreateTrainee(params); |
|
|
|
console.log('res: ', res); |
|
|
|
if (!res.length) { |
|
|
|
this.$t.ui.showToast('提醒工具箱拥有者添加使用者信息'); |
|
|
|
setTimeout(() => { |
|
|
@ -193,7 +191,6 @@ export default { |
|
|
|
async handleUpgrade() { |
|
|
|
try { |
|
|
|
const params = { keyUserIds: this.keyUserIds }; |
|
|
|
console.log('params: ', params); |
|
|
|
await this.$u.api.upgradeTrainee(params); |
|
|
|
this.$refs.uModal.clearLoading(); |
|
|
|
this.setAlert('使用者设置成功', 'success'); |
|
|
|