diff --git a/.env.development b/.env.development index 5a51382..c37acf6 100644 --- a/.env.development +++ b/.env.development @@ -8,8 +8,7 @@ ENV = 'development' # VUE_APP_BASE_API = '/dev-api' # 后台 VUE_APP_BASE_API = 'http://192.168.1.222:8080' -# 梅州云端 -# VUE_APP_BASE_API = 'http://106.55.173.225:8091' + # 广合 # VUE_APP_BASE_API = 'http://106.55.173.225:8092' diff --git a/src/api/index.js b/src/api/index.js index c35f435..52cbb5d 100644 --- a/src/api/index.js +++ b/src/api/index.js @@ -59,4 +59,40 @@ export function getCoeData() { url: "/pro/overview/getCoe", method: "get", }); -} \ No newline at end of file +} + +// 图表 +export function homeCharts() { + return request({ + url: "/home/charts", + method: "get", + }); +} +// 运行天数 +export function homeRunTime() { + return request({ + url: "/home/runTime", + method: "get", + }); +} +// 实时总功率、总冷量 +export function getCurrentRate() { + return request({ + url: "/home/getCurrentRate", + method: "get", + }); +} +// 实时能耗系数 +export function getCoe() { + return request({ + url: "/home/getCoe", + method: "get", + }); +} +// 日月年供冷量、日月年EER +export function homeStatical() { + return request({ + url: "/home/statical", + method: "get", + }); +} diff --git a/src/assets/images/cold-bg.png b/src/assets/images/cold-bg.png new file mode 100644 index 0000000..e72f13a Binary files /dev/null and b/src/assets/images/cold-bg.png differ diff --git a/src/assets/images/home-icon1.png b/src/assets/images/home-icon1.png new file mode 100644 index 0000000..543f90d Binary files /dev/null and b/src/assets/images/home-icon1.png differ diff --git a/src/assets/images/home-icon2.png b/src/assets/images/home-icon2.png new file mode 100644 index 0000000..b742781 Binary files /dev/null and b/src/assets/images/home-icon2.png differ diff --git a/src/assets/images/home-icon3.png b/src/assets/images/home-icon3.png new file mode 100644 index 0000000..71fc2fe Binary files /dev/null and b/src/assets/images/home-icon3.png differ diff --git a/src/assets/images/home-icon4.png b/src/assets/images/home-icon4.png new file mode 100644 index 0000000..74f2805 Binary files /dev/null and b/src/assets/images/home-icon4.png differ diff --git a/src/assets/images/home-icon5.png b/src/assets/images/home-icon5.png new file mode 100644 index 0000000..3a91ab0 Binary files /dev/null and b/src/assets/images/home-icon5.png differ diff --git a/src/assets/images/home-icon6.png b/src/assets/images/home-icon6.png new file mode 100644 index 0000000..596bec8 Binary files /dev/null and b/src/assets/images/home-icon6.png differ diff --git a/src/assets/images/home-icon7.png b/src/assets/images/home-icon7.png new file mode 100644 index 0000000..e87a5ff Binary files /dev/null and b/src/assets/images/home-icon7.png differ diff --git a/src/assets/images/noactive-0.png b/src/assets/images/noactive-0.png new file mode 100644 index 0000000..5162dea Binary files /dev/null and b/src/assets/images/noactive-0.png differ diff --git a/src/assets/images/noactive-1.png b/src/assets/images/noactive-1.png new file mode 100644 index 0000000..88f1fca Binary files /dev/null and b/src/assets/images/noactive-1.png differ diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 4a96aed..aaae049 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -218,6 +218,43 @@ aside { box-shadow: inset 0px 1px 0px 0px rgba(255, 255, 255, 0.4); border-radius: 14px; } +/** 科技感面板标题 - 左侧竖线 + 渐变底线 */ +.panel-title { + position: relative; + padding: 0.1rem 0 0.1rem 0.18rem; + margin-bottom: 0.1rem; + + &::before { + content: ""; + position: absolute; + left: 0; + top: 50%; + transform: translateY(-50%); + width: 0.06rem; + height: 0.24rem; + background: linear-gradient(180deg, #00d7e9, #0078d7); + border-radius: 0.03rem; + box-shadow: 0 0 0.08rem rgba(0, 215, 233, 0.5); + } + + &::after { + content: ""; + position: absolute; + bottom: 0; + left: 0; + width: 100%; + height: 1px; + background: linear-gradient(90deg, rgba(0, 215, 233, 0.4), transparent); + } + + .panel-title-text { + font-size: 0.2rem; + font-weight: bold; + color: #e3fff9; + letter-spacing: 0.04rem; + text-shadow: 0 0 0.06rem rgba(0, 215, 233, 0.3); + } +} .special-div { display: flex; diff --git a/src/views/centerairC/energyAnalysis/components/ynyQnqAnalysis.vue b/src/views/centerairC/energyAnalysis/components/ynyQnqAnalysis.vue index cc84ed1..3052be7 100644 --- a/src/views/centerairC/energyAnalysis/components/ynyQnqAnalysis.vue +++ b/src/views/centerairC/energyAnalysis/components/ynyQnqAnalysis.vue @@ -100,9 +100,9 @@
查询
- +
@@ -891,20 +891,20 @@ export default { this.exportArr.push(newData); } - // // console.log("导出的数据", this.exportArr); - // import("@/assets/excel/Export2Excel").then((excel) => { - // let filterVal = ["dateList", "curValue2", "lastValue2", "yoy2", "mom2"]; // 导出的excel表头字段名,需要导出表格字段名 - // let tHeader = ["时间", "本期", "同期", "同比", "环比"]; // 导出的excel表头名信息 - // const data = this.formatJson(filterVal, this.exportArr); - // const autoWidth = true; - // excel.export_json_to_excel({ - // header: tHeader, //表头 - // data, //数据 - // filename: `${this.checkList}同比环比分析报表`, //名称 - // autoWidth: true, //宽度自适应 - // }); - // this.$message.success("导出成功!"); - // }); + // console.log("导出的数据", this.exportArr); + import("@/assets/excel/Export2Excel").then((excel) => { + let filterVal = ["dateList", "curValue2", "lastValue2", "yoy2", "mom2"]; // 导出的excel表头字段名,需要导出表格字段名 + let tHeader = ["时间", "本期", "同期", "同比", "环比"]; // 导出的excel表头名信息 + const data = this.formatJson(filterVal, this.exportArr); + const autoWidth = true; + excel.export_json_to_excel({ + header: tHeader, //表头 + data, //数据 + filename: `${this.checkList}同比环比分析报表`, //名称 + autoWidth: true, //宽度自适应 + }); + this.$message.success("导出成功!"); + }); }, //格式转换,不需要改动 formatJson(filterVal, jsonData) { diff --git a/src/views/components/chartsData.vue b/src/views/components/chartsData.vue new file mode 100644 index 0000000..afbd237 --- /dev/null +++ b/src/views/components/chartsData.vue @@ -0,0 +1,596 @@ + + + + + diff --git a/src/views/components/hotWater.vue b/src/views/components/hotWater.vue deleted file mode 100644 index 13c461d..0000000 --- a/src/views/components/hotWater.vue +++ /dev/null @@ -1,144 +0,0 @@ - - - - - diff --git a/src/views/components/sysEnergy.vue b/src/views/components/sysEnergy.vue index a7d92f0..403d153 100644 --- a/src/views/components/sysEnergy.vue +++ b/src/views/components/sysEnergy.vue @@ -1,798 +1,919 @@ \ No newline at end of file + diff --git a/src/views/components/viewColdSys.vue b/src/views/components/viewColdSys.vue deleted file mode 100644 index d38b60a..0000000 --- a/src/views/components/viewColdSys.vue +++ /dev/null @@ -1,514 +0,0 @@ - - - - - diff --git a/src/views/components/viewEnergy.vue b/src/views/components/viewEnergy.vue index fe1d66e..922e641 100644 --- a/src/views/components/viewEnergy.vue +++ b/src/views/components/viewEnergy.vue @@ -81,7 +81,7 @@ export default { ); console.log("当前要渲染的数据对象", chartsObj); console.log("当前要渲染的颜色对象", colorObj); - const titleFontSize = this.$refs.chart_ref.offsetWidth / 50; + const titleFontSize = this.$refs.chart_ref.offsetWidth / 100; let adapterOption = {}; // 添加折线的配置 adapterOption = { diff --git a/src/views/index.vue b/src/views/index.vue index c1cdf50..9d5b306 100644 --- a/src/views/index.vue +++ b/src/views/index.vue @@ -5,25 +5,42 @@
项目简介
- Base64 Image + Base64 Image
- +
项目名称
{{ projectObj.proName }}
- +
建筑面积
{{ projectObj.buildingArea }}m³
- +
运营地址
{{ projectObj.proAddr }}
@@ -32,7 +49,11 @@
- +
项目运行开始时间
{{ projectObj.operateStartTime }}
@@ -40,139 +61,222 @@
-
+
-
中央空调冷源系统(实时EER系数)
+
中央空调能耗总览
- -
-
-
-
空压热回收系统
-
-
-
-
出水温度
-
-
-
离心机高温出水温度
-
-
-
-
中温换热出水温度
-
-
-
-
低温1换热出水温度
-
-
-
-
低温2换热出水温度
-
+ +
+
+
+
+
+ 瞬时能耗 +
+
+
+ +
+
瞬时电量(kwh)
+
{{ this.totalEle }}22222
+
+
+
+ +
+
瞬时冷量(kwr)
+
{{ this.totalCap }}3333333
+
+
+
-
-
-
热量数据
-
-
-
生产累计热量
-
- {{ heatData.productionHeatSum }}kwh +
+
+ +
+
运行天数
+
{{ this.runTime }}322天
-
-
散热累计热量
-
- {{ heatData.dissipationHeatSum }}kwh +
+ +
+
湿球温度
+
{{ this.wetBulbTem }}32℃
-
-
总热量回收
-
- {{ heatData.totalHeatRecoverySum }}kwh +
+ +
+
室外湿度
+
{{ this.humidity }}22%
-
-
热利用率
-
{{ heatData.heatUtilization }}%
-
-
-
-
-
-
-
系统数据
-
-
-
离心机入口温度
-
-
-
-
离心机出水温度
-
-
-
-
保障进水温度
-
+
+ +
+
室外温度
+
{{ this.temperature }}33℃
+
-
- - - -
-
-
-
阀门开度
- -
-
-
-
热回收数据
-
-
-
瞬时热量:
-
{{ heatRecoveryData.instantaneousHeatSum }}kw
-
-
-
日累计热量:
-
{{ heatRecoveryData.dailyAccumulatedHeat }}kwh
+
+
+
+
+
+
+ +
日EER
+
{{ this.homeStatical.dayEER }}20
+
+
+ +
月EER
+
+ {{ this.homeStatical.monthEER }}24 +
+
+
+ +
年EER
+
+ {{ this.homeStatical.yearEER }}12 +
+
+
+ +
累计EER
+
+ {{ this.homeStatical.totalEER }}12 +
+
-
-
累计热量:
-
{{ heatRecoveryData.accumulatedHeatSum }}kwh
+
+
+
+
+
+ {{ this.homeStatical.dayColdCap }}32 +
+
日供冷量(kwr)
+
+
+
+ {{ this.homeStatical.monthColdCap }}232 +
+
当月供冷量(kwr)
+
+
+
{{ yearColdCapValue }}3211
+
+ {{ + this.homeStatical.yearColdCap > 100000 + ? "年供冷量(Mwr)" + : "年供冷量(kwr)" + }} +
+
+
+
{{ totalColdCapValue }}324443
+
+ {{ + this.homeStatical.totalColdCap > 100000 + ? "累计供冷量(Mwr)" + : "累计供冷量(kwr)" + }} +
+
-
-
应用测数据
-
-
-
瞬时热量:
-
{{ applicationData.instantaneousHeatSum }}kw
-
-
-
日累计热量:
-
{{ applicationData.dailyAccumulatedHeat }}kwh
-
-
-
累计热量:
-
{{ applicationData.accumulatedHeatSum }}kwh
+
+
+
+
+
+
+
+
+ +
+
- +
+
+
能耗分析
+
+ +
+ - +