SunZehao hai 2 meses
pai
achega
8823de0ba3

+ 1 - 1
src/components/windDetail/dataJson.json

@@ -5,7 +5,7 @@
                 {
                     "name": "AI值1",
                     "value": 10.2,
-                    "valueUnit": "%"
+                    "valueUnit": "KN · m"
                 },
                 {
                     "name": "AI值2",

+ 5 - 5
src/components/windDetail/index.vue

@@ -655,10 +655,10 @@ export default {
     },
   },
   mounted() {
-    // this.$nextTick(() =>{
-    //     this.partAInfos = dataJson.data.partAInfos
-    // this.partDInfos = dataJson.data.partDInfos
-    // })
+    // this.$nextTick(() => {
+    //   this.partAInfos = dataJson.data.partAInfos;
+    //   this.partDInfos = dataJson.data.partDInfos;
+    // });
 
     this.timer = setInterval(() => {
       if (Object.keys(this.windInfo).length) {
@@ -1635,7 +1635,7 @@ export default {
                 font-weight: 400;
                 color: #817c7c;
                 margin-left: 5px;
-                width: 40px;
+                width: 55px;
               }
 
               &.round {

+ 15 - 9
src/views/IntegratedAlarm/DetailMatrix/index.vue

@@ -235,7 +235,10 @@
       </div>
       <!-- 风电场/光电站列表 height="calc(100% - 72px)"-->
       <el-scrollbar height="95%">
-        <div class="matrix-box"  :style="isFullScreen ? 'height: 90vh' : 'height: 94vh'">
+        <div
+          class="matrix-box"
+          :style="isFullScreen ? 'height: 90vh' : 'height: 94vh'"
+        >
           <!-- 单个风场/电站 -->
           <div
             class="matrixs"
@@ -318,7 +321,10 @@
                   class="c"
                   @click="handleLeftClick(val, value.czlx, value.wpid)"
                 >
-                  <img src="@assets/images/ugly.gif" v-if="val.status === 0 || val.status === 1" />
+                  <img
+                    src="@assets/images/ugly.gif"
+                    v-if="val.status === 0 || val.status === 1"
+                  />
                   <img src="@assets/images/ugly.png" v-else />
                 </div>
                 <div class="r" :class="stateMap[val.status]">
@@ -671,7 +677,7 @@ export default {
   // 数据
   data() {
     return {
-        isFullScreen: false,
+      isFullScreen: false,
       switchtToUglyMode: 1,
       loading: false,
       warnDialog: false,
@@ -1187,16 +1193,16 @@ export default {
 
   mounted() {
     const clientHeight =
-    document.documentElement.clientHeight || document.body.clientHeight;
+      document.documentElement.clientHeight || document.body.clientHeight;
     if (clientHeight === 1080) {
-    this.isFullScreen = true;
+      this.isFullScreen = true;
     } else {
-    this.isFullScreen = false;
+      this.isFullScreen = false;
     }
     window.onresize = () => {
-    const clientHeight =
+      const clientHeight =
         document.documentElement.clientHeight || document.body.clientHeight;
-    this.isFullScreen = window.screen.height == clientHeight;
+      this.isFullScreen = window.screen.height == clientHeight;
     };
     // this.changeData(true, dataJson.data);
     this.requestData(true);
@@ -1471,7 +1477,7 @@ export default {
   flex-direction: column;
 
   .matrix-body {
-  margin-top: 20px;
+    margin-top: 20px;
     display: flex;
     flex-direction: column;
     height: 100%;

+ 1 - 1
src/views/IntegratedAlarm/reliability/historyAnalyse/index.vue

@@ -360,7 +360,7 @@ const windName = ref([]);
 
 const query = reactive({
   page: 1,
-  limit: 6,
+  limit: 1,
   pageTotal: 0,
 });
 const state = reactive({