SunZehao hace 4 días
padre
commit
5594335a82
Se han modificado 4 ficheros con 10 adiciones y 4 borrados
  1. 3 0
      .env.development
  2. 3 0
      .env.production
  3. 1 1
      src/App.vue
  4. 3 3
      src/views/layout/nxfHeader.vue

+ 3 - 0
.env.development

@@ -23,6 +23,9 @@ VUE_APP_API=http://10.220.1.5:6060
 VUE_APP_URL=http://127.0.0.1:8080
 # VUE_APP_URL=https://10.112.33.5:5300
 
+VUE_APP_URL2=http://127.0.0.1:8080
+# VUE_APP_URL2=http://10.112.33.5:8081
+
 VUE_APP_REPORT=http://10.220.1.5:8001
 # VUE_APP_REPORT=https://10.112.33.5:8001
 

+ 3 - 0
.env.production

@@ -32,6 +32,9 @@ VUE_APP_API=http://10.112.33.5:6060
 # VUE_APP_URL=https://10.220.1.5:5300
 VUE_APP_URL=https://10.112.33.5:5300
 
+# VUE_APP_URL2=http://10.220.1.5:8080
+VUE_APP_URL2=http://10.112.33.5:8081
+
 # VUE_APP_REPORT=http://10.220.1.5:8001
 VUE_APP_REPORT=http://10.112.33.5:8001
 

+ 1 - 1
src/App.vue

@@ -647,7 +647,7 @@ export default {
         if (path.indexOf("economicsOperation") > -1) {
           str = "padding-left: 220px";
         } else if (path.indexOf("nxreport") > -1) {
-          str = "padding-left: 280pxh";
+          str = "padding-left: 280px";
         } else if (path.indexOf("integratedAlarm") > -1) {
           str = "padding-left: 220px";
         }

+ 3 - 3
src/views/layout/nxfHeader.vue

@@ -51,7 +51,7 @@ export default {
           id: "3",
           text: "预警系统",
           path:
-            process.env.VUE_APP_URL +
+            process.env.VUE_APP_URL2 +
             // "/index.html/#/runtime/b0d3f1f4-3e5d-429b-af81-2661e7099caa/3ab0f63d-669b-a119-1eb7-b85fbb6b07bc?instanceId=465034a6-24c1-c0aa-a480-16c7ea65e216",
             "/#/integratedAlarm",
           isActive: true,
@@ -87,7 +87,7 @@ export default {
           id: "7",
           text: "经济运行",
           path:
-            process.env.VUE_APP_URL +
+            process.env.VUE_APP_URL2 +
             // "/index.html/#/runtime/b0d3f1f4-3e5d-429b-af81-2661e7099caa/b26fc778-e388-c9b6-9ee3-505a7b96dbfc?instanceId=8015e62d-b833-966a-220f-900ad1eb53ad",
             "/#/economicsOperation",
           isActive: false,
@@ -96,7 +96,7 @@ export default {
           id: "8",
           text: "智能报表",
           path:
-            process.env.VUE_APP_URL +
+            process.env.VUE_APP_URL2 +
             // "/index.html/#/runtime/b0d3f1f4-3e5d-429b-af81-2661e7099caa/862c8272-8cf8-435c-b3fc-b28936b4bfe0?instanceId=387b6bac-1dcc-fda6-b31e-c56518fc08ee",
             "/#/nxreport/scrb/fdcscrb",
           isActive: false,