Browse Source

切换用的BUG

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

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

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

Loading…
Cancel
Save