lining 3 年之前
父节点
当前提交
f5c767cc3c
共有 35 个文件被更改,包括 275 次插入137 次删除
  1. 0 0
      .env
  2. 1 0
      .env.development
  3. 1 0
      .env.eapi
  4. 1 0
      .env.production
  5. 1 1
      public/static/config/modeConfig.js
  6. 13 0
      src/api/economic/index.js
  7. 46 0
      src/tools/request.js
  8. 157 81
      src/views/Decision/Decision1.vue
  9. 5 5
      src/views/Decision/Decision1Mx.vue
  10. 5 5
      src/views/Decision/Decision2.vue
  11. 3 3
      src/views/Decision/Decision2Cjdb.vue
  12. 3 3
      src/views/Decision/Decision2Cndb.vue
  13. 6 6
      src/views/Decision/Decision2Xldb.vue
  14. 4 4
      src/views/Decision/Decision2Xmdb.vue
  15. 3 3
      src/views/Decision/Decision3.vue
  16. 4 4
      src/views/Decision/Decision3Db.vue
  17. 1 1
      src/views/Decision/Decision4.vue
  18. 2 2
      src/views/Decision/Decision4Czzl.vue
  19. 1 1
      src/views/HealthControl/assess/assessindex.vue
  20. 1 1
      src/views/HealthControl/assess/selfEvaluate.vue
  21. 2 2
      src/views/NewPages/power-benchmarking.vue
  22. 1 1
      src/views/alarmCenter/boosterAlarm.vue
  23. 1 1
      src/views/alarmCenter/customAlarm.vue
  24. 1 1
      src/views/alarmCenter/customStatistics.vue
  25. 1 1
      src/views/alarmCenter/scadaAlarm.vue
  26. 1 1
      src/views/malfunctionDiagnose/gzfl.vue
  27. 1 1
      src/views/malfunctionDiagnose/yjfl.vue
  28. 1 1
      src/views/nxfx/qxpclfx.vue
  29. 1 1
      src/views/sampleDatabase/fault/index - 副本.vue
  30. 1 1
      src/views/sampleDatabase/fault/point - 副本.vue
  31. 1 1
      src/views/sampleDatabase/performance/index.vue
  32. 2 2
      src/views/warn/czjl.vue
  33. 1 1
      src/views/warn/gfgj.vue
  34. 1 1
      src/views/warn/ztzhjl.vue
  35. 1 1
      src/views/windAnalysis/phdffx.vue

+ 0 - 0
.env


+ 1 - 0
.env.development

@@ -0,0 +1 @@
+VUE_APP_API=http://10.83.66.220:8020

+ 1 - 0
.env.eapi

@@ -0,0 +1 @@
+NODE_ENV=eapi

+ 1 - 0
.env.production

@@ -0,0 +1 @@
+VUE_APP_API=http://10.83.66.220:8020

+ 1 - 1
public/static/config/modeConfig.js

