瀏覽代碼

电视墙

彭宇 2 年之前
父節點
當前提交
4fa90383f8
共有 7 個文件被更改,包括 63 次插入11 次删除
  1. 9 1
      src/views/afforestation.vue
  2. 8 1
      src/views/animal.vue
  3. 9 2
      src/views/datacenter.vue
  4. 10 2
      src/views/disaster.vue
  5. 10 2
      src/views/event.vue
  6. 8 1
      src/views/leader.vue
  7. 9 2
      src/views/monitor.vue

+ 9 - 1
src/views/afforestation.vue

@@ -42,6 +42,7 @@
 
     </div>
     <eventLocation ref="eventLocation"></eventLocation>
+    <TVWall ref="TVWall"></TVWall>
   </div>
 </template>
 
@@ -60,6 +61,8 @@
   import vheader from '@/components/v-header.vue' //一体化共用头部
   import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
   import eventLocation from '@/components/eventLocation.vue' //事件定位弹窗
+  import TVWall from '@/components/TVWall.vue' //电视墙弹窗
+
   let echarts = require('echarts')
   export default {
     dicts: ['event_source'],
@@ -67,7 +70,8 @@
       supermap,
       vheader,
       vBottomMenu,
-      eventLocation
+      eventLocation,
+      TVWall,
     },
     created() {
       /** ----------------------------------底部按钮公用组件开始------------------------------------- */
@@ -117,6 +121,10 @@
           } else {
             this.$refs.bottomMenu.showChild = false
           }
+        } else if (click == 'TVWall') {
+          this.$refs.TVWall.showTVWall()
+          this.$refs.supermap.isEditableLayers = false
+          this.$refs.bottomMenu.showChild = false
         }
       },
       //选择图层

+ 8 - 1
src/views/animal.vue

@@ -81,6 +81,7 @@
 
     </div>
     <eventLocation ref="eventLocation"></eventLocation>
+    <TVWall ref="TVWall"></TVWall>
   </div>
 </template>
 
@@ -93,6 +94,7 @@
   import vheader from '@/components/v-header.vue' //一体化共用头部
   import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
   import eventLocation from '@/components/eventLocation.vue' //事件定位弹窗
+  import TVWall from '@/components/TVWall.vue' //电视墙弹窗
 
   let echarts = require('echarts')
   export default {
@@ -100,7 +102,8 @@
       supermap,
       vheader,
       vBottomMenu,
-      eventLocation
+      eventLocation,
+      TVWall,
     },
     data() {
       return {
@@ -187,6 +190,10 @@
           } else {
             this.$refs.bottomMenu.showChild = false
           }
+        } else if (click == 'TVWall') {
+          this.$refs.TVWall.showTVWall()
+          this.$refs.supermap.isEditableLayers = false
+          this.$refs.bottomMenu.showChild = false
         }
       },
       //选择图层

+ 9 - 2
src/views/datacenter.vue

@@ -36,7 +36,7 @@
 					</div>
           <div class="i-list-con h-73">
 			<div class="overflow-y" style="height: 39vh">
-            <div class="d-l-con" :class="{on:listCurrentIndex==item.deptId}" v-for="(item,index) in deptGroupList" 
+            <div class="d-l-con" :class="{on:listCurrentIndex==item.deptId}" v-for="(item,index) in deptGroupList"
                  v-on:click="indentleftByDeptIdSetMarkers(item.deptId)">
               <div class="d-l-l-text">
                 <i class="i-small"></i>
@@ -61,6 +61,7 @@
 
 		</div>
     <eventLocation ref="eventLocation"></eventLocation>
+    <TVWall ref="TVWall"></TVWall>
 	</div>
 </template>
 
@@ -73,6 +74,7 @@
 	import vheader from '@/components/v-header.vue' //一体化共用头部
 	import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
   import eventLocation from '@/components/eventLocation.vue' //事件定位弹窗
+  import TVWall from '@/components/TVWall.vue' //电视墙弹窗
 
 	// import echarts from 'echarts'
 	let echarts = require('echarts')
@@ -81,7 +83,8 @@
 			supermap,
 			vheader,
 			vBottomMenu,
-      eventLocation
+      eventLocation,
+      TVWall,
 		},
 		created() {
       /** ----------------------------------底部按钮公用组件开始------------------------------------- */
@@ -140,6 +143,10 @@
           } else {
             this.$refs.bottomMenu.showChild = false
           }
+        } else if (click == 'TVWall') {
+          this.$refs.TVWall.showTVWall()
+          this.$refs.supermap.isEditableLayers = false
+          this.$refs.bottomMenu.showChild = false
         }
       },
       //选择图层

+ 10 - 2
src/views/disaster.vue

@@ -315,6 +315,7 @@
       </el-tooltip>
     </div>
     <eventLocation ref="eventLocation"></eventLocation>
+    <TVWall ref="TVWall"></TVWall>
   </div>
 </template>
 
@@ -327,6 +328,8 @@
   import vheader from '@/components/v-header.vue' //一体化共用头部
   import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
   import eventLocation from '@/components/eventLocation.vue' //事件定位弹窗
