From a8ff9d7354b73c89d4dd5e36d39c5cff06932f97 Mon Sep 17 00:00:00 2001
From: selia-zx <1771203023@qq.com>
Date: Thu, 23 Oct 2025 16:34:30 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E7=83=AD=E6=B3=B5=E8=BF=90?=
 =?UTF-8?q?=E8=A1=8C=E8=AE=B0=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
 src/api/comprehensiveEnergy/hotPumpLog.js     |   27 +
 src/assets/icons/svg/hotPumpLog.svg           |    1 +
 .../comprehensiveEnergy/hotPumpLog/index.vue  | 1091 +++++++++++++++++
 .../comprehensiveEnergy/meterRecord/index.vue |  354 +-----
 4 files changed, 1131 insertions(+), 342 deletions(-)
 create mode 100644 src/api/comprehensiveEnergy/hotPumpLog.js
 create mode 100644 src/assets/icons/svg/hotPumpLog.svg
 create mode 100644 src/views/comprehensiveEnergy/hotPumpLog/index.vue
diff --git a/src/api/comprehensiveEnergy/hotPumpLog.js b/src/api/comprehensiveEnergy/hotPumpLog.js
new file mode 100644
index 0000000..c953368
--- /dev/null
+++ b/src/api/comprehensiveEnergy/hotPumpLog.js
@@ -0,0 +1,27 @@
+import request from "@/utils/request";
+
+export const hotWaterList = (data) => {
+  return request({
+    url: "/reportHotWater/list",
+    method: "post",
+    data: data,
+  });
+};
+
+// 导出
+export const hotWaterExport = (data) => {
+  return request({
+    url: "/reportHotWater/export",
+    method: "post",
+    data,
+    responseType: "blob",
+  });
+};
+// 修改
+export const hotWaterEdit = (data) => {
+  return request({
+    url: "/reportHotWater/edit",
+    method: "put",
+    data: data,
+  });
+};
diff --git a/src/assets/icons/svg/hotPumpLog.svg b/src/assets/icons/svg/hotPumpLog.svg
new file mode 100644
index 0000000..00b4aa1
--- /dev/null
+++ b/src/assets/icons/svg/hotPumpLog.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/views/comprehensiveEnergy/hotPumpLog/index.vue b/src/views/comprehensiveEnergy/hotPumpLog/index.vue
new file mode 100644
index 0000000..a076a8d
--- /dev/null
+++ b/src/views/comprehensiveEnergy/hotPumpLog/index.vue
@@ -0,0 +1,1091 @@
+
+  
+    
+      
+        
+          
+            
+          
+          
+            
+            
+          
+        
+        
+          搜索
+        
+        
+          导出
+        
+      
+    
+    
+       
+       
+       
+      
+        
+        
+        
+        
+        
+          
+            开机
+            关机
+          
+        
+        
+          
+            运行
+            不运行
+          
+        
+      
+      
+        
+        
+        
+        
+        
+          
+            开机
+            关机
+          
+        
+        
+          
+            运行
+            不运行
+          
+        
+      
+      
+        
+        
+        
+        
+        
+          
+            开机
+            关机
+          
+        
+        
+          
+            运行
+            不运行
+          
+        
+      
+      
+        
+        
+        
+        
+        
+          
+            开机
+            关机
+          
+        
+        
+          
+            运行
+            不运行
+          
+        
+      
+      
+        
+        
+        
+        
+        
+          
+            运行
+            不运行
+          
+        
+        
+          
+            运行
+            不运行
+          
+        
+      
+      
+        
+        
+        
+        
+        
+          
+            运行
+            不运行
+          
+        
+        
+          
+            运行
+            不运行
+          
+        
+      
+      
+        
+        
+        
+        
+      
+       
+       
+      
+        
+          修改
+        
+      
+    
+
+    
+    
+    
+      
+        
+          
+            
+              
+               
+          
+            
+              
+            
+          
+        
+        
+          1号热泵
+        
+        
+          
+            
+               
+          
+            
+              
+            
+          
+        
+        
+          
+            
+              
+                
+               
+          
+            
+              
+                
+               
+        
+        
+          2号热泵
+        
+        
+          
+            
+               
+          
+            
+              
+            
+          
+        
+        
+          
+            
+              
+                
+               
+          
+            
+              
+                
+               
+        
+        
+          
+            3号热泵
+          
+          
+            
+              
+                 
+            
+              
+                
+              
+            
+          
+          
+            
+              
+                
+                  
+                 
+            
+              
+                
+                  
+                 
+          
+        
+        
+          
+            4号热泵
+          
+          
+            
+              
+                 
+            
+              
+                
+              
+            
+          
+          
+            
+              
+                
+                  
+                 
+            
+              
+                
+                  
+                 
+          
+        
+        
+          {{
+            tableColumnLabel1
+          }}
+        
+        
+          
+            
+               
+          
+            
+              
+            
+          
+        
+        
+          
+            
+              
+                
+               
+          
+            
+              
+                
+               
+        
+        
+          {{
+            tableColumnLabel2
+          }}
+        
+        
+          
+            
+               
+          
+            
+              
+            
+          
+        
+        
+          
+            
+              
+                
+               
+          
+            
+              
+                
+               
+        
+        
+          
+            
+               
+          
+            
+              
+            
+          
+        
+        
+          
+            
+               
+          
+            
+              
+            
+          
+        
+      
+      
+    
+  
 
