CaiYuanYiTiHua/src/views/demo/system/achievement/index.vue

49 lines
1.4 KiB
Vue
Raw Normal View History

2024-08-22 13:44:14 +08:00
<template>
<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="图层管理">
<GeoserverManagement ref="GeoserverManagementRef" />
2024-08-22 13:44:14 +08:00
</a-tab-pane>
<a-tab-pane key="2" tab="影像管理">
<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>
<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';
import GeoTiffManager from './GeoTiffManager/index.vue';
2024-08-26 17:33:57 +08:00
import AchievementManage from './AchievementManage/index.vue';
import Display from './Display/index.vue';
2024-08-22 13:44:14 +08:00
const activeKey = ref('4');
// 图层管理
const GeoserverManagementRef = ref();
// 影像管理
const GeoTiffManagerRef = ref();
// 航飞图片
2024-08-26 17:33:57 +08:00
const AchievementManageRef = ref();
// 成果展示
const DisplayRef = ref();
function changeTabs(activeKey) {
console.log(activeKey);
if (activeKey == 1) {
// 图层管理
} else if (activeKey == 2) {
// 影像管理
} else if (activeKey == 3) {
// 航飞图片
} else if (activeKey == 4) {
// 成果展示
}
}
2024-08-22 13:44:14 +08:00
</script>
<style lang="scss" scoped></style>