| | |
| | | importKmzFile, |
| | | getWayLineFile, |
| | | } from '/@/api/wayline' |
| | | import EventBus from '/@/event-bus/' |
| | | import { ELocalStorageKey, ERouterName } from '/@/types' |
| | | import { EDeviceType } from '/@/types/device' |
| | | import { useMyStore } from '/@/store' |
| | |
| | | import * as Cesium from 'cesium' |
| | | import { cesiumOperation } from '/@/hooks/use-cesium-tsa' |
| | | import useMapDraw from '/@/utils/cesium/use-map-draw' |
| | | import { fileAuthor } from '/@/utils/cesium/use-kmz-tsa' |
| | | import axios from 'axios' |
| | | import JSZIP from 'jszip' |
| | | // 初始化jszip |
| | |
| | | |
| | | function selectRoute (wayline: WaylineFile) { |
| | | loading.value = true |
| | | fileAuthor.name = wayline.name |
| | | fileAuthor.author = wayline.user_name |
| | | getWayLineFile(workspaceId.value, wayline.id) |
| | | .then((res) => { |
| | | store.commit('SET_SELECT_WAYLINE_INFO', wayline) |