2024-08-22 13:44:14 +08:00
|
|
|
<template>
|
2024-08-23 16:52:38 +08:00
|
|
|
<a-tabs v-model:activeKey="activeKey" tabPosition="left" :centered="true" @change="changeTabs">
|
2024-08-22 13:44:14 +08:00
|
|
|
<a-tab-pane key="1" tab="图层管理">
|
2024-08-23 16:52:38 +08:00
|
|
|
<GeoserverManagement ref="GeoserverManagementRef" />
|
2024-08-22 13:44:14 +08:00
|
|
|
</a-tab-pane>
|
|
|
|
|
<a-tab-pane key="2" tab="影像管理">
|
2024-08-23 16:52:38 +08:00
|
|
|
<GeoTiffManager ref="GeoTiffManagerRef" />
|
2024-08-22 13:44:14 +08:00
|
|
|
</a-tab-pane>
|
2024-08-26 17:33:57 +08:00
|
|
|
<a-tab-pane key="3" tab="航飞图片">
|
|
|
|
|
<AchievementManage ref="AchievementManageRef" />
|
|
|
|
|
</a-tab-pane>
|
2024-08-30 11:29:00 +08:00
|
|
|
<a-tab-pane key="4" tab="成果展示">
|
|
|
|
|
<Display ref="DisplayRef" />
|
|
|
|
|
</a-tab-pane>
|
2024-08-22 13:44:14 +08:00
|
|
|
</a-tabs>
|
|
|
|
|
</template>
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { ref } from 'vue';
|
|
|
|
|
// 组件
|
|
|
|
|
import GeoserverManagement from '@/views/demo/system/geoservermanagement/index.vue';
|
2024-08-23 16:52:38 +08:00
|
|
|
import GeoTiffManager from './GeoTiffManager/index.vue';
|
2024-08-26 17:33:57 +08:00
|
|
|
import AchievementManage from './AchievementManage/index.vue';
|
2024-08-30 11:29:00 +08:00
|
|
|
import Display from './Display/index.vue';
|
2024-08-22 13:44:14 +08:00
|
|
|
|
2024-08-30 11:29:00 +08:00
|
|
|
const activeKey = ref('4');
|
2024-08-23 16:52:38 +08:00
|
|
|
// 图层管理
|
|
|
|
|
const GeoserverManagementRef = ref();
|
|
|
|
|
// 影像管理
|
|
|
|
|
const GeoTiffManagerRef = ref();
|
|
|
|
|
// 航飞图片
|
2024-08-26 17:33:57 +08:00
|
|
|
const AchievementManageRef = ref();
|
2024-08-30 11:29:00 +08:00
|
|
|
// 成果展示
|
|
|
|
|
const DisplayRef = ref();
|
2024-08-23 16:52:38 +08:00
|
|
|
|
|
|
|
|
function changeTabs(activeKey) {
|
|
|
|
|
console.log(activeKey);
|
|
|
|
|
if (activeKey == 1) {
|
|
|
|
|
// 图层管理
|
|
|
|
|
} else if (activeKey == 2) {
|
|
|
|
|
// 影像管理
|
|
|
|
|
} else if (activeKey == 3) {
|
|
|
|
|
// 航飞图片
|
2024-08-30 11:29:00 +08:00
|
|
|
} else if (activeKey == 4) {
|
|
|
|
|
// 成果展示
|
2024-08-23 16:52:38 +08:00
|
|
|
}
|
|
|
|
|
}
|
2024-08-22 13:44:14 +08:00
|
|
|
</script>
|
|
|
|
|
<style lang="scss" scoped></style>
|