派生自 wuyushui/SewerAndRainNetwork

陈泽平
2021-05-28 e79998e0764d6d00b050363bdeda48519a1f0c31
src/components/base-page/enterprise-emergency/events-reported/EventsReported.vue
@@ -329,7 +329,7 @@
    }
  },
  mounted () {
    eventBus.$on('section-search', (obj) => {
    eventBus.$on('location-setChange', (obj) => {
      if (obj) {
        this.dialogLocation = false
      }
@@ -338,7 +338,7 @@
  methods: {
    // 接收子组件传递的数据
    getlocaltionClick (val) {
      console.log(val)
      // console.log(val)
      this.ruleForm.positionOf = val.latPos + '-' + val.longPos
      this.dialogLocation = !this.dialogLocation
    },
@@ -368,11 +368,13 @@
          return false
        }
      })
      this.$refs[formName].resetFields()
      // this.$refs[formName].resetFields()
      eventBus.$emit('event-report-popup', false)
    },
    // form表单的取消按钮点击事件 重置信息
    resetForm (formName) {
      this.$refs[formName].resetFields()
      eventBus.$emit('event-report-popup', false)
    }
  }
}