SunZehao 2 éve
szülő
commit
394531e0fb
3 módosított fájl, 18 hozzáadás és 18 törlés
  1. 3 3
      .env.development
  2. 5 5
      .env.production
  3. 10 10
      src/components/allMatrices.vue

+ 3 - 3
.env.development

@@ -1,5 +1,5 @@
-VUE_APP_API=http://18.6.30.63:8099
-VUE_APP_SHARDINGURL=http://18.6.30.63:8075
+VUE_APP_API=http://18.6.30.71:8099
+VUE_APP_SHARDINGURL=http://18.6.30.71:8075
 VUE_APP_ADAPTERURL=http://18.6.30.71:8011
-VUE_APP_APIS=18.6.30.63:8099
+VUE_APP_APIS=18.6.30.71:8099
 VUE_APP_ADAPTERURLS=18.6.30.71:8011

+ 5 - 5
.env.production

@@ -1,5 +1,5 @@
-VUE_APP_API=http://18.6.30.63:8099
-VUE_APP_SHARDINGURL=http://18.6.30.63:8075
-VUE_APP_ADAPTERURL=http://18.6.30.63:8011
-VUE_APP_APIS=18.6.30.63:8099
-VUE_APP_ADAPTERURLS=18.6.30.63:8011
+VUE_APP_API=http://18.6.30.71:8099
+VUE_APP_SHARDINGURL=http://18.6.30.71:8075
+VUE_APP_ADAPTERURL=http://18.6.30.71:8011
+VUE_APP_APIS=18.6.30.71:8099
+VUE_APP_ADAPTERURLS=18.6.30.71:8011

+ 10 - 10
src/components/allMatrices.vue

@@ -164,23 +164,21 @@
               <div class="stationInfo">
                 <div class="name">实时功率</div>
                 <div class="nums">
-                  <!-- {{
+                  {{
                       $store.state.titleInfo.stationOverviewInfos[
-                        item[0].stationId
+                        item[0].station
                       ]?.realTimePower?.value.toFixed(2)
-                  }}MW -->
-                  {{getseeting($store.state.titleInfo.stationOverviewInfos, item[0], 'power')}}MW
+                  }}MW
                 </div>
               </div>
               <div class="stationInfo">
                 <div class="name">日照强度</div>
                 <div class="nums">
-                  <!-- {{
+                  {{
                       $store.state.titleInfo.stationOverviewInfos[
-                        item[0].stationId
+                        item[0].station
                       ]?.averageWindSpeed?.value.toFixed(2)
-                  }}m/s -->
-                  {{getseeting($store.state.titleInfo.stationOverviewInfos, 'wind')}}m/s
+                  }}KW/㎡
                 </div>
               </div>
             </div>
@@ -730,7 +728,8 @@ export default {
                 this.stationObj[key] = [];
             }
             this.windterbin = msg;
-            let arr = Object.keys(msg).sort();
+            // let arr = Object.keys(msg).sort();
+            let arr = Object.keys(msg);
             for (const id of arr) {
                 let val = msg[id];
                 
@@ -772,7 +771,8 @@ export default {
             }
             this.current === "all" &&
                 (this.cache = JSON.parse(JSON.stringify(this.stationObj)));
-            let list = Object.keys(this.stationObj).sort();
+            // let list = Object.keys(this.stationObj).sort();
+            let list = Object.keys(this.stationObj);
             for (const id of list) {
                 stationArr.push(this.stationObj[id]);
             }