Newer
Older
carbon-metering-front / src / views / data / consumption / index.vue
<!-- 用气监测 -->
<script lang="ts" setup name="useheat">
import page from '@/views/data/useHeat/page.vue'
import tab from '@/views/data/collect/tab.vue'
// const tablistData = ref([
//   {
//     id: '2',
//     title: '家用燃气监测',
//   },
// ])
// const select = ref('')
// const confirm = (selectp: string) => {
//   select.value = tablistData.value.filter(item => item.title === selectp)[0].id
// }
</script>

<template>
  <div>
    <!-- tab切换 -->
    <!-- <tab :tablist-data="tablistData" @confirm="confirm" />
    <page :type="select" /> -->
    <page type="2" />
  </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>