添加字段

This commit is contained in:
zhouyanli
2026-10-23 08:22:43 +08:00
parent 52400309ae
commit 47663ccbe4

View File

@@ -56,16 +56,19 @@
</el-table-column> </el-table-column>
<el-table-column label="设备编码" prop="deviceCodes" align="center" min-width="160" show-overflow-tooltip /> <el-table-column label="设备编码" prop="deviceCodes" align="center" min-width="160" show-overflow-tooltip />
<el-table-column label="设备数量" prop="deviceCount" align="center" width="90" /> <el-table-column label="设备数量" prop="deviceCount" align="center" width="90" />
<el-table-column label="用电量" align="center" width="110"> <el-table-column label="房屋用电量(度)" align="center" width="130">
<template #default="scope">{{ formatNumber(scope.row.usageEnergy) }}</template> <template #default="scope">{{ formatNumber(scope.row.usageEnergy) }}</template>
</el-table-column> </el-table-column>
<el-table-column label="公摊用电量(度)" align="center" width="130">
<template #default="scope">{{ formatNumber(scope.row.shareUsageEnergy) }}</template>
</el-table-column>
</el-table> </el-table>
<pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" /> <pagination v-show="total > 0" :total="total" v-model:page="queryParams.pageNum" v-model:limit="queryParams.pageSize" @pagination="getList" />
</el-card> </el-card>
</div> </div>
</template> </template>
<script setup name="StatisticsSummary" lang="ts"> <script setup name="StatisticsSummary" lang="ts">
import { listStatisticsSummary, getStatisticsSummaryTotal } from '@/api/system/statisticsSummary'; import { listStatisticsSummary, getStatisticsSummaryTotal } from '@/api/system/statisticsSummary';
import { StatisticsSummaryVO, StatisticsSummaryTotal } from '@/api/system/statisticsSummary/types'; import { StatisticsSummaryVO, StatisticsSummaryTotal } from '@/api/system/statisticsSummary/types';