From b9805a1c741bff62b5b35dbb66cd3675b319af24 Mon Sep 17 00:00:00 2001 From: selia-zx <1771203023@qq.com> Date: Wed, 13 May 2026 15:12:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E6=94=B6=E7=9B=8A=E5=88=86?= =?UTF-8?q?=E6=9E=90=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/hotWater/profitAnalysis.js | 18 + src/assets/icons/svg/elect.svg | 1 + src/assets/icons/svg/income.svg | 1 + src/assets/icons/svg/unit.svg | 1 + src/assets/icons/svg/water.svg | 1 + src/views/hotWater/hotPumpLog/index.vue | 22 +- src/views/hotWater/profitAnalysis/index.vue | 1344 +++++++++++++++++++ src/views/system/menu/index.vue | 8 + 8 files changed, 1388 insertions(+), 8 deletions(-) create mode 100644 src/api/hotWater/profitAnalysis.js create mode 100644 src/assets/icons/svg/elect.svg create mode 100644 src/assets/icons/svg/income.svg create mode 100644 src/assets/icons/svg/unit.svg create mode 100644 src/assets/icons/svg/water.svg create mode 100644 src/views/hotWater/profitAnalysis/index.vue diff --git a/src/api/hotWater/profitAnalysis.js b/src/api/hotWater/profitAnalysis.js new file mode 100644 index 0000000..dfe01e3 --- /dev/null +++ b/src/api/hotWater/profitAnalysis.js @@ -0,0 +1,18 @@ +import request from "@/utils/request"; + +// 顶部 +export function waternErgySum(query) { + return request({ + url: "/hot_water_revenue/energySum", + method: "get", + params: query, + }); +} +// 数据列表 +export function waterRevenueQuery(query) { + return request({ + url: "/hot_water_revenue/query", + method: "get", + params: query, + }); +} diff --git a/src/assets/icons/svg/elect.svg b/src/assets/icons/svg/elect.svg new file mode 100644 index 0000000..c797cbc --- /dev/null +++ b/src/assets/icons/svg/elect.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/income.svg b/src/assets/icons/svg/income.svg new file mode 100644 index 0000000..477bc25 --- /dev/null +++ b/src/assets/icons/svg/income.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/unit.svg b/src/assets/icons/svg/unit.svg new file mode 100644 index 0000000..e280cfe --- /dev/null +++ b/src/assets/icons/svg/unit.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/assets/icons/svg/water.svg b/src/assets/icons/svg/water.svg new file mode 100644 index 0000000..dcf9cfb --- /dev/null +++ b/src/assets/icons/svg/water.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/views/hotWater/hotPumpLog/index.vue b/src/views/hotWater/hotPumpLog/index.vue index faab9c5..6b7d619 100644 --- a/src/views/hotWater/hotPumpLog/index.vue +++ b/src/views/hotWater/hotPumpLog/index.vue @@ -152,8 +152,14 @@ + + {{ scope.row.tempSetHotPumpEight }} + + + {{ scope.row.tempRealHotPumpEight }} + @@ -169,16 +175,16 @@ - + - 运行 - 不运行 + 运行 + 不运行 - + - 运行 - 不运行 + 运行 + 不运行 @@ -796,7 +802,7 @@ export default { tempRealHotPumpSix: "", statusSwitchHotPumpSix: "", statusRunHotPumpSix: "", - + tempSetHotPumpSeven: "", tempRealHotPumpSeven: "", statusSwitchHotPumpSeven: "", @@ -808,7 +814,7 @@ export default { statusRunHotPumpEight: "", statusRunCyclePumpOneStr: "", - statusRunCyclePumpTwoStr:"", + statusRunCyclePumpTwoStr: "", levelWaterTankOne: "", levelWaterTankTwo: "", diff --git a/src/views/hotWater/profitAnalysis/index.vue b/src/views/hotWater/profitAnalysis/index.vue new file mode 100644 index 0000000..1bc18c7 --- /dev/null +++ b/src/views/hotWater/profitAnalysis/index.vue @@ -0,0 +1,1344 @@ + + + + + + + + + + 用水金额 + {{ waterAmount }}元 + {{ getAverageLabel() }} {{ waterDailyAvg }}元 + + + + + + + + + 用电金额 + {{ electricAmount }}元 + {{ getAverageLabel() }} {{ electricDailyAvg }}元 + + + + + + + + + 单耗(度/吨) + {{ unitConsumption }} + + + + + + + + + 总收入 + {{ totalIncome }}元 + + + + + + + + + {{ type.label }} + + + + + + + + + 至 + + + + 查询 + + + 导出 + + + + + + + + + 成本与收益对比图 + + + + + + + + 成本构成 + + + + + + 收益趋势 + + + + + + + + 收益明细表 + + + + + + + + + + + + + + {{ row.totalIncome }} + + + + + + + + + + + + + diff --git a/src/views/system/menu/index.vue b/src/views/system/menu/index.vue index 8ca5522..7e2c809 100644 --- a/src/views/system/menu/index.vue +++ b/src/views/system/menu/index.vue @@ -578,12 +578,16 @@ export default { ::v-deep .el-dialog .el-form-item__label { width: 120px !important; + white-space: nowrap; } ::v-deep .el-dialog .el-form-item { display: flex; flex-direction: row; align-items: center; } + ::v-deep .el-dialog .el-form-item__label span { + white-space: nowrap; + } } @media (min-width: 2000px) { ::v-deep .el-dialog { @@ -592,11 +596,15 @@ export default { ::v-deep .el-dialog .el-form-item__label { width: 1.2rem !important; + white-space: nowrap; } ::v-deep .el-dialog .el-form-item { display: flex; flex-direction: row; align-items: center; } + ::v-deep .el-dialog .el-form-item__label span { + white-space: nowrap; + } }