Browse Source

事件上报中有网格但是出发验证提示未选中网格

feature
mk 9 months ago
parent
commit
9e3fc40de7
  1. 7
      src/views/modules/shequzhili/eventOld/cpts/event-detail.vue
  2. 2
      src/views/modules/shequzhili/eventOld/cpts/event-info.vue

7
src/views/modules/shequzhili/eventOld/cpts/event-detail.vue

@ -271,7 +271,7 @@ export default {
watch: { watch: {
"info.gridId": function (val) { "info.gridId": function (val) {
this.selGridId = val; this.selGridId = val;
this.$emit("changeGridId", val); this.$emit("handelCLickGridId", val);
this.gridId = this.selGridId; this.gridId = this.selGridId;
if (!this.eventDetailData.gridId && this.selGridId) { if (!this.eventDetailData.gridId && this.selGridId) {
this.updateEvent(); this.updateEvent();
@ -294,8 +294,11 @@ export default {
}, },
mounted() { mounted() {
this.user = this.$store.state.user; this.user = this.$store.state.user;
if (this.eventId) { if (this.eventId) {//
this.info = JSON.parse(JSON.stringify(this.eventDetailData)); this.info = JSON.parse(JSON.stringify(this.eventDetailData));
if(this.info.gridId){
this.$emit("handelCLickGridId", this.info.gridId);
}
this.agencyId = this.info.agencyId this.agencyId = this.info.agencyId
} }
this.loadGrid(); this.loadGrid();

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

@ -508,7 +508,7 @@ export default {
} }
}, },
handelCLickGridId(val){ handelCLickGridId(val){
this.grid = val.value; this.grid = val;
}, },
async handelDispose() { async handelDispose() {
this.$refs.ref_processinfo_dispose.getProcessInfo(); this.$refs.ref_processinfo_dispose.getProcessInfo();

Loading…
Cancel
Save