+
+
+
+
diff --git a/src/views/comprehensiveEnergy/meterRecord/index.vue b/src/views/comprehensiveEnergy/meterRecord/index.vue
index 0cf1c98..e97da27 100644
--- a/src/views/comprehensiveEnergy/meterRecord/index.vue
+++ b/src/views/comprehensiveEnergy/meterRecord/index.vue
@@ -40,8 +40,8 @@
       
     
     
-      
最高气温:{{ heightValue }}℃
       最低气温:{{ lowValue }}℃
+      
最高气温:{{ heightValue }}℃
       
      
     
       
         
-          
+          
           {{ row.location }}
-          
+          
           {{ row.mtType }}
         
       
@@ -86,7 +86,8 @@
           {{ row.total }}
         
       
-       
+      
+      
        
     
 
@@ -98,7 +99,8 @@
     >
        
        
-       
+      
+      
        
        
        
@@ -145,340 +147,8 @@ export default {
       monthValue: "",
       lowValue: "", //最低温度
       heightValue: "", // 最高温度
-      tableData: [
-        {
-          id: "电表",
-          name: "位置1",
-          amount1: "编号1",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置2",
-          amount1: "编号2",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置3",
-          amount1: "编号3",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置4",
-          amount1: "编号4",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置5",
-          amount1: "编号5",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置6",
-          amount1: "编号6",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置7",
-          amount1: "编号7",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置8",
-          amount1: "编号8",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "空调系统用电总合计",
-          name: "位置9",
-          amount1: "编号9",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置10",
-          amount1: "编号10",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置11",
-          amount1: "编号11",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置12",
-          amount1: "编号12",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置13",
-          amount1: "编号13",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "热水热泵系统用电总合计",
-          name: "位置14",
-          amount1: "编号14",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "水表",
-          name: "位置15",
-          amount1: "编号15",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "水表",
-          name: "位置16",
-          amount1: "编号16",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "水表",
-          name: "位置17",
-          amount1: "编号17",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "水表",
-          name: "位置18",
-          amount1: "编号18",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "热水热泵系统用水总合计",
-          name: "位置19",
-          amount1: "编号19",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "燃气表(常用)",
-          name: "位置20",
-          amount1: "编号20",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-
-        {
-          id: "燃气表(备用)",
-          name: "位置21",
-          amount1: "编号21",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "蒸汽发生器+采暖用气总合计",
-          name: "位置22",
-          amount1: "编号22",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置23",
-          amount1: "编号23",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "蒸汽发生器+采暖用电总合计",
-          name: "位置24",
-          amount1: "编号24",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "电表",
-          name: "位置25",
-          amount1: "编号25",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "蒸汽发生器用水总合计",
-          name: "位置26",
-          amount1: "编号26",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-        {
-          id: "水、电、气费用总合计(水/电/气价预估单价,单价需以实际缴费为准)",
-          name: "位置27",
-          amount1: "编号27",
-          amount2: "234.132",
-          amount3: 192.72,
-          amount4: 1,
-          amount5: 345,
-          amount6: 0.678,
-          amount7: 150,
-        },
-      ],
-      tableData2: [
-        {
-          id: "流量计量表",
-          name: "中央空调冷冻流量",
-          amount1: "0",
-          amount2: "0",
-          amount3: 0,
-          amount4: "",
-        },
-        {
-          id: "3",
-          name: "中央空调冷却流量",
-          amount1: "0",
-          amount2: "0",
-          amount3: 0,
-          amount4: "",
-        },
-        {
-          id: "4",
-          name: "中央空调采暖流量",
-          amount1: "0",
-          amount2: "0",
-          amount3: 0,
-          amount4: "",
-        },
-        {
-          id: "1",
-          name: "蒸汽流量",
-          amount1: "0",
-          amount2: "0",
-          amount3: 0,
-          amount4: "",
-        },
-      ],
+      tableData: [],
+      tableData2: [],
     };
   },
   created() {
@@ -602,13 +272,13 @@ export default {
         if (res.code == 200 && res.rows) {
           this.tableData = res.rows.slice(0, 27);
           this.tableData2 = res.rows.slice(27, 31);
+          this.loading = false;
         } else {
           this.tableData = [];
           this.tableData2 = [];
+          this.loading = false;
         }
       });
-      //   处理表格数据
-      this.loading = false;
       //查询温度
       this.getTemValue();
     },
@@ -646,7 +316,7 @@ export default {
     /** 导出按钮操作 */
     handleExport() {
       let data = {
-        todayTimestamp: this.dayValue,
+        todayTimestamp: `${this.dayValue} 00:00:00`,
       };
       console.log("导出数据参数", data);
       meterReadingsExport(data).then((res) => {