zhuliu hace 9 meses
padre
commit
496fdf3fd2
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. 3 3
      src/views/report/components/dialog/cronConclusion.vue

+ 3 - 3
src/views/report/components/dialog/cronConclusion.vue

@@ -102,7 +102,7 @@ export default {
             }
             this.form.fileGuids = guids
           // this.$commonJS.allUploadFile(this.form)
-         
+        
           //判断报告是否是已完成的
         this.$refs.addMatter.submitForm1()
           this.form.status = 3
@@ -110,7 +110,7 @@ export default {
           if (this.form.scenarioIds && this.form.scenarioIds.length > 0) {
             var scenarioIds = JSON.parse(JSON.stringify(this.form.scenarioIds))
           }
-          if (this.form.eventId) {
+          if (this.form.eventIds && this.form.eventIds.length) {
             this.form.events = []
             this.form.scenarioIds = []
             this.form.matterIds.forEach(item => {
@@ -118,7 +118,7 @@ export default {
                 {
                   matterId: item,
                   scenarioId: scenarioIds[0],
-                  eventId: this.form.eventId
+                  eventId: this.form.eventIds[0]
                 }
               )
             })