gr 1 hónapja
szülő
commit
16a9b9d19e

+ 7 - 6
src/views/home/cpns/FloatPanelTsjs.vue

@@ -43,15 +43,15 @@ import { getAssetsFile } from '@/utils/require'
 import { hexToRgb, wait } from '@/utils/tools'
 import {
 	clearAllShapes,
-	startSceneDemo,
 	initSceneDemo,
+	renderBreakIntoArea,
 	renderShapes,
+	startSceneDemo,
+	toggleGlobalUav,
 	toggleTrackLine,
-	renderBreakIntoArea,
 } from '@/utils/ueActions'
 import { getCurrentInstance, onBeforeMount, onBeforeUnmount, reactive, ref, watch } from 'vue'
 import FloatPanelUav from './FloatPanelUav.vue'
-import { toggleGlobalUav } from '@/utils/ueActions'
 
 const { proxy } = getCurrentInstance()
 
@@ -118,7 +118,7 @@ function toggleOption(target) {
 let routeList = []
 
 function getData() {
-	listData.value.forEach((row) => (row.count = 5))
+	listData.value.forEach((row) => (row.count = 1))
 
 	GetRouteList()
 		.then((res) => {
@@ -190,10 +190,11 @@ function handleCloseInfo() {
 	uavInfoShow.value = false
 	initSceneDemo()
 	panelStore.setWeather('Clear Skies')
-	if ((currentDemo.value.value = 'BreakInto')) {
+	if (currentDemo.value.value === 'BreakInto') {
 		renderBreakIntoArea(false)
 	}
 	showSingleLine.value = false
+	currentDemo.value = false
 }
 
 let currentLineId
@@ -292,7 +293,7 @@ onBeforeMount(() => {
 			}
 			case 'FlightOver': {
 				if (currentDemo.value) {
-					if ((currentDemo.value.value = 'BreakInto')) {
+					if (currentDemo.value.value === 'BreakInto') {
 						renderBreakIntoArea(false)
 					}
 					handleCloseInfo()

+ 9 - 0
src/views/home/cpns/FloatPanelTsjsGis.vue

@@ -32,6 +32,15 @@ function toggleBuildings(status) {
 		opacity: 1,
 		type: 'scene',
 	})
+	AddSingleLayer({
+		title: '五角场精模',
+		D_CODE: 'D9999990120241225',
+		id: 'D9999990120241225',
+		url: 'https://cimweb.zjw.sh.cegn.cn:2008/MapProxyApi/getSceneServer/gxjh_fwjk/D9999990120241225',
+		visible: false,
+		opacity: 1,
+		type: 'scene',
+	})
 }
 
 function toggleOption(item) {

+ 1 - 1
src/views/home/cpns/PanelKypm.vue

@@ -25,7 +25,7 @@
 					<th class="w-16">序号</th>
 					<th>经度</th>
 					<th>纬度</th>
-					<th class="w-24">海拔高/m</th>
+					<th class="w-24">高/m</th>
 				</tr>
 			</thead>
 			<tbody style="max-height: 580px">

+ 1 - 1
src/views/home/cpns/PanelSgzy.vue

@@ -27,7 +27,7 @@
 					<th class="w-16">序号</th>
 					<th>经度</th>
 					<th>纬度</th>
-					<th class="w-24">海拔高/m</th>
+					<th class="w-24">高/m</th>
 				</tr>
 			</thead>
 			<tbody style="max-height: 580px">