wang_xy il y a 2 ans
Parent
commit
5d6daedd48
1 fichiers modifiés avec 8 ajouts et 4 suppressions
  1. 8 4
      src/views/eventdetailsdialog.vue

+ 8 - 4
src/views/eventdetailsdialog.vue

@@ -1066,7 +1066,7 @@ export default {
       sendDeptId: null,//签收部门/发起部门
       sendDeptName: null,//签收部门/发起部门
       sendEventType: null,//事件类型
-      sendHuoZaiBanJing: 0,//火灾报告
+      sendHuoZaiBanJing: null,//火灾报告
       sendGuanLianYuAn: null,//关联预案
       sendUserFegin: [],//联系人
       sendTaskSource: null,//任务来源
@@ -1517,7 +1517,7 @@ export default {
       this.sendDeptName = null
       this.sendUserFegin = []
       this.sendEventType = null
-      this.sendHuoZaiBanJing = 0
+      this.sendHuoZaiBanJing = null
       this.sendGuanLianYuAn = null
       this.longitude = null
       this.latitude = null
@@ -1540,7 +1540,7 @@ export default {
       this.sendDeptName = null
       this.sendUserFegin = []
       this.sendEventType = null
-      this.sendHuoZaiBanJing = 0
+      this.sendHuoZaiBanJing = null
       this.sendGuanLianYuAn = null
       this.sendTaskTitle = null
       this.sendTaskSource = null
@@ -1839,6 +1839,10 @@ export default {
               return
             }
             if (eventStatus == 'qs') {
+              if (that.sendHuoZaiBanJing == '' || that.sendHuoZaiBanJing == null) {
+                that.$message.error(`请输入火灾半径!`)
+                return
+              }
               if (that.sendEventType == '' || that.sendEventType == null) {
                 that.$message.error(`请选择事件类型!`)
                 return
@@ -2202,7 +2206,7 @@ export default {
         this.$Message.info('正在登陆客户端,请稍等......')
         return false
       }
-      this.ws.openVideo(cameraParams)
+      this.ws.openVideo([cameraParams])
     },
     /** ----------------------------------摄像头预览结束------------------------------------- */