From 2fc80a2a92e64357f2b1bd8cdbecc7cd0afe6682 Mon Sep 17 00:00:00 2001 From: jiangyinzhi Date: Wed, 11 Mar 2026 15:01:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E5=BA=86=E7=8E=B0=E5=9C=BA=E6=9B=B4?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.production | 2 +- src/api/config.js | 4 +- src/api/energyConsumption.js | 8 +- src/settings.js | 2 +- src/views/comment/components/device.vue | 8 +- .../energyEfficiency/constructionInfo.vue | 4 +- src/views/energyEfficiency/yearEnergy.vue | 121 +++++++++++++++--- src/views/enterprise/yearEnergyAddEdit.vue | 83 ++++++++++++ .../bursting/burstingDetail.vue | 21 ++- .../components/distributionSystem.vue | 5 +- .../facilityManage/components/fissionAir.vue | 8 +- .../facilityManage/components/multipleAir.vue | 9 +- 12 files changed, 243 insertions(+), 32 deletions(-) diff --git a/.env.production b/.env.production index 4033a7a..cbd9641 100644 --- a/.env.production +++ b/.env.production @@ -6,7 +6,7 @@ NODE_ENV=production # 测试0 生产1 VUE_APP_ENV = '1' # 定义变量 -VUE_APP_CITY_TYPE = 'sx' +VUE_APP_CITY_TYPE = 'cq' # base api VUE_APP_BASE_API = '' diff --git a/src/api/config.js b/src/api/config.js index b1887ad..44ace62 100644 --- a/src/api/config.js +++ b/src/api/config.js @@ -13,8 +13,8 @@ if (process.env.NODE_ENV === 'development') { // baseURL = '/proxy-ah' //安徽 打包以后的路径 // baseURL = '/proxy-nx' //宁夏 打包以后的路径 // baseURL = '/proxy-xj' //新疆 打包以后的路径 - baseURL = '/proxy-sx' //山西 打包以后的路径 - // baseURL = '/proxy-cq' //重庆 打包以后的路径 + // baseURL = '/proxy-sx' //山西 打包以后的路径 + baseURL = '/proxy-cq' //重庆 打包以后的路径 } diff --git a/src/api/energyConsumption.js b/src/api/energyConsumption.js index f4e7d19..2f8d0bd 100644 --- a/src/api/energyConsumption.js +++ b/src/api/energyConsumption.js @@ -2,7 +2,13 @@ import myAxios from "./axios"; const sx = process.env.VUE_APP_CITY_TYPE == 'sx'?'/ferry_service/ferryController/conveyor':'' //建筑能耗数据信息 - +export function factorlist(data) { + return myAxios({ + url: `${sx}/energy-effcicency-net-service/nxzdReferFactorNet/list`, //后端接口路由 + method: 'post', + data, + }) +} /** * 查询建筑能耗 -- 年 * @param { diff --git a/src/settings.js b/src/settings.js index fa4b443..97bb2fb 100644 --- a/src/settings.js +++ b/src/settings.js @@ -10,7 +10,7 @@ module.exports = { */ sidebarLogo: true, menuExclude: [], - downloadUrl: `${process.env.VUE_APP_BASE_API}/proxy-sx/file/minio/download/`, + downloadUrl: `${process.env.VUE_APP_BASE_API}/proxy-cq/file/minio/download/`, uploadUrl: `${process.env.VUE_APP_BASE_API}/file/minio/upload/`, statusCode: { SUCCESS: 0 diff --git a/src/views/comment/components/device.vue b/src/views/comment/components/device.vue index e80988f..70bad82 100644 --- a/src/views/comment/components/device.vue +++ b/src/views/comment/components/device.vue @@ -73,7 +73,7 @@ EnergyReportInfo.centralizeCoolCapacity }}千瓦。 机组平均能效比为{{ EnergyReportInfo.centralizeAverageCop - }}, 机组最长投运年限为{{ + }}(总制冷量/总功率), 机组最长投运年限为{{ EnergyReportInfo.centralizeMinUseYear }}年。 @@ -112,7 +112,7 @@ 合计{{ EnergyReportInfo.multipleNum }}台, 总额定功率为{{ EnergyReportInfo.multipleRatedPower }}千瓦,机组平均能效比为{{ EnergyReportInfo.multipleAverageCop - }},设备最长投运年限为{{ EnergyReportInfo.multipleMinUseYear }}年。 + }}(总制冷量/总功率),设备最长投运年限为{{ EnergyReportInfo.multipleMinUseYear }}年。 @@ -230,7 +230,9 @@ EnergyReportInfo.heatRatedPower }}(吨/立方米/千瓦),总制热量为{{ EnergyReportInfo.heatCapacity - }}千瓦,机组最长投运年限为{{ EnergyReportInfo.heatUnitMinUseYear }}年。 + }}千瓦, + 机组平均能效比为{{(EnergyReportInfo.heatRatedPower/EnergyReportInfo.heatCapacity).toFixed(2)}}(总制热量/总功率), + 机组最长投运年限为{{ EnergyReportInfo.heatUnitMinUseYear }}年。 采暖泵合计{{ EnergyReportInfo.heatPumpNum}}台,总额定功率为{{ diff --git a/src/views/energyEfficiency/constructionInfo.vue b/src/views/energyEfficiency/constructionInfo.vue index 7a17348..90399f7 100644 --- a/src/views/energyEfficiency/constructionInfo.vue +++ b/src/views/energyEfficiency/constructionInfo.vue @@ -18,7 +18,7 @@ - +
同一社会信用代码下建筑面积和用能人数重复
总建筑面积>5万平方米,请确认是否属实
@@ -41,7 +41,7 @@
数据机房面积≤0.5*总建筑面积
- +
同一社会信用代码下建筑面积和用能人数重复
diff --git a/src/views/energyEfficiency/yearEnergy.vue b/src/views/energyEfficiency/yearEnergy.vue index b6484c2..290de8f 100644 --- a/src/views/energyEfficiency/yearEnergy.vue +++ b/src/views/energyEfficiency/yearEnergy.vue @@ -14,19 +14,19 @@
- - - - - - - - - - - - - + + + + + + + + + + + + +
@@ -49,6 +49,18 @@ + +
+
+

能耗折标煤数据

+
+
+ + + + + +
@@ -64,13 +76,67 @@