无人机管理后台前端(已迁走)
张含笑
2025-08-28 e1cb0923a89efbaddeec71a292607c4fa5cb33ac
src/views/resource/components/spotDetails.vue
@@ -76,7 +76,7 @@
            <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="上一页"
@@ -107,18 +107,12 @@
</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']);
@@ -165,6 +159,12 @@
  current: 1,
  size: 20,
});
// 图斑管理表格
const getspotManagementTableApi =()=>{
  spotManagementTableApi(params).then(res => {
    console.log('管理表格数据',res);
  })
}
const handleSizeChange = () => {};
const handleCurrentChange = () => {};
const tableData = ref([]);
@@ -379,7 +379,9 @@
    destroyMap();
  }
});
onMounted(()=>{
  getspotManagementTableApi()
})
onBeforeUnmount(() => {
  destroyMap();
});
@@ -390,7 +392,6 @@
  padding-left: 16px !important;
}
}
</style>
<style scoped lang="scss">
// :deep(.el-dialog.is-align-center) {