Browse Source

解决bug:值班人员新增弹窗,未清除上次打开弹窗时的人员信息

wangqin
刘朋 8 months ago
parent
commit
48c7400a73
  1. 9
      ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue

9
ruoyi-ui/src/views/JiHeExpressway/pages/control/event/businessDataManagement/views/dutyOfficer/components/ModifyDutyInformationTable.vue

@ -133,6 +133,13 @@ export default {
return this.visible; return this.visible;
}, },
set(bool) { set(bool) {
//,
if(!bool) {
this.dayShift = [];
this.graveyardShift = [];
this.peopleList = [];
}
this.$emit("close", bool); this.$emit("close", bool);
}, },
}, },
@ -269,7 +276,7 @@ export default {
// console.log("%c [ data ]-202-ModifyDutyInformationTable.vue", "font-size:15px; background:#9afce6; color:#deffff;", data, this.value2); // console.log("%c [ data ]-202-ModifyDutyInformationTable.vue", "font-size:15px; background:#9afce6; color:#deffff;", data, this.value2);
const closeMessage = loadingMessage({ const closeMessage = loadingMessage({
message: "正在保存值班信息111...", message: "正在保存值班信息...",
}); });
if (!this.data) { if (!this.data) {

Loading…
Cancel
Save