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; + } }