@@ -18,7 +18,7 @@ const adapterUrl = "http://10.155.32.4:8011/";
 if (localTest) {
     // baseURL = "http://192.168.10.13:8082/" // 联机调试 - 石林
     // baseURL = "http://10.155.32.33:9001/" // 联机调试 - 谢生杰
-    baseURL = "http://192.168.10.6:8082/" // 联机调试 - 王昌盛
+    baseURL = "http://10.83.66.220:8020/" // 联机调试 - 王昌盛
 
     tilesUrl = "http://localhost:8080/static/cesium/Assets/Textures/NaturalEarthII";
 } else {

+ 13 - 0
src/api/economic/index.js

@@ -0,0 +1,13 @@
+import request from "../../tools/request";
+//登陆
+const benchmarking = (data) => {
+    return request({
+        baseURL:process.env.VUE_APP_API,
+        url: `/consumer/benchmarking/fjjxb?wpids=${data.wpids}&projectids=${data.projectids}&lineids=${data.lineids}&beginDate=${data.beginDate}&endDate=${data.endDate}&type=${data.type}&target=${data.target}&sort=${data.sort}`,
+        method: "get",
+    });
+};
+
+export default {
+    benchmarking,
+}

+ 46 - 0
src/tools/request.js

@@ -0,0 +1,46 @@
+import axios from "axios";
+import store from '../store/index'
+// import { getToken } from "@/utils/storage";
+const service = axios.create();
+service.defaults.timeout = 50000;
+service.defaults.baseURL = `${process.env.VUE_APP_API}`
+service.interceptors.request.use(
+	config => {
+		config.headers = {
+			// Authorization: store.state.token,
+		}
+		return config;
+	},
+	error => {
+		return Promise.reject(error);
+	}
+);
+
+service.interceptors.response.use(
+	// Loading.close(),
+	response => {
+		// 处理正常返回数据
+		const { status } = response;
+		if (
+			status === 200
+		) {
+
+			return response;
+		} else {
+
+			return false;
+		}
+	},
+	error => {
+		// 处理错误并给出相应的错误处理
+		if (error.response) {
+			// const { status } = error.response;
+			// tips[status](error);
+			return error.response.data
+		} else {
+			return false;
+		}
+	}
+);
+
+export default service;

+ 157 - 81
src/views/Decision/Decision1.vue

@@ -94,7 +94,7 @@
           </div>
         </div>
       </div>
-      <div class="query-actions" style="margin-left:0px">
+      <div class="query-actions" style="margin-left: 0px">
         <button class="btn green">搜索</button>
         <button class="btn" @click="mxClick()">明细信息</button>
         <button class="btn" @click="exportExcel()">导出</button>
@@ -193,6 +193,7 @@ import SvgIcon from "../../components/coms/icon/svg-icon.vue";
 import ToolbarPanel from "../../components/coms/panel/toolbar-panel.vue";
 import Table from "./table.vue";
 import partten from "@/helper/partten.js";
+import api from "@api/economic/index.js";
 export default {
   components: {
     ToolbarPanel,
@@ -320,8 +321,8 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
-        subUrl: "benchmarking/wplist",
+        baseURL: "http://10.83.66.220:8020/",
+        subUrl: "/consumer/benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;
         },
@@ -339,8 +340,8 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
-        subUrl: "benchmarking/projectList",
+        baseURL: "http://10.83.66.220:8020/",
+        subUrl: "/consumer/benchmarking/projectList",
         data: {
           wpids: val,
         },
@@ -360,8 +361,8 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
-        subUrl: "benchmarking/lineList",
+        baseURL: "http://10.83.66.220:8020/",
+        subUrl: "/consumer/benchmarking/lineList",
         data: {
           projects: val,
         },
@@ -411,85 +412,160 @@ export default {
       }
     },
     AjaxCommon() {
-      var that = this;
-      that.API.requestData({
-        method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
-        subUrl: "benchmarking/fjjxb",
-        data: {
-          wpids: that.value1,
-          projectids: that.value2,
-          lineids: that.value3,
-          beginDate: that.value4,
-          endDate: that.value5,
-          type: that.TypeClass,
+      api.benchmarking({
+          wpids: this.value1,
+          projectids: this.value2,
+          lineids: this.value3,
+          beginDate: this.value4,
+          endDate: this.value5,
+          type: this.TypeClass,
           target: "",
           sort: "",
-        },
-        success(res) {
-          var name = [],
-            data = [],
-            llfdl = [],
-            legend = [
-              "实际电量",
-              "计划检修损失",
-              "非计划检修损失",
-              "限电损失",
-              "受累损失",
-              "性能损失",
-            ],
-            data2 = []; //项目列表
-          res.data.forEach((item, index) => {
-            name.push(item.name);
-            data.push([
-              item.sjfdl,
-              item.jhjx,
-              item.fjhjx,
-              item.xd,
-              item.sl,
-              item.xn,
-            ]);
-            llfdl.push(item.llfdl);
-            data2.push({
-              index: index + 1,
-              name: item.name,
-              llfdl: item.llfdl,
-              sjfdl: item.sjfdl,
-              speed: item.speed,
-              fjhjx: item.fjhjx,
-              jhjx: item.jhjx,
-              sl: item.sl,
-              xd: item.xd,
-              xn: item.xn,
-              fnlly: item.fnlly,
-              is_light: false,
-            });
-          });
-          name.pop();
-          data.pop();
-          llfdl.pop();
-          if (data.length > 0) {
-            let arr1 = [];
-            const length = data[0].length;
-            for (var i = 0; i < length; i++) {
-              let arr2 = [];
-              data.forEach((ele) => {
-                arr2.push(ele[i]);
+        }).then((res) => {
+          if (res) {
+            var name = [],
+              data = [],
+              llfdl = [],
+              legend = [
+                "实际电量",
+                "计划检修损失",
+                "非计划检修损失",
+                "限电损失",
+                "受累损失",
+                "性能损失",
+              ],
+              data2 = []; //项目列表
+            res.data.forEach((item, index) => {
+              name.push(item.name);
+              data.push([
+                item.sjfdl,
+                item.jhjx,
+                item.fjhjx,
+                item.xd,
+                item.sl,
+                item.xn,
+              ]);
+              llfdl.push(item.llfdl);
+              data2.push({
+                index: index + 1,
+                name: item.name,
+                llfdl: item.llfdl,
+                sjfdl: item.sjfdl,
+                speed: item.speed,
+                fjhjx: item.fjhjx,
+                jhjx: item.jhjx,
+                sl: item.sl,
+                xd: item.xd,
+                xn: item.xn,
+                fnlly: item.fnlly,
+                is_light: false,
               });
-              arr1.push(arr2);
+            });
+            name.pop();
+            data.pop();
+            llfdl.pop();
+            if (data.length > 0) {
+              let arr1 = [];
+              const length = data[0].length;
+              for (var i = 0; i < length; i++) {
+                let arr2 = [];
+                data.forEach((ele) => {
+                  arr2.push(ele[i]);
+                });
+                arr1.push(arr2);
+              }
+              this.lineData = llfdl;
+              this.bardata = {
+                area: name,
+                legend: legend,
+                data: arr1,
+              };
             }
-            that.lineData = llfdl;
-            that.bardata = {
-              area: name,
-              legend: legend,
-              data: arr1,
-            };
+            this.tableDataEnd = data2[data2.length - 1];
+            data2.pop();
+            this.tableData.data = data2;
           }
-          that.tableDataEnd = data2[data2.length - 1];
-          data2.pop();
-          that.tableData.data = data2;
-        },
-      });
+        });
+      // var that = this;
+      // that.API.requestData({
+      //   method: "GET",
+      //   baseURL: process.env.VUE_APP_API,
+      //   subUrl: "consumer/benchmarking/fjjxb",
+      //   data: {
+      //     wpids: that.value1,
+      //     projectids: that.value2,
+      //     lineids: that.value3,
+      //     beginDate: that.value4,
+      //     endDate: that.value5,
+      //     type: that.TypeClass,
+      //     target: "",
+      //     sort: "",
+      //   },
+      //   success(res) {
+          
+      //     var name = [],
+      //       data = [],
+      //       llfdl = [],
+      //       legend = [
+      //         "实际电量",
+      //         "计划检修损失",
+      //         "非计划检修损失",
+      //         "限电损失",
+      //         "受累损失",
+      //         "性能损失",
+      //       ],
+      //       data2 = []; //项目列表
+      //     res.data.forEach((item, index) => {
+      //       name.push(item.name);
+      //       data.push([
+      //         item.sjfdl,
+      //         item.jhjx,
+      //         item.fjhjx,
+      //         item.xd,
+      //         item.sl,
+      //         item.xn,
+      //       ]);
+      //       llfdl.push(item.llfdl);
+      //       data2.push({
+      //         index: index + 1,
+      //         name: item.name,
+      //         llfdl: item.llfdl,
+      //         sjfdl: item.sjfdl,
+      //         speed: item.speed,
+      //         fjhjx: item.fjhjx,
+      //         jhjx: item.jhjx,
+      //         sl: item.sl,
+      //         xd: item.xd,
+      //         xn: item.xn,
+      //         fnlly: item.fnlly,
+      //         is_light: false,
+      //       });
+      //     });
+      //     name.pop();
+      //     data.pop();
+      //     llfdl.pop();
+      //     if (data.length > 0) {
+      //       let arr1 = [];
+      //       const length = data[0].length;
+      //       for (var i = 0; i < length; i++) {
+      //         let arr2 = [];
+      //         data.forEach((ele) => {
+      //           arr2.push(ele[i]);
+      //         });
+      //         arr1.push(arr2);
+      //       }
+      //       that.lineData = llfdl;
+      //       that.bardata = {
+      //         area: name,
+      //         legend: legend,
+      //         data: arr1,
+      //       };
+      //     }
+      //     that.tableDataEnd = data2[data2.length - 1];
+      //     data2.pop();
+      //     that.tableData.data = data2;
+      //   },
+      // });
     },
     mxClick() {
       this.$router.push("/decision/decision1Mx");

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

@@ -322,7 +322,7 @@
 				var that = this;
 				that.API.requestData({
 					method: "GET",
-					baseURL: "http://10.155.32.4:9001/",
+					baseURL: "http://10.83.66.220:8020/",
 					subUrl: "benchmarking/wplist",
 					success(res) {
 						that.ChangZhan = res.data;
@@ -341,7 +341,7 @@
 				var that = this;
 				that.API.requestData({
 					method: "GET",
-					baseURL: "http://10.155.32.4:9001/",
+					baseURL: "http://10.83.66.220:8020/",
 					subUrl: "benchmarking/projectList",
 					data: {
 						wpids: val
@@ -362,7 +362,7 @@
 				var that = this;
 				that.API.requestData({
 					method: "GET",
-					baseURL: "http://10.155.32.4:9001/",
+					baseURL: "http://10.83.66.220:8020/",
 					subUrl: "benchmarking/lineList",
 					data: {
 						projects: val
@@ -415,8 +415,8 @@
 				var that = this;
 				that.API.requestData({
 					method: "GET",
-					baseURL: "http://10.155.32.4:9001/",
-					subUrl: "benchmarking/fjjxbmx",
+					baseURL: "http://10.83.66.220:8020/",
+					subUrl: "http://10.83.66.220:8020/mx",
 					data: {
 						wpids: that.value1,
 						projectids: that.value2,

+ 5 - 5
src/views/Decision/Decision2.vue

@@ -443,7 +443,7 @@ export default {
               // var that = this;
               that.API.requestData({
                 method: "GET",
-                baseURL: "http://10.155.32.4:9001/",
+                baseURL: "http://10.83.66.220:8020/",
                 subUrl: "benchmarking/details",
                 data: {
                   id: dataId,
@@ -726,7 +726,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
         //   that.value2.push(res.data[0].id);
@@ -751,7 +751,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/projectList",
         data: {
           wpids: val,
@@ -774,7 +774,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/lineList",
         data: {
           projects: val,
@@ -820,7 +820,7 @@ export default {
       that.API.requestData({
         //五项损失率
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wxssl",
         data: {
           wpids: that.value1,

+ 3 - 3
src/views/Decision/Decision2Cjdb.vue

@@ -397,7 +397,7 @@ export default {
               that.detailShow = 2;
               that.API.requestData({
                 method: "GET",
-                baseURL: "http://10.155.32.4:9001/",
+                baseURL: "http://10.83.66.220:8020/",
                 subUrl: "benchmarking/details",
                 data: {
                   id: dataId,
@@ -671,7 +671,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;
@@ -714,7 +714,7 @@ export default {
       that.API.requestData({
         //五项损失率
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/cjdb",
         data: {
           wpids: that.value1,

+ 3 - 3
src/views/Decision/Decision2Cndb.vue

@@ -376,7 +376,7 @@ export default {
               // var that = this;
               that.API.requestData({
                 method: "GET",
-                baseURL: "http://10.155.32.4:9001/",
+                baseURL: "http://10.83.66.220:8020/",
                 subUrl: "benchmarking/details",
                 data: {
                   id: dataId,
@@ -647,7 +647,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;
@@ -689,7 +689,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/cndb",
         data: {
           wpid: that.value1,

+ 6 - 6
src/views/Decision/Decision2Xldb.vue

@@ -431,7 +431,7 @@ export default {
               that.detailShow = 2;
               that.API.requestData({
                 method: "GET",
-                baseURL: "http://10.155.32.4:9001/",
+                baseURL: "http://10.83.66.220:8020/",
                 subUrl: "benchmarking/details",
                 data: {
                   id: dataId,
@@ -708,7 +708,7 @@ export default {
     this.value5 = this.getTime(2);
     that.API.requestData({
       method: "GET",
-      baseURL: "http://10.155.32.4:9001/",
+      baseURL: "http://10.83.66.220:8020/",
       subUrl: "benchmarking/wplist",
       success(res) {
         that.value1.push(res.data[0].id);
@@ -721,7 +721,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.oneData = res.data[0].id;
@@ -742,7 +742,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/projectList",
         data: {
           wpids: val,
@@ -763,7 +763,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/lineList",
         data: {
           projects: val,
@@ -810,7 +810,7 @@ export default {
       that.API.requestData({
         //五项损失率
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/xldb",
         data: {
           wpids: that.value1,

+ 4 - 4
src/views/Decision/Decision2Xmdb.vue

@@ -409,7 +409,7 @@ export default {
               // var that = this;
               that.API.requestData({
                 method: "GET",
-                baseURL: "http://10.155.32.4:9001/",
+                baseURL: "http://10.83.66.220:8020/",
                 subUrl: "benchmarking/details",
                 data: {
                   id: dataId,
@@ -680,7 +680,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;
@@ -699,7 +699,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/projectList",
         data: {
           wpids: val,
@@ -745,7 +745,7 @@ export default {
       that.API.requestData({
         //五项损失率
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/xmdb",
         data: {
           wpids: that.value1,

+ 3 - 3
src/views/Decision/Decision3.vue

@@ -785,7 +785,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;
@@ -832,7 +832,7 @@ export default {
       that.API.requestData({
         //五项损失率
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wxssl",
         data: {
           wpids: that.value1,
@@ -1104,7 +1104,7 @@ export default {
       that.detailShow = 2;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/details",
         data: {
           id: dataId,

+ 4 - 4
src/views/Decision/Decision3Db.vue

@@ -224,7 +224,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;
@@ -241,7 +241,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wtList",
         data: {
           wpid: val,
@@ -276,7 +276,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/" + that.ajaxName,
         data: {
           wpid: that.value1,
@@ -377,7 +377,7 @@ export default {
       });
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/djhxdbbottom",
         data: {
           wpid: that.value1,

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

@@ -218,7 +218,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/zjwxssl",
         data: {
           beginDate: that.value4,

+ 2 - 2
src/views/Decision/Decision4Czzl.vue

@@ -279,7 +279,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/zjlist",
         data: {
           beginDate: that.value4,
@@ -316,7 +316,7 @@ export default {
       that.tabsTit = that.tabsArr[direct - 1];
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/zjdrill",
         data: {
           beginDate: that.value4,

+ 1 - 1
src/views/HealthControl/assess/assessindex.vue

@@ -464,7 +464,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;

+ 1 - 1
src/views/HealthControl/assess/selfEvaluate.vue

@@ -397,7 +397,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;

+ 2 - 2
src/views/NewPages/power-benchmarking.vue

@@ -643,7 +643,7 @@ export default {
       let that = this;
       this.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/dbmainbottom",
         data: {
           timetype: timetype,
@@ -886,7 +886,7 @@ export default {
       let that = this;
       this.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/dbmaintop",
         data: {
           timetype: timetype,

+ 1 - 1
src/views/alarmCenter/boosterAlarm.vue

@@ -139,7 +139,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;

+ 1 - 1
src/views/alarmCenter/customAlarm.vue

@@ -161,7 +161,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;

+ 1 - 1
src/views/alarmCenter/customStatistics.vue

@@ -129,7 +129,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;

+ 1 - 1
src/views/alarmCenter/scadaAlarm.vue

@@ -260,7 +260,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;

+ 1 - 1
src/views/malfunctionDiagnose/gzfl.vue

@@ -88,7 +88,7 @@
 			var that = this;
 			that.API.requestData({
 				method: "GET",
-				baseURL: "http://10.155.32.4:9001/",
+				baseURL: "http://10.83.66.220:8020/",
 				subUrl: "benchmarking/wplist",
 				success(res) {
 					that.ChangZhan = res.data;

+ 1 - 1
src/views/malfunctionDiagnose/yjfl.vue

@@ -88,7 +88,7 @@
 			var that = this;
 			that.API.requestData({
 				method: "GET",
-				baseURL: "http://10.155.32.4:9001/",
+				baseURL: "http://10.83.66.220:8020/",
 				subUrl: "benchmarking/wplist",
 				success(res) {
 					that.ChangZhan = res.data;

+ 1 - 1
src/views/nxfx/qxpclfx.vue

@@ -221,7 +221,7 @@ export default {
       var that = this;
       that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;

+ 1 - 1
src/views/sampleDatabase/fault/index - 副本.vue

@@ -293,7 +293,7 @@
 				];
 				that.API.requestData({
 					method: "GET",
-					baseURL: "http://10.155.32.4:9001/",
+					baseURL: "http://10.83.66.220:8020/",
 					subUrl: "benchmarking/wplist",
 					success(res) {
 						that.ChangZhan = res.data;

+ 1 - 1
src/views/sampleDatabase/fault/point - 副本.vue

@@ -390,7 +390,7 @@
 				];
 				that.API.requestData({
 					method: "GET",
-					baseURL: "http://10.155.32.4:9001/",
+					baseURL: "http://10.83.66.220:8020/",
 					subUrl: "benchmarking/wplist",
 					success(res) {
 						that.ChangZhan = res.data;

+ 1 - 1
src/views/sampleDatabase/performance/index.vue

@@ -262,7 +262,7 @@ export default {
       ];
       await that.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
         success(res) {
           that.ChangZhan = res.data;

+ 2 - 2
src/views/warn/czjl.vue

@@ -147,7 +147,7 @@
 				if (that.wpId) {
 					that.API.requestData({
 						method: "GET",
-						baseURL: "http://10.155.32.4:9001/",
+						baseURL: "http://10.83.66.220:8020/",
 						subUrl: "benchmarking/wtList",
 						data: {
 							wpid
@@ -180,7 +180,7 @@
 				};
 				that.API.requestData({
 					showLoading:true,
-					baseURL: "http://10.155.32.4:9001/",
+					baseURL: "http://10.83.66.220:8020/",
 					subUrl: "operationrecord/czlb",
 					data,
 					success(res) {

+ 1 - 1
src/views/warn/gfgj.vue

@@ -114,7 +114,7 @@
 				var that = this;
 				that.API.requestData({
 					method: "GET",
-					baseURL: "http://10.155.32.4:9001/benchmarking/wpgflist",
+					baseURL: "http://10.83.66.220:8020/benchmarking/wpgflist",
 					success(res) {
 						that.ChangZhan = res.data;
 						that.wpId = res.data[0].id;

+ 1 - 1
src/views/warn/ztzhjl.vue

@@ -191,7 +191,7 @@
 				};
 				that.API.requestData({
 					showLoading:true,
-					baseURL: "http://10.155.32.4:9001/",
+					baseURL: "http://10.83.66.220:8020/",
 					subUrl: "operationrecord/zhlb",
 					data,
 					success(res) {

+ 1 - 1
src/views/windAnalysis/phdffx.vue

@@ -140,7 +140,7 @@ export default {
     async getStations() {
       const res = await this.API.requestData({
         method: "GET",
-        baseURL: "http://10.155.32.4:9001/",
+        baseURL: "http://10.83.66.220:8020/",
         subUrl: "benchmarking/wplist",
       });
       this.wpList = res.data.data;