Browse Source

切换用的BUG

master
Rui_Li 4 years ago
parent
commit
2e463f4231
  1. 13
      src/views/modules/yieldReport/com_switch_operator.vue

13
src/views/modules/yieldReport/com_switch_operator.vue

@ -80,7 +80,7 @@ export default {
if(!data.row){ if(!data.row){
this.$message.error('账号有误!'); this.$message.error('账号有误!');
return false; return false;
}
}else{
let status = data.row.status; let status = data.row.status;
this.operatorData.operatorName = data.row.operatorName; this.operatorData.operatorName = data.row.operatorName;
// //
@ -94,12 +94,13 @@ export default {
if (!this.operatorFlag) { if (!this.operatorFlag) {
this.$message.error('操作员信息不可用!'); this.$message.error('操作员信息不可用!');
} }
})
//
.then(() => {
this.visibleFlag = false;
//
this.closeDialog();
//
this.$emit('initOperatorData', this.operatorData) this.$emit('initOperatorData', this.operatorData)
});
}
})
}, },
}, },
created() { created() {

Loading…
Cancel
Save