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