Files
admin-sjzx/src/views/pqs/supervise/harmonicSurvey/index.vue

43 lines
1.1 KiB
Vue
Raw Normal View History

2024-03-06 16:14:09 +08:00
<template>
2024-05-31 08:44:45 +08:00
<div class='default-main'>
<el-tabs v-model='activeName' type='border-card'>
<el-tab-pane label='技术监督计划管理' name='1'>
2024-05-31 08:44:45 +08:00
<plan-manage v-if="activeName == '1'" />
</el-tab-pane>
<el-tab-pane label='技术监督测试管理' name='2'>
2024-05-31 08:44:45 +08:00
<test-manage v-if="activeName == '2'" />
2024-03-06 16:14:09 +08:00
</el-tab-pane>
</el-tabs>
</div>
</template>
2024-05-31 08:44:45 +08:00
<script setup lang='ts'>
2024-03-06 16:14:09 +08:00
import { onMounted, reactive, ref, provide } from 'vue'
import planManage from './components/planManage.vue'
2024-05-31 08:44:45 +08:00
import testManage from './components/testManage.vue'
2024-03-06 16:14:09 +08:00
import { mainHeight } from '@/utils/layout'
2024-06-05 14:34:23 +08:00
import { useDictData } from '@/stores/dictData'
const dictData = useDictData()
const statusSelect = dictData.statusSelect()
2024-03-06 16:14:09 +08:00
defineOptions({
2024-05-14 18:17:53 +08:00
name: 'supervision/harmonicmanagement'
2024-03-06 16:14:09 +08:00
})
const activeName = ref('1')
const layout = mainHeight(63) as any
</script>
2024-05-31 08:44:45 +08:00
<style lang='scss' scoped>
2024-03-06 16:14:09 +08:00
.bars_w {
width: 100%;
height: 500px;
}
2024-05-31 08:44:45 +08:00
2024-03-18 19:43:55 +08:00
:deep(.el-tabs__content) {
2024-03-06 16:14:09 +08:00
height: v-bind('layout.height');
overflow-y: auto;
}
</style>