浏览代码

数据中心

彭宇 2 年之前
父节点
当前提交
d6a2f8a49b
共有 3 个文件被更改,包括 14 次插入41 次删除
  1. 2 2
      src/views/datacenter.vue
  2. 10 10
      src/views/eventdetailsdialog.vue
  3. 2 29
      src/views/monitor.vue

+ 2 - 2
src/views/datacenter.vue

@@ -6,7 +6,7 @@
     <!--主体-->
     <div class="visual-body">
       <!-- 左侧 -->
-      <div class="leftbar w-10" :class="indentleft" ref="left">
+      <div class="leftbar w-10" ref="left">
         <div class="forthis">
           <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
             <img src="../assets/images/integrated/light.png" style="width: 100%; margin-top: .4rem;"/>
@@ -32,7 +32,7 @@
       <!--      <button @click="showEventInfo1" style="position: absolute; right: 50%;top: 45%;z-index: 1000;">弹层事件演示用按钮-->
       <!--      </button>-->
       <!-- 右侧 -->
-      <div class="rightbar" :class="indentright" ref="right">
+      <div class="rightbar" ref="right">
         <div class="forthis">
           <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
             <img src="../assets/images/integrated/light.png" style="width: 100%; margin-top: .4rem;"/>

+ 10 - 10
src/views/eventdetailsdialog.vue

@@ -1162,30 +1162,30 @@ export default {
       resourcesList: [
         {
         resourceName: '基本联动力量',
-        type: 'jbldll',
+        type: 'jbldllgl',
         count: '1',
         icon: 'sj-icon-linkageforce'
       },
         {
           resourceName: '消防力量',
-          type: 'xfll',
+          type: 'xfllgl',
           icon: 'sj-icon-fireforce'
         },
         {
           resourceName: '泡沫液',
-          type: 'pmy',
+          type: 'pmygl',
           count: '1',
           icon: 'sj-icon-liquid'
         },
         {
           resourceName: '专职站',
-          type: 'zzz',
+          type: 'zzzgl',
           count: '1',
           icon: 'sj-icon-station'
         },
         {
           resourceName: '其他联动力量',
-          type: 'qtldll',
+          type: 'qtldllgl',
           count: '1',
           icon: 'sj-icon-otherlinkageforce'
         },
@@ -1337,15 +1337,15 @@ export default {
               if (res.data.length > 50) {
                 markersMap.isAggregation = true
               }
-              if (type == 'jbldll') {
+              if (type == 'jbldllgl') {
                 markersMap.icon = 'sj-icon-map-centerdata-t-firecontrol-basic-linkage-force'
-              } else if (type == 'xfll') {
+              } else if (type == 'xfllgl') {
                 markersMap.icon = 'sj-icon-map-centerdata-t-firecontrol-fire-force'
-              } else if (type == 'pmy') {
+              } else if (type == 'pmygl') {
                 markersMap.icon = 'sj-icon-map-centerdata-t-firecontrol-foam-liquid'
-              } else if (type == 'zzz') {
+              } else if (type == 'zzzgl') {
                 markersMap.icon = 'sj-icon-map-centerdata-t-firecontrol-fulltime-station'
-              } else if (type == 'qtldll') {
+              } else if (type == 'qtldllgl') {
                 markersMap.icon = 'sj-icon-map-centerdata-t-firecontrol-other-linkage-force'
               } else if (type == 'sxt') {
                 markersMap.icon = 'camera'

+ 2 - 29
src/views/monitor.vue

@@ -6,7 +6,7 @@
     <!--主体-->
     <div class="visual-body">
       <!-- 左侧 -->
-      <div class="leftbar" :class="indentleft" ref="left">
+      <div class="leftbar" ref="left">
         <div class="forthis">
           <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
             <img src="../assets/images/integrated/light.png" style="width: 100%; margin-top: .4rem;"/>
@@ -71,7 +71,7 @@
                 :mapSite="{doubleClickZoom:false}" :codes="['9fa5']" :isSideBySide="false" @preview="preview">
       </supermap>
       <!-- 右侧 -->
-      <div class="rightbar" :class="indentright" ref="right">
+      <div class="rightbar" ref="right">
         <div class="forthis">
           <dv-border-box-13 backgroundColor="rgba(12, 19, 38, .90)" style="padding-bottom: 1rem;">
             <img src="../assets/images/integrated/light.png" style="width: 100%; margin-top: .4rem;"/>
@@ -110,11 +110,6 @@
         </div>
       </div>
       <vBottomMenu ref="bottomMenu"></vBottomMenu>
-      <el-tooltip :content="indentText" placement="top" :disabled="indentdisabled">
-        <div class="mascot" ref="mascot" :class="indentStyle" @click="indent"><img
-          src="@/assets/images/mascot.png"/></div>
-      </el-tooltip>
-
     </div>
     <eventLocation ref="eventLocation"></eventLocation>
     <TVWall ref="TVWall"></TVWall>
@@ -209,12 +204,6 @@ export default {
       activeName: 'info',
       radio: '1',
       region: [],
-      //左右缩进
-      indentStyle: '',
-      indentleft: '',
-      indentright: '',
-      indentText: '收起左右栏',
-      indentdisabled: false
     }
   },
   methods: {
@@ -611,22 +600,6 @@ export default {
         }
       })
     },
-    //吉祥物收起左右框
-    indent() {
-      let list = document.getElementsByClassName('el-tooltip__popper')
-      list[list.length - 1].style.display = 'none'
-      if (this.indentStyle == '') {
-        this.indentStyle = 'indent-style'
-        this.indentleft = 'indent-left'
-        this.indentright = 'indent-right'
-        this.indentText = '展开左右栏'
-      } else if (this.indentText == '展开左右栏') {
-        this.indentStyle = ''
-        this.indentleft = ''
-        this.indentright = ''
-        this.indentText = '收起左右栏'
-      }
-    },
     /** ----------------------------------摄像头预览开始------------------------------------- */
     alertLogin: function() {
       this.$modal.msg('登录中....')