sunzehao пре 1 месец
родитељ
комит
199e818f49

+ 32 - 32
src/views/IntegratedAlarm/reliability/partsTemperatureAnalyse/index2.vue

@@ -280,38 +280,38 @@ export default {
           }
         })
         .catch(() => {
-          this.contentList = dataJson.data;
-          this.tableData = new Array(25).fill({
-            code: "HA01-01",
-            status: 2,
-            windSpeed: 2.5,
-            power: 448.0,
-            rollSpeed: 1478.0,
-            ylcwd: 35.0,
-            clxcwd: 36.0,
-            tdgwd: 36.0,
-            jcgwd: 38.0,
-            jcwd: 36.0,
-            hhwd: 36.0,
-            hjwd: 36.0,
-            U1rzwd: 36.0,
-            U2rzwd: 50.0,
-            V1rzwd: 36.0,
-            V2rzwd: 69.0,
-            W1rzwd: 36.0,
-            W2rzwd: 36.0,
-            zawd: 36.0,
-            zbwd: 58.0,
-            dcg1wd: 36.0,
-            dcg2wd: 39.0,
-            dcg3wd: 36.0,
-            yl: 28.0,
-            yw: 96.0,
-            rkyw: 36.0,
-            clxyw: 78.0,
-            clxz1wd: 36.0,
-            clxz2wd: 34.0,
-          });
+        //   this.contentList = dataJson.data;
+        //   this.tableData = new Array(25).fill({
+        //     code: "HA01-01",
+        //     status: 2,
+        //     windSpeed: 2.5,
+        //     power: 448.0,
+        //     rollSpeed: 1478.0,
+        //     ylcwd: 35.0,
+        //     clxcwd: 36.0,
+        //     tdgwd: 36.0,
+        //     jcgwd: 38.0,
+        //     jcwd: 36.0,
+        //     hhwd: 36.0,
+        //     hjwd: 36.0,
+        //     U1rzwd: 36.0,
+        //     U2rzwd: 50.0,
+        //     V1rzwd: 36.0,
+        //     V2rzwd: 69.0,
+        //     W1rzwd: 36.0,
+        //     W2rzwd: 36.0,
+        //     zawd: 36.0,
+        //     zbwd: 58.0,
+        //     dcg1wd: 36.0,
+        //     dcg2wd: 39.0,
+        //     dcg3wd: 36.0,
+        //     yl: 28.0,
+        //     yw: 96.0,
+        //     rkyw: 36.0,
+        //     clxyw: 78.0,
+        //     clxz1wd: 36.0,
+        //     clxz2wd: 34.0,
+        //   });
         });
     },
     closed() {

+ 16 - 16
src/views/IntegratedAlarm/safe/components/safecomponent.vue

@@ -248,22 +248,7 @@ export default {
 
   data() {
     return {
-      alarmList: [
-        {
-          tsName: "06-11 12:00:00",
-          wpName: "风电场1",
-          deviceName: "#36",
-          description: "变频器报告电网已接入",
-          isClose: true,
-        },
-        {
-          tsName: "06-11 12:00:00",
-          wpName: "风电场2",
-          deviceName: "#58",
-          description: "风机等待运行就绪",
-          isClose: false,
-        },
-      ],
+      alarmList: [],
       iconfontsObj: {
         booststation: "iconIOTtubiao_huabanfuben",
         windturbine: "iconfengji",
@@ -317,6 +302,21 @@ export default {
                 this.dialogTableData = dialogTableData;
             }
             // this.fullTableData = fullTableData;
+        } else {
+            this.alarmList = [{
+          tsName: "06-11 12:00:00",
+          wpName: "风电场1",
+          deviceName: "#36",
+          description: "变频器报告电网已接入",
+          isClose: true,
+        },
+        {
+          tsName: "06-11 12:00:00",
+          wpName: "风电场2",
+          deviceName: "#58",
+          description: "风机等待运行就绪",
+          isClose: false,
+        }]
         }
       
     },