| | |
| | | import CommonCesiumMap from '@/components/map-container/common-cesium-map.vue' |
| | | import { buildEllipsePositions } from '@/utils/cesium/shapeTools' |
| | | import { AREA_TYPE_STYLE_MAP, BUFFER_LEVEL_STYLES, DEFAULT_AREA_STYLE } from '@ztzf/constants' |
| | | import { fwAreaDivideListApi } from '@/views/areaManage/partition/partitionApi' |
| | | |
| | | import { fwDefenseSceneManageListApi } from '@/views/areaManage/sceneManage/sceneManageApi' |
| | | import { newAreaDivideList, newDefenseSceneManageList } from '@/api/dataCockpit/index' |
| | | |
| | | import { newCockpitAggregationApi } from '@/api/dataCockpit' |
| | | import layerControlIcon from '@/assets/images/dataCockpit/layerControl.png' |
| | |
| | | const loadPartitions = async () => { |
| | | if (!viewer) return |
| | | try { |
| | | const res = await fwAreaDivideListApi({ |
| | | const res = await newAreaDivideList({ |
| | | isSetSceneManage: 1, |
| | | flyTime: dayjs().format('YYYY-MM-DD HH:mm:ss'), |
| | | }) |
| | |
| | | |
| | | const loadCommandPosts = async () => { |
| | | try { |
| | | const res = await fwDefenseSceneManageListApi({ |
| | | const res = await newDefenseSceneManageList({ |
| | | time: dayjs().format('YYYY-MM-DD HH:mm:ss') |
| | | }) |
| | | renderCommandPosts(res?.data?.data ?? []) |