SunZehao 2 nedēļas atpakaļ
vecāks
revīzija
ed3731d00c

+ 15 - 3
src/views/economicsOperation/windAnalyse/cutInAndOutAnalysis/historyDetail.vue

@@ -83,6 +83,14 @@
         >
         </el-table-column>
         <el-table-column
+          align="center"
+          prop="showDate"
+          label="日期"
+          width="200"
+          fixed="left"
+        >
+        </el-table-column>
+        <el-table-column
           v-for="(item, index) in tableHeader"
           :key="index"
           sortable
@@ -121,7 +129,8 @@ import {
   getApiwpByCplistlist,
 } from "@/api/monthlyPerformanceAnalysis";
 import utils from "@/utills/downXlsx";
-import dataJson from "./dataJson.json"
+import dataJson from "./dataJson.json";
+import dayjs from "dayjs";
 export default {
   props: {
     historyCompanyOptions: {
@@ -229,9 +238,12 @@ export default {
         wpId: this.hisstationVal,
         wtId: this.hiswindId,
       };
-    //   this.historycutInAndOutData = dataJson.data.data.records;
-    //   this.page.total = dataJson.data.data.total;
+      //   this.historycutInAndOutData = dataJson.data.data.records;
+      //   this.page.total = dataJson.data.data.total;
       const { data: datas } = await getApioutputSpeedhistorylist(params);
+      datas.data.records.forEach((it) => {
+        it.showDate = dayjs(it.recordDate).format("YYYY-MM-DD");
+      });
       this.historycutInAndOutData = datas.data.records;
       this.page.total = datas.data.total;
     },

+ 4 - 4
src/views/economicsOperation/windAnalyse/singleWindAnasyle/historyDetail.vue

@@ -169,13 +169,13 @@ export default {
         // { title: "年报警次数", code: "nbjcs" },
         { title: "日停机次数", code: "rtjcs" },
         { title: "月停机次数", code: "ytjcs" },
-        { title: "年停机数", code: "ntjcs" },
+        { title: "年停机数", code: "ntjcs" },
         // { title: "日不饱和数", code: "rbbhcs" },
         // { title: "月不饱和数", code: "ybbhcs" },
         // { title: "年不饱和数", code: "nbbhcs" },
-        { title: "日可利用率", code: "rsbklyl" },
-        { title: "月可利用率", code: "ysbklyl" },
-        { title: "年可利用率", code: "nsbklyl" },
+        { title: "日设备可利用率", code: "rsbklyl" },
+        { title: "月设备可利用率", code: "ysbklyl" },
+        { title: "年设备可利用率", code: "nsbklyl" },
         { title: "日平均温度", code: "rpjwd" },
         { title: "月平均温度", code: "ypjwd" },
         { title: "年平均温度", code: "npjwd" },