温红权 7 лет назад
Родитель
Сommit
c1e54d5d1e
2 измененных файлов с 8 добавлено и 8 удалено
  1. 7 7
      VisualInspection/js/config.js
  2. 1 1
      VisualInspection/js/util/service.js

+ 7 - 7
VisualInspection/js/config.js

@@ -14,9 +14,9 @@ function getCurrentaddr() {
 
 function getserveraddr() {
     if (base_ui_url.indexOf("file_yanhai.jsxt.jsjtyxt.com") != -1) {
-        return "http://server_yanhai.jsxt.jsjtyxt.com/";
+        return "http://server_yanhai.jsxt.jsjtyxt.com:8283/";
     } else if (base_ui_url.indexOf("file_release_yanhai") != -1) {
-        return "http://server_release_yanhai.jsxt.jsjtyxt.com/";
+        return "http://server_release_yanhai.jsxt.jsjtyxt.com:8283/";
     } else if (base_ui_url.indexOf("localhost") != -1) {
         // return "http://server_release_yanhai.jsxt.jsjtyxt.com/"
         return "http://localhost:8089/"
@@ -31,9 +31,9 @@ function getserveraddr() {
 
 function getExcelServeraddr() {
     if (base_ui_url.indexOf("file_yanhai.jsxt.jsjtyxt.com") != -1) {
-        return "http://server_yanhai.jsxt.jsjtyxt.com/";
+        return "http://server_yanhai.jsxt.jsjtyxt.com:8283/";
     } else if (base_ui_url.indexOf("file_release_yanhai") != -1) {
-        return "http://server_release_yanhai.jsxt.jsjtyxt.com/";
+        return "http://server_release_yanhai.jsxt.jsjtyxt.com:8283/";
     } else if (base_ui_url.indexOf("localhost") != -1) {
         // return "http://server_release_yanhai.jsxt.jsjtyxt.com/"
         return "http://localhost:9000/"
@@ -48,9 +48,9 @@ function getExcelServeraddr() {
 
 function getImageaddr() {
     if (base_ui_url.indexOf("file_yanhai.jsxt.jsjtyxt.com") != -1) {
-        return "http://file_release_yanhai.jsxt.jsjtyxt.com/";
+        return "http://file_release_yanhai.jsxt.jsjtyxt.com:8283/";
     } else if (base_ui_url.indexOf("file_release_yanhai") != -1) {
-        return "http://file_release_yanhai.jsxt.jsjtyxt.com/";
+        return "http://file_release_yanhai.jsxt.jsjtyxt.com:8283/";
     } else if (base_ui_url.indexOf("localhost") != -1) {
         // return "http://10.112.0.199:7000/"
         return "http://localhost:8081/";
@@ -65,7 +65,7 @@ function getImageaddr() {
 
 function getTaskaddr() {
     if (base_ui_url.indexOf("jsjtyxt.com") != -1) {
-        return "http://task_yanhai.jsxt.jsjtyxt.com/";
+        return "http://task_yanhai.jsxt.jsjtyxt.com:8283/";
     } else if (base_ui_url.indexOf("localhost") != -1) {
         // return "http://10.112.0.199:8099/"
         return "http://localhost:8099/"

+ 1 - 1
VisualInspection/js/util/service.js

@@ -520,6 +520,6 @@ function RoleGetALL(page, size, success, fail) {
     });
 }
 
-function gohome(){
+function gohome() {
     window.location.href = base_ui_url + "view/new.html?time=" + (Date.parse(new Date()));
 }