|
|
|
@ -4,7 +4,7 @@
|
|
|
|
|
创建人:Zhaipeixiu
|
|
|
|
|
-->
|
|
|
|
|
<script setup>
|
|
|
|
|
import {ChevronBack,ChevronForward, CreateOutline, DuplicateSharp, EyeSharp, Layers, Settings} from '@vicons/ionicons5'
|
|
|
|
|
import {ChevronBack,ChevronForward, CreateOutline, DuplicateSharp, EyeSharp, Layers, Settings,ReloadSharp} from '@vicons/ionicons5'
|
|
|
|
|
import {RulerAlt} from '@vicons/carbon'
|
|
|
|
|
import {TerrainSharp} from '@vicons/material'
|
|
|
|
|
import {DrawPolygon} from '@vicons/fa'
|
|
|
|
@ -271,6 +271,9 @@ function closeWS(){
|
|
|
|
|
function manageLayer(){
|
|
|
|
|
layerManager.value?.open_closeSidebar()
|
|
|
|
|
}
|
|
|
|
|
function refreshPage(){
|
|
|
|
|
window.location.reload()
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 绘制航线,目前只绘制任务航线
|
|
|
|
@ -374,6 +377,16 @@ function startDrawRoute(routeParams) {
|
|
|
|
|
</template>
|
|
|
|
|
</n-button>
|
|
|
|
|
</n-popselect>
|
|
|
|
|
<n-tooltip placement="bottom" trigger="hover">
|
|
|
|
|
<template #trigger>
|
|
|
|
|
<n-button tertiary type="warning" @click="refreshPage">
|
|
|
|
|
<template #icon>
|
|
|
|
|
<n-icon><ReloadSharp/></n-icon>
|
|
|
|
|
</template>
|
|
|
|
|
</n-button>
|
|
|
|
|
</template>
|
|
|
|
|
<span> 刷新页面 </span>
|
|
|
|
|
</n-tooltip>
|
|
|
|
|
<n-button tertiary circle type="warning" @click="openCloseBar">
|
|
|
|
|
<template #icon>
|
|
|
|
|
<n-icon v-if="barIsOpen"><ChevronBack/></n-icon>
|
|
|
|
|