38 lines
969 B
Vue
38 lines
969 B
Vue
<template>
|
|
<div class="default-main">
|
|
<el-tabs v-model="activeName" type="border-card">
|
|
<el-tab-pane label="谐波阻抗数据库" name="1">
|
|
<HarmonicImpedanceTable />
|
|
</el-tab-pane>
|
|
<el-tab-pane label="谐波源数据库" name="2">
|
|
<HarmonicSourcesTable />
|
|
</el-tab-pane>
|
|
</el-tabs>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { onMounted, reactive, ref, provide } from 'vue'
|
|
|
|
import { mainHeight } from '@/utils/layout'
|
|
import HarmonicSourcesTable from './components/harmonicSources.vue'
|
|
import HarmonicImpedanceTable from './components/harmonicImpedance.vue'
|
|
defineOptions({
|
|
name: 'database/model'
|
|
})
|
|
const activeName = ref('1')
|
|
|
|
const layout = mainHeight(63) as any
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.bars_w {
|
|
width: 100%;
|
|
height: 500px;
|
|
}
|
|
:deep(.el-tabs__content) {
|
|
height: v-bind('layout.height');
|
|
overflow-y: auto;
|
|
}
|
|
</style>
|