Browse Source

Merge branch 'V4.3.3_mk' into dev

feature
mk 1 year ago
parent
commit
8b4921fb19
  1. 11
      src/views/modules/home/index.vue
  2. 9
      src/views/modules/shequzhili/eventOld/cpts/event-info.vue

11
src/views/modules/home/index.vue

@ -477,7 +477,16 @@ export default {
this.$router.push({
path: obj[item.category],
});
}
} else if(item.msgType == "sys_version_upgrade_publish"){
let { targetId } = item
this.$router.push({ path: `notice-version`, query: { version_id: targetId } });
this.$store.state.contentTabs = this.$store.state.contentTabs.map(item => {
if (item.name === "notice-version") {
return { ...item };
}
return item;
});
}
this.getNoticeData()
},

9
src/views/modules/shequzhili/eventOld/cpts/event-info.vue

@ -504,7 +504,12 @@ export default {
this.formData.agencyId = "";
this.formData.gridId = "";
}
this.formData.openFlag = this.formData.operationType == "7"?1:0
if(this.formData.operationType == "7"){
this.formData.openFlag = 1
this.formData.operationType = ""
}else{
this.formData.openFlag = 0
}
const url = "/governance/icEventOld/add";
const { data, code, msg } = await requestPost(url, {
...this.formData,
@ -540,7 +545,7 @@ export default {
this.replayInfo.icEventId = this.eventId;
if(this.formData.operationType === '7'){
this.replayInfo.openFlag = 1
this.replayInfo.operationType = '7'//openFlagtrue?
this.replayInfo.operationType = ''//openFlagtrue?
this.replayInfo.content = '1111'//openFlagtrue?
}else{
this.replayInfo.openFlag = 0

Loading…
Cancel
Save