瀏覽代碼

常规消缺

Koishi 1 月之前
父節點
當前提交
5eb35549be

+ 3 - 3
src/views/economicsOperation/jjyxReport/index.vue

@@ -470,7 +470,7 @@
                         label="同比变化(±%)"
                         />
                     </el-table>
-                    <p style="color: #ff9900">说明:每类损失均含场站级月度/年度数据,与上年同期对比</p>
+                    <p style="color: #ff9900">说明:每类损失均含场站级月度数据,与上年同期对比</p>
                 </div>
 
                 <div class="section">
@@ -840,8 +840,8 @@ export default {
 
   mounted() {
     // this.funGetStation();
-    this.handleReportOp();
-    // this.renderReportPage(jsonData.data);
+    // this.handleReportOp();
+    this.renderReportPage(jsonData.data);
   },
 
   methods: {

+ 13 - 14
src/views/economicsOperation/windAnalyse/singleWindAnasyle/windDetailDialog.vue

@@ -1118,7 +1118,7 @@ export default {
           },
           {
             name: "描述",
-            field: "description",
+            field: "characteristic",
             is_num: false,
             is_light: false,
           },
@@ -1152,12 +1152,12 @@ export default {
             is_num: false,
             is_light: false,
           },
-        //   {
-        //     name: "停机时长(h)",
-        //     field: "stopHours",
-        //     is_num: false,
-        //     is_light: false,
-        //   },
+          {
+            name: "停机时长(h)",
+            field: "stopHours",
+            is_num: false,
+            is_light: false,
+          },
         ],
         data: [],
       },
@@ -1678,13 +1678,12 @@ export default {
         };
         await getApibjphlist(params).then(res =>{
             if (res) {
-                // res.sort((a, b) => {
-                //     return (
-                //         new Date(b.startTime).getTime() -
-                //         new Date(a.startTime).getTime()
-                //     );
-                // });
-                that.monthWarnRecordData.data = res;
+                res[0].NX_FGS_HAF01_LN.sort((a, b) => {
+                    return (
+                        b.count - a.count
+                    );
+                });
+                that.monthWarnRecordData.data = res[0].NX_FGS_HAF01_LN;
             }
         });