feat(property): 添加水电气表当前读数功能

- 新增 currentReading 函数获取水电气表当前读数和状态
- 更新 floor-tree 组件,增加 isMeter 属性控制是否显示电表数据
- 重构 electricitySituation 页面,展示电表当前读数和状态信息
- 优化 waterSituation 页面,引入 floor-tree 组件
This commit is contained in:
2025-08-31 12:48:27 +08:00
parent f951aeb520
commit 55e57eb219
4 changed files with 155 additions and 78 deletions

View File

@@ -81,7 +81,7 @@ import { Page } from '@vben/common-ui'
import { ref, onMounted, onBeforeUnmount, reactive } from 'vue'
import * as echarts from 'echarts'
import type { ECharts, EChartsOption } from 'echarts'
import FloorTree from "../../electricEnergy/components/floor-tree.vue"
import FloorTree from "../components/floor-tree.vue"
const chainData = reactive({
currentMonthEnergy: '9',