chenminghua před 3 roky
rodič
revize
e85be57519

+ 2 - 3
src/views/totalCurve/chart.vue

@@ -196,6 +196,7 @@ export default {
         method: "POST",
         baseURL: "http://192.168.1.18:9002/",
         subUrl: "scatter/list",
+        showLoading: true,
         data: {
           station: that.station,
           wtId: that.wtId,
@@ -314,9 +315,7 @@ export default {
           category: "1",
         });
       });
-
       this.BASE.showLoading();
-
       axios({
         method: "post",
         url: "http://192.168.1.18:9002/case/fault/insert",
@@ -331,7 +330,7 @@ export default {
             type: "success",
             msg: "保存成功",
           });
-          that.closeLoading();
+          that.BASE.closeLoading();
         }
       });
     },

+ 3 - 12
src/views/totalCurve/dataDispose.vue

@@ -137,39 +137,30 @@
           <el-table-column
             prop="time"
             label="时间"
-            width="200px"
-            align="center"
-          ></el-table-column>
-          <el-table-column
-            prop="windturbineid"
-            label="风机"
-            sortable
             align="center"
           ></el-table-column>
           <el-table-column
             prop="power"
             label="风机功率"
-            width="200px"
             sortable
             align="center"
           ></el-table-column>
           <el-table-column
             prop="speed"
             label="风机风速"
-            width="200px"
             sortable
             align="center"
           ></el-table-column>
           <el-table-column
             prop="rotate"
             label="风机发电机转速"
-            width="200px"
             sortable
             align="center"
           ></el-table-column>
           <el-table-column
             prop="status"
             label="风机状态"
+            width="100px"
             sortable
             align="center"
           ></el-table-column>
@@ -182,20 +173,19 @@
           <el-table-column
             prop="curveoffset"
             label="欠发状态"
+            width="100px"
             sortable
             align="center"
           ></el-table-column>
           <el-table-column
             prop="direction"
             label="风向"
-            width="200px"
             sortable
             align="center"
           ></el-table-column>
           <el-table-column
             prop="angle"
             label="对风角度"
-            width="200px"
             sortable
             align="center"
           ></el-table-column>
@@ -425,6 +415,7 @@ export default {
         method: "GET",
         baseURL: "http://192.168.1.18:9002/",
         subUrl: "powercurve/list",
+        showLoading: true,
         data: {
           station: that.changzhan,
           wtid: that.fengji,