| | |
| | | <script setup lang="ts"> |
| | | import { DashOutlined, UserOutlined, ExportOutlined, ExclamationCircleOutlined } from '@ant-design/icons-vue' |
| | | import { defineEmits, defineProps, createVNode } from 'vue' |
| | | import { ERouterName } from '/@/types/index' |
| | | import { ELocalStorageKey, ERouterName } from '/@/types/index' |
| | | import { status, projectCard } from './data' |
| | | import { del, edit } from '/@/api/project-page' |
| | | import { delPlatformInfo } from '/@/api/manage' |
| | |
| | | } |
| | | |
| | | const goDetail = (item: any) => { |
| | | store.commit('SET_PROJECT_ID', item.id) |
| | | store.commit('SET_PROJECT_ID', item.workspace_id) |
| | | localStorage.setItem(ELocalStorageKey.WorkspaceId, item.workspace_id) |
| | | store.commit('SET_POINT_LIST', []) |
| | | store.commit('SET_PROJECT_NAME', item.workspace_name) |
| | | router.push({ |
| | | name: ERouterName.WORKSPACE, |
| | | query: { id: item.id, workSpaceId: item.workspace_id }, |
| | |
| | | selectIndex.value === index ? selectIndex.value = -1 : selectIndex.value = index |
| | | flyTo(global.$viewer, item.longitude, item.latitude) |
| | | const flag = isEntityExist(global.$viewer, item.longitude, item.latitude) |
| | | console.log(flag, 'fffff') |
| | | } |
| | | </script> |
| | | |