| | |
| | | <div class="pagination-container"> |
| | | <el-pagination |
| | | :current-page="params.current" |
| | | :page-size="params.size" |
| | | :page-size="params.size" |
| | | background |
| | | layout="prev, pager, next" |
| | | prev-text="上一页" |
| | |
| | | </template> |
| | | |
| | | <script setup> |
| | | import { |
| | | getCenterPoint, |
| | | getLnglatDist, |
| | | getLnglatAltitude, |
| | | getPolygonMaxHeight, |
| | | cartesian3Convert, |
| | | getWaylineShowHeight, |
| | | } from '@/utils/cesium/mapUtil.js'; |
| | | import {spotManagementTableApi,searchManagementApi,uploadManagementApi,tableMapListApi} from '@/api/patchManagement/index' |
| | | import {getCenterPoint, } from '@/utils/cesium/mapUtil.js'; |
| | | import { getPatchesSpotList } from '@/api/patchManagement/index'; |
| | | import * as Cesium from 'cesium'; |
| | | import { PublicCesium } from '@/utils/cesium/publicCesium'; |
| | | import { ref, watch, onBeforeUnmount } from 'vue'; |
| | | import { ref, watch, onBeforeUnmount, onMounted } from 'vue'; |
| | | import FunButton from '@/views/resource/components/FunButton.vue'; |
| | | const uploadPatchDialog = defineModel('show'); |
| | | const props = defineProps(['title']); |
| | |
| | | current: 1, |
| | | size: 20, |
| | | }); |
| | | // 图斑管理表格 |
| | | const getspotManagementTableApi =()=>{ |
| | | spotManagementTableApi(params).then(res => { |
| | | console.log('管理表格数据',res); |
| | | }) |
| | | } |
| | | const handleSizeChange = () => {}; |
| | | const handleCurrentChange = () => {}; |
| | | const tableData = ref([]); |
| | |
| | | destroyMap(); |
| | | } |
| | | }); |
| | | |
| | | onMounted(()=>{ |
| | | getspotManagementTableApi() |
| | | }) |
| | | onBeforeUnmount(() => { |
| | | destroyMap(); |
| | | }); |
| | |
| | | padding-left: 16px !important; |
| | | } |
| | | } |
| | | |
| | | </style> |
| | | <style scoped lang="scss"> |
| | | // :deep(.el-dialog.is-align-center) { |