蒋珅 1 rok temu
rodzic
commit
f2492304d7

+ 1 - 1
src/views/Decision/Decision1.vue

@@ -357,7 +357,7 @@
 				var that = this;
 				that.API.requestData({
 					method: "GET",
-					baseURL: "http://192.168.1.67:8133/",
+					baseURL: "http://192.168.1.68:8133/",
 					subUrl: "benchmarking/fjjxb",
 					data: {
 						wpids: that.value1,

+ 1 - 1
src/views/Decision/Decision1Mx.vue

@@ -416,7 +416,7 @@
 				var that = this;
 				 that.API.requestData({
 					method: "GET",
-					baseURL: "http://192.168.1.67:8133/",
+					baseURL: "http://192.168.1.68:8133/",
 					subUrl: "benchmarking/fjjxb",
 					data: {
 						wpids: that.value1,

+ 2 - 2
src/views/Home/Home.vue

@@ -1225,8 +1225,8 @@ export default {
       let that = this;
       that.API.requestData({
         method: "GET",
-        // baseURL: "http://192.168.10.24:8021/",
-        baseURL: "http://192.168.1.67:8021/",
+        // baseURL: "http://192.168.1.68:8021/",
+        baseURL: "http://192.168.1.68:8021/",
         subUrl: "meterinfoAll",
         data: {
           id: that.wpId,

+ 1 - 1
src/views/Others/index.vue

@@ -140,7 +140,7 @@
             <div
               class="sjcx-item"
             >
-              <div class="sjcx-name"><a href="http://192.168.1.67:8301/" >查询所有场站数据</a></div>
+              <div class="sjcx-name"><a href="http://192.168.1.68:8301/" >查询所有场站数据</a></div>
               <!-- <div class="sjcx-value"><a href="http://192.168.10.10:3000/">查询所有场站数据</a></div> -->
             </div>
           </div>

+ 2 - 1
src/views/WindSite/components/boosterstation/ak.vue

@@ -4965,7 +4965,7 @@
       custom-class="modal"
       :close-on-click-modal="false"
     >
-      <nbq-screen :datas="ajaxData" />
+      <nbq-screen :nbqIndex="nbqIndex" :datas="ajaxData" />
     </el-dialog>
     <!-- agc信息图 -->
     <el-dialog
@@ -5067,6 +5067,7 @@ export default {
     },
     funClickNBQ(nbqString){
       this.nbqIndex = nbqString
+      console.log(nbqString);
       this.nbqVisble = true
     },
     // 获取组件属性

+ 16 - 4
src/views/sisView/index.vue

@@ -45,7 +45,7 @@
           <div class="itemNum">{{ items.njhdl }}</div>
           <div class="itemUnit">万kWh</div>
           <div class="itemName size5">年完成率</div>
-          <div class="itemNum">{{ items.nwcl }}</div>
+          <div class="itemNum">{{ nwc }}</div>
           <div class="itemUnit">%</div>
         </div>
         <div class="contentItem">
@@ -56,7 +56,7 @@
           <div class="itemNum">{{ items.yjhdl }}</div>
           <div class="itemUnit">万kWh</div>
           <div class="itemName size5">月完成率</div>
-          <div class="itemNum">{{ items.ywcl }}</div>
+          <div class="itemNum">{{ ywc}}</div>
           <div class="itemUnit">%</div>
         </div>
         <div class="contentItem">
@@ -318,6 +318,8 @@ export default {
       items: {},
       little:{},
       mine:{},
+      nwc:"",
+      ywc:"",
       timmer: null,
     };
   },
@@ -332,6 +334,7 @@ export default {
           .css("height", viewTitle.eq(i).parent(".viewItem").css("height"));
       }
     },
+  
 
     viewAjax() {
       let that = this;
@@ -357,7 +360,7 @@ export default {
       let that = this;
       that.API.requestData({
         method: "GET",
-        subUrl: "http://192.168.1.67:8021/meterinfoAll/sisView",
+        subUrl: "http://192.168.1.68:8021/meterinfoAll/sisView",
         success(res) {
           let keys=Object.keys(res.data)
           let items=res.data
@@ -377,7 +380,7 @@ export default {
       let that = this;
       that.API.requestData({
         method: "GET",
-        subUrl: "http://192.168.1.67:8133/powergen/lost",
+        subUrl: "http://192.168.1.68:8133/powergen/lost",
         success(res) {
           let keys = Object.keys(res.data);
           let items = res.data;
@@ -392,17 +395,26 @@ export default {
         },
       });
     },
+      nn(){
+      this.nwc=((this.little.nfdl/this.items.njhdl)*100).toFixed(2)
+      this.ywc=((this.little.yfdl/this.items.yjhdl)*100).toFixed(2)
+      console.log(this.nwc);
+      console.log(this.ywc);
+    },
   },
 
   created() {
     this.viewAjax();
     this.viewAjax1()
     this.viewAjax2()
+    
     this.timmer = setInterval(() => {
       this.viewAjax();
       this.viewAjax1()
       this.viewAjax2()
+      this.nn()
     }, 6000);
+    this.nn()
   },
 
   mounted() {