2024-03-12 11:16:54 +08:00
|
|
|
<template>
|
2024-05-16 10:50:06 +08:00
|
|
|
<div class='default-main'>
|
|
|
|
|
<el-tabs v-model='activeName' type='border-card'>
|
|
|
|
|
<el-tab-pane label='干扰源用户台账' name='1' >
|
|
|
|
|
<interferenceUserTable v-if="activeName == '1'" />
|
2024-03-12 16:15:45 +08:00
|
|
|
</el-tab-pane>
|
2024-06-03 16:46:48 +08:00
|
|
|
<el-tab-pane label='敏感及重要用户台账' name='2' >
|
|
|
|
|
<sensitiveUserTable v-if="activeName == '2'" />
|
2024-05-16 10:50:06 +08:00
|
|
|
</el-tab-pane>
|
2024-07-31 15:54:35 +08:00
|
|
|
<el-tab-pane label='变电站台账' name='3' >
|
|
|
|
|
<substationLedger v-if="activeName == '3'" />
|
2024-06-03 16:46:48 +08:00
|
|
|
</el-tab-pane>
|
2024-07-31 15:54:35 +08:00
|
|
|
<el-tab-pane label='终端台账' name='4'>
|
|
|
|
|
<deviceLedgerTable v-if="activeName == '4'" />
|
|
|
|
|
</el-tab-pane>
|
|
|
|
|
<el-tab-pane label='监测点台账' name='5'>
|
|
|
|
|
<monitorLedgerTable v-if="activeName == '5'" />
|
2024-03-12 16:15:45 +08:00
|
|
|
</el-tab-pane>
|
2024-03-12 11:16:54 +08:00
|
|
|
</el-tabs>
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|
|
|
|
|
|
2024-05-16 10:50:06 +08:00
|
|
|
<script setup lang='ts'>
|
2024-03-12 11:16:54 +08:00
|
|
|
import { onMounted, reactive, ref, provide } from 'vue'
|
2024-05-16 10:50:06 +08:00
|
|
|
import interferenceUserTable from './components/interferenceUserTable.vue'
|
2024-06-03 16:46:48 +08:00
|
|
|
import sensitiveUserTable from './components/sensitiveUserTable.vue'
|
2024-07-31 15:54:35 +08:00
|
|
|
import substationLedger from './components/substationLedger.vue'
|
2024-05-16 10:50:06 +08:00
|
|
|
import deviceLedgerTable from './components/deviceLedgerTable.vue'
|
|
|
|
|
import monitorLedgerTable from './components/monitorLedgerTable.vue'
|
2024-03-12 11:16:54 +08:00
|
|
|
import { mainHeight } from '@/utils/layout'
|
2024-05-16 10:50:06 +08:00
|
|
|
|
2024-03-12 11:16:54 +08:00
|
|
|
defineOptions({
|
2024-08-06 20:58:01 +08:00
|
|
|
name: 'Supervision/Terminaldetection'
|
2024-03-12 11:16:54 +08:00
|
|
|
})
|
|
|
|
|
const activeName = ref('1')
|
2024-03-12 16:15:45 +08:00
|
|
|
const network = ref('1')
|
|
|
|
|
const cycle = ref('1')
|
2024-03-12 11:16:54 +08:00
|
|
|
const Statistics = ref()
|
|
|
|
|
const compatibility = ref()
|
|
|
|
|
|
|
|
|
|
const layout = mainHeight(63) as any
|
|
|
|
|
</script>
|
|
|
|
|
|
2024-05-16 10:50:06 +08:00
|
|
|
<style lang='scss' scoped>
|
2024-03-12 11:16:54 +08:00
|
|
|
.bars_w {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 500px;
|
|
|
|
|
}
|
2024-05-16 10:50:06 +08:00
|
|
|
|
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>
|