2024-03-12 11:16:54 +08:00
|
|
|
<template>
|
|
|
|
|
<div class="default-main">
|
|
|
|
|
<el-tabs v-model="activeName" type="border-card">
|
2024-03-12 16:15:45 +08:00
|
|
|
<el-tab-pane label="电能质量问题查询维护" name="1">
|
2024-04-02 16:43:18 +08:00
|
|
|
<maintenance />
|
2024-03-12 16:15:45 +08:00
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label="电能质量问题审核" name="2">
|
2024-04-02 16:43:18 +08:00
|
|
|
<audit />
|
2024-03-12 16:15:45 +08:00
|
|
|
</el-tab-pane>
|
2024-03-12 11:16:54 +08:00
|
|
|
</el-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
|
|
import { onMounted, reactive, ref, provide } from 'vue'
|
2024-03-12 16:15:45 +08:00
|
|
|
import maintenance from './components/maintenance.vue'
|
|
|
|
|
import audit from './components/audit.vue'
|
2024-03-12 11:16:54 +08:00
|
|
|
import { mainHeight } from '@/utils/layout'
|
|
|
|
|
defineOptions({
|
|
|
|
|
name: 'Processsupervision/electricitymanagement'
|
|
|
|
|
})
|
|
|
|
|
const activeName = ref('1')
|
|
|
|
|
const Statistics = ref()
|
|
|
|
|
const compatibility = ref()
|
|
|
|
|
|
|
|
|
|
const layout = mainHeight(63) as any
|
|
|
|
|
</script>
|
|
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
|
.bars_w {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 500px;
|
|
|
|
|
}
|
2024-03-18 19:43:55 +08:00
|
|
|
:deep(.el-tabs__content) {
|
2024-03-12 11:16:54 +08:00
|
|
|
height: v-bind('layout.height');
|
|
|
|
|
overflow-y: auto;
|
|
|
|
|
}
|
|
|
|
|
</style>
|