派生自 wuyushui/SewerAndRainNetwork

yangdelong
2021-05-28 038d3b71ed121785df9476ea404dc4b12ad3ff8c
src/components/base-page/enterprise-emergency/ReportIncident.vue
@@ -371,14 +371,18 @@
    submitForm (formName) {
      this.$refs[formName].validate((valid) => {
        if (valid) {
          alert('submit!')
          // alert('submit!')
          this.$message({
            message: '事件上报提交成功',
            type: 'success'
          })
        } else {
          console.log('error submit!!')
          this.$message('事件上报提交失败')
          return false
        }
      })
      this.circlePopup()
      this.ruleForm.nameOfEvent = this.ruleForm.eventOfType = ''
      this.$refs[formName].resetFields()
    },
    // 点击关闭 事件上报
    circlePopup () {