ソースを参照

上一页下一页

王通 2 年 前
コミット
d8c4f913fb
1 ファイル変更12 行追加11 行削除
  1. 12 11
      src/views/eventdetailsdialog.vue

+ 12 - 11
src/views/eventdetailsdialog.vue

@@ -2023,7 +2023,15 @@ export default {
               that.showEventConfirm = false
             }
           })
-
+        } else if(eventStatus == 'cz'){
+          eventHandling(that.eventId,that.eventCode).then(res => {
+            if (res.code == 200) {
+              that.$message.success(`处理成功!`)
+              that.refreshEvent(that.eventCode)
+              that.cancelEventConfirm_send()
+              that.showEventConfirm = false
+            }
+          })
         } else if (eventStatus == 'gd') {
           if(that.eventType == 1){
             let double = /(^[1-9]([0-9]+)?(\.[0-9]{1,2})?$)|(^(0){1}$)|(^[0-9]\.[0-9]([0-9])?$)/;    //数字和两位小数
@@ -2051,6 +2059,7 @@ export default {
             }
           }
 
+
           //事件处理流程--归档
           let param = {
             deptId: that.deptId,
@@ -2072,15 +2081,6 @@ export default {
               that.$emit('getSupermap', that.calendarDay)
             }
           })
-        } else if(eventStatus == 'cz'){
-          eventHandling(that.eventId,that.eventCode).then(res => {
-            if (res.code == 200) {
-              that.$message.success(`处理成功!`)
-              that.refreshEvent(that.eventCode)
-              that.cancelEventConfirm_send()
-              that.showEventConfirm = false
-            }
-          })
         } else {
           if (eventStatus == 'qs') {
             if (that.sendDeptId == '' || that.sendDeptId == null || that.sendDeptName == '' || that.sendDeptName == null) {
@@ -2108,7 +2108,8 @@ export default {
             czlx: '',
             cameraCode: that.cameraCode,
             fireRadius: that.sendHuoZaiBanJing,
-            reserve: that.sendGuanLianYuAn
+            reserve: that.sendGuanLianYuAn,
+            fileList:eventStatus == 'qs'?this.eventLogList[this.eventLogList.length-1].fileVOs:[]
           }
           updateCentereventTEventcatalogueStatus(param).then(res => {
             if (res.code == 200) {