王通 преди 2 години
родител
ревизия
99452daa42
променени са 4 файла, в които са добавени 50 реда и са изтрити 6 реда
  1. 3 2
      src/components/TVWall.vue
  2. 3 2
      src/components/TVWalls.vue
  3. 22 1
      src/views/eventdetailsdialog.vue
  4. 22 1
      src/views/firespread.vue

+ 3 - 2
src/components/TVWall.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-dialog title="电视墙" :visible.sync="TVWallVisible" v-if="TVWallVisible" customClass="TVWallCustomWidth"
+    <el-dialog :title="title" :visible.sync="TVWallVisible" v-if="TVWallVisible" customClass="TVWallCustomWidth"
                @close="cancelEventLocationShow()">
       <!--<div class="forthis" style="width: 22%; position: absolute;left: 0;z-index: 9999999999999;">-->
       <!--&lt;!&ndash; <div class="this-title">-->
@@ -37,7 +37,7 @@ import { getDahuaVideoServer, getTVWallList } from '@/api/dahua/dahua'
 import { tvCameraList } from '@/api/haikang/haikang'
 import DHWs from '@/dahua/lib/DHWs'
 import { rotation } from '@/api/monitor'
-
+import Cookies from "js-cookie"
 
 /** ----------------------------------摄像头预览结束------------------------------------- */
 export default {
@@ -45,6 +45,7 @@ export default {
   components: {},
   data() {
     return {
+      title:['365','369','371','373','372','370'].includes(Cookies.get("deptId"))?"电视墙":"电视墙\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000您的所有操作痕迹已被后台记录,请谨慎操作。",
       tvListJson: [
         {
           'switchTab': '1',

+ 3 - 2
src/components/TVWalls.vue

@@ -1,6 +1,6 @@
 <template>
   <div>
-    <el-dialog title="电视墙" :visible.sync="TVWallVisible" v-if="TVWallVisible" customClass="TVWallCustomWidth"
+    <el-dialog :title="title" :visible.sync="TVWallVisible" v-if="TVWallVisible" customClass="TVWallCustomWidth"
                @close="cancelEventLocationShow()">
       <!--<div @click="findCameraByEventCoordinate()">视频联动</div>-->
       <!--<div class="forthis" style="width: 22%; position: absolute;left: 0;z-index: 9999999999999;">-->
@@ -34,13 +34,14 @@ import {getDahuaVideoServer, getTVWallList} from '@/api/dahua/dahua'
 import {tvCameraList} from '@/api/haikang/haikang'
 import {findCameraByEventCoordinate, rotation} from '@/api/monitor'
 import DHWs from '@/dahua/lib/DHWs'
-
+import Cookies from "js-cookie"
 /** ----------------------------------摄像头预览结束------------------------------------- */
 export default {
   dicts: ['event_source'],
   components: {},
   data() {
     return {
+      title:['365','369','371','373','372','370'].includes(Cookies.get("deptId"))?"电视墙":"电视墙\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000\u3000您的所有操作痕迹已被后台记录,请谨慎操作。",
       tvListJson: [
         {
           'switchTab': '1',

+ 22 - 1
src/views/eventdetailsdialog.vue

@@ -253,7 +253,25 @@
                                 </el-button>
                               </div>
                               <div class="z-info-btm-input-btn"
-                                   v-else-if="eventStatusValue=='forest_event_status_5'&&statusFlag=='1'">
+                                   v-else-if="eventStatusValue=='forest_event_status_5'">
+                                <el-button size="small" v-if="isExamine=='1'"
+                                           icon="el-icon-success" style="text-align:left"
+                                           @click="updateCentereventTEventcatalogueStatus('shtg',true)">
+                                  审核通过
+                                </el-button>
+                                <el-button size="small" v-if="isExamine=='1'"
+                                           icon="el-icon-success" style="text-align:left"
+                                           @click="updateCentereventTEventcatalogueStatus('shbtg',true)">
+                                  审核不通过
+                                </el-button>
+                                <el-button size="small" v-else icon="el-icon-loading" style="text-align:left">
+                                  请等待复核,复核通过后方可归档。
+                                </el-button>
+                                <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
+                                </el-button>
+                              </div>
+                              <div class="z-info-btm-input-btn"
+                                   v-else-if="eventStatusValue=='forest_event_status_8'&&statusFlag=='1'">
                                 <el-button size="small"
                                            icon="el-icon-success" style="text-align:left" v-if="eventTypeXl == 101"
                                            @click="updateCentereventTEventcatalogueStatus('gd',false)">
@@ -1153,6 +1171,7 @@ export default {
   data() {
     return {
       isLoading:false,
+      isExamine:0,
       showFindUserByDept: false,//责任人选择框
       //海康
       cameraTitle: '',
@@ -2238,6 +2257,7 @@ console.log(this.dutysystemTableData)
         let markersMapList=[];
         that.eventDialog = true
         that.eventLogList = res.data.eventlog//日志列表
+        that.isExamine=1
         that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
         that.address = res.data.catalogue.address
         that.eventStatusValue = res.data.catalogue.eventStatusValue
@@ -2326,6 +2346,7 @@ console.log(this.dutysystemTableData)
         let markersMapList=[];
         that.eventDialog = true
         that.eventLogList = res.data.eventlog
+        that.isExamine=1
         that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
         that.address = res.data.catalogue.address
         that.eventStatusValue = res.data.catalogue.eventStatusValue

+ 22 - 1
src/views/firespread.vue

@@ -223,7 +223,25 @@
                                 </el-button>
                               </div>
                               <div class="z-info-btm-input-btn"
-                                   v-else-if="eventStatusValue=='forest_event_status_5'&&statusFlag=='1'">
+                                   v-else-if="eventStatusValue=='forest_event_status_5'">
+                                <el-button size="small" v-if="isExamine=='1'"
+                                           icon="el-icon-success" style="text-align:left"
+                                           @click="updateCentereventTEventcatalogueStatus('shtg',true)">
+                                  审核通过
+                                </el-button>
+                                <el-button size="small" v-if="isExamine=='1'"
+                                           icon="el-icon-success" style="text-align:left"
+                                           @click="updateCentereventTEventcatalogueStatus('shbtg',true)">
+                                  审核不通过
+                                </el-button>
+                                <el-button size="small" v-else icon="el-icon-loading" style="text-align:left">
+                                  请等待复核,复核通过后方可归档。
+                                </el-button>
+                                <el-button size="small" icon="el-icon-chat-dot-square" @click="sendEventLog()">发送
+                                </el-button>
+                              </div>
+                              <div class="z-info-btm-input-btn"
+                                   v-else-if="eventStatusValue=='forest_event_status_8'&&statusFlag=='1'">
                                 <el-button size="small"
                                            icon="el-icon-success" style="text-align:left" v-if="eventTypeXl == 101"
                                            @click="updateCentereventTEventcatalogueStatus('gd',false)">
@@ -1805,6 +1823,7 @@ export default {
   data() {
     return {
       eventTypeXl:null,
+      isExamine:'0',
       isLoading:false,
       //海康
       cameraTitle: '',
@@ -2912,6 +2931,7 @@ export default {
       getEventDetail({ eventCode: eventCode }).then(res => {
         let markersMapList=[];
         that.eventDialog = true
+        that.isExamine=1
         that.eventLogList = res.data.eventlog//日志列表
         that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
         that.address = res.data.catalogue.address
@@ -2999,6 +3019,7 @@ export default {
       getEventDetail({ eventCode: eventCode }).then(res => {
         let markersMapList=[];
         that.eventDialog = true
+        that.isExamine=1
         that.eventLogList = res.data.eventlog
         that.visuForestCloudYuAnBo = res.data.visuForestCloudYuAnBo//应急预案
         that.address = res.data.catalogue.address