Browse Source

更改mantis链接地址并,更改外站跳转方式

hao lei 1 year ago
parent
commit
d130f025b3
2 changed files with 6 additions and 6 deletions
  1. 3 3
      src/components/MyLayout/index.vue
  2. 3 3
      src/components/SearchBar/index.vue

+ 3 - 3
src/components/MyLayout/index.vue

@@ -42,13 +42,13 @@ export default {
       }
       }
     },
     },
     goMantis() {
     goMantis() {
-      window.location.href = "http://139.196.158.57:8080/mantis/#/dashboard";
+      window.open("http://139.196.158.57:8080/mantis_test/#/dashboard", "_blank");
     },
     },
     goKpm() {
     goKpm() {
-      window.location.href = "http://106.14.237.165/kpm/#/list/kpm-list";
+      window.open("http://106.14.237.165/kpm/#/list/kpm-list", "_blank");
     },
     },
     goAutoGo() {
     goAutoGo() {
-      window.location.href = "http://139.196.158.57/#/Overview";
+      window.open("http://139.196.158.57/#/Overview", "_blank");
     },
     },
     goHome() {
     goHome() {
       window.location.href = "/?m=8b934420_ZJUb_b6f9";
       window.location.href = "/?m=8b934420_ZJUb_b6f9";

+ 3 - 3
src/components/SearchBar/index.vue

@@ -64,13 +64,13 @@ export default {
       }
       }
     },
     },
     goMantis() {
     goMantis() {
-      window.location.href = "http://139.196.158.57:8080/mantis/#/dashboard";
+      window.open("http://139.196.158.57:8080/mantis_test/#/dashboard", "_blank");
     },
     },
     goKpm() {
     goKpm() {
-      window.location.href = "http://106.14.237.165/kpm/#/list/kpm-list";
+      window.open("http://106.14.237.165/kpm/#/list/kpm-list", "_blank");
     },
     },
     goAutoGo() {
     goAutoGo() {
-      window.location.href = "http://139.196.158.57/#/Overview";
+      window.open("http://139.196.158.57/#/Overview", "_blank");
     },
     },
     goHome() {
     goHome() {
       window.location.href = "/?m=8b934420_ZJUb_b6f9";
       window.location.href = "/?m=8b934420_ZJUb_b6f9";