<!-- 环境监测 --> <script lang="ts" setup name="environment"> import page from '@/views/data/useHeat/page.vue' import tab from '@/views/data/collect/tab.vue' const tablistData = ref([ { id: '1', title: '气象仪监测', }, ]) const select = ref('') const confirm = (selectp: string) => { select.value = selectp } </script> <template> <div> <!-- tab切换 --> <tab :tablist-data="tablistData" @confirm="confirm" /> <page :type="select" /> </div> </template> <style lang="scss" scoped> .normal-input { width: 130px !important; } .normal-date { width: 130px !important; } .normal-select { width: 130px !important; } :deep(.el-table__header) { background-color: #bbb; } </style>