Files
SaaS-lib/hx-ai-intelligent/src/view/carbonEmissionManage/carbonEmissionStatistics/index.vue

19 lines
636 B
Vue
Raw Normal View History

2024-07-08 09:48:44 +08:00
<template>
<a-tabs v-model:activeKey="activeKey">
<a-tab-pane key="1" tab="能耗统计">
2024-07-11 09:17:20 +08:00
<energyConsumption ref="energyConsumptionRef" />
2024-07-08 09:48:44 +08:00
</a-tab-pane>
<a-tab-pane key="2" tab="碳排统计" force-render>Content of Tab Pane 2</a-tab-pane>
<a-tab-pane key="3" tab="碳排速算">Content of Tab Pane 3</a-tab-pane>
</a-tabs>
</template>
<script lang="ts" setup>
import { ref } from 'vue';
2024-07-11 09:17:20 +08:00
import energyConsumption from './energyConsumption/index.vue';
2024-07-08 09:48:44 +08:00
defineOptions({
name: 'CarbonEmissionStatisticsIndex', // 与页面路由name一致缓存才可生效
});
const activeKey = ref('1');
</script>