+  import TVWall from '@/components/TVWall.vue' //电视墙弹窗
+
   // import echarts from 'echarts'
   let echarts = require('echarts')
   export default {
@@ -335,7 +338,8 @@
       supermap,
       vheader,
       vBottomMenu,
-      eventLocation
+      eventLocation,
+      TVWall,
     },
     created() {
       /** ----------------------------------底部按钮公用组件开始------------------------------------- */
@@ -470,6 +474,10 @@
           } else {
             this.$refs.bottomMenu.showChild = false
           }
+        } else if (click == 'TVWall') {
+          this.$refs.TVWall.showTVWall()
+          this.$refs.supermap.isEditableLayers = false
+          this.$refs.bottomMenu.showChild = false
         }
       },
       //选择图层
@@ -525,7 +533,7 @@
           this.otherFireCosts[0].elseBlazesPrice = res.data.visuForestFireLossBO.elseBlazesPrice != null ? res.data.visuForestFireLossBO.elseBlazesPrice : 0
         })
       },
-	  
+
       getInit() {
         let that = this
         setTimeout(() => {

+ 10 - 2
src/views/event.vue

@@ -399,6 +399,7 @@
 			</el-dialog>
 		</div>
 		<eventLocation ref="eventLocation"></eventLocation>
+    <TVWall ref="TVWall"></TVWall>
 	</div>
 </template>
 
@@ -436,6 +437,8 @@
 	import vheader from '@/components/v-header.vue' //一体化共用头部
 	import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
 	import eventLocation from '@/components/eventLocation.vue' //事件定位弹窗
+  import TVWall from '@/components/TVWall.vue' //电视墙弹窗
+
 	// import echarts from 'echarts'
 	let echarts = require('echarts')
 	export default {
@@ -446,7 +449,8 @@
 			supermapProcessed,
 			vheader,
 			vBottomMenu,
-			eventLocation
+			eventLocation,
+      TVWall,
 		},
 		created() {
 			/** ----------------------------------摄像头预览开始------------------------------------- */
@@ -609,7 +613,11 @@
 					} else {
 						this.$refs.bottomMenu.showChild = false
 					}
-				}
+				} else if (click == 'TVWall') {
+          this.$refs.TVWall.showTVWall()
+          this.$refs.supermap.isEditableLayers = false
+          this.$refs.bottomMenu.showChild = false
+        }
 			},
 			//选择图层
 			choseLayerSwitching(url) {

+ 8 - 1
src/views/leader.vue

@@ -88,6 +88,7 @@
       </el-tooltip>
     </div>
     <eventLocation ref="eventLocation"></eventLocation>
+    <TVWall ref="TVWall"></TVWall>
   </div>
 </template>
 
@@ -103,6 +104,7 @@
   import vheader from '@/components/v-header.vue' //一体化共用头部
   import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
   import eventLocation from '@/components/eventLocation.vue' //事件定位弹窗
+  import TVWall from '@/components/TVWall.vue' //电视墙弹窗
 
   let echarts = require('echarts')
   export default {
@@ -110,7 +112,8 @@
       supermap,
       vheader,
       vBottomMenu,
-      eventLocation
+      eventLocation,
+      TVWall,
     },
     data() {
       return {
@@ -159,6 +162,10 @@
           } else {
             this.$refs.bottomMenu.showChild = false
           }
+        } else if (click == 'TVWall') {
+          this.$refs.TVWall.showTVWall()
+          this.$refs.supermap.isEditableLayers = false
+          this.$refs.bottomMenu.showChild = false
         }
       },
       //选择图层

+ 9 - 2
src/views/monitor.vue

@@ -92,6 +92,7 @@
 
 		</div>
 		<eventLocation ref="eventLocation"></eventLocation>
+    <TVWall ref="TVWall"></TVWall>
 	</div>
 </template>
 
@@ -106,6 +107,7 @@
 	import vheader from '@/components/v-header.vue' //一体化共用头部
 	import vBottomMenu from '@/components/vBottomMenu.vue' //一体化公共底部菜单
 	import eventLocation from '@/components/eventLocation.vue' //事件定位弹窗
+  import TVWall from '@/components/TVWall.vue' //电视墙弹窗
 
 	/** ----------------------------------摄像头预览开始------------------------------------- */
 	import {
@@ -122,7 +124,8 @@
 			supermap,
 			vheader,
 			vBottomMenu,
-			eventLocation
+			eventLocation,
+      TVWall,
 		},
 		created() {
 			/** ----------------------------------摄像头预览开始------------------------------------- */
@@ -192,7 +195,11 @@
 					} else {
 						this.$refs.bottomMenu.showChild = false
 					}
-				}
+				} else if (click == 'TVWall') {
+          this.$refs.TVWall.showTVWall()
+          this.$refs.supermap.isEditableLayers = false
+          this.$refs.bottomMenu.showChild = false
+        }
 			},
 			//选择图层
 			choseLayerSwitching(url) {