diff --git a/.beagle/nginx.conf b/.beagle/nginx.conf
index a540e85c0226e5812e8e54fe40862dfd48acc996..a00f0a006d93fa5d506a27e2e389a9502bfb7e83 100644
--- a/.beagle/nginx.conf
+++ b/.beagle/nginx.conf
@@ -28,11 +28,11 @@ http {
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
- location /apaas/ui {
+ location /so/manage/ui {
root /usr/share/nginx/html;
index index.html index.htm;
- try_files $uri $uri/ /apaas/ui/index.html;
+ try_files $uri $uri/ /so/manage/ui/index.html;
}
}
diff --git a/index.html b/index.html
index b91f9d96746006433da626cb28a3b799f1a55769..4e75c2d7d33a964e839cb17efa86a5daa102dc85 100644
--- a/index.html
+++ b/index.html
@@ -4,7 +4,7 @@
-
BD-aPaas
+ 智能运维管理平台
diff --git a/src/components/bg-menu.vue b/src/components/bg-menu.vue
index 33ddadaa87d0e5197ed1df87b0b0ae2a2854aa70..f55a17a725bd06117766a3ef0f0dc3f0838f9b77 100644
--- a/src/components/bg-menu.vue
+++ b/src/components/bg-menu.vue
@@ -150,7 +150,7 @@ export default {
this.$router.push(path);
},
gotoPage() {
- window.open("/apaas/portal/ui/#/", "_blank");
+ window.open("/so/manage/ui/#/", "_blank");
},
changezz(item) {
this.$trace.setOptionValue("appID", item.value);
@@ -174,7 +174,7 @@ export default {
if (n == "logout") {
this.$axios.post(`/apaas/system/v5/user/logout`).then((res) => {
if (res.data.code == "200") {
- window.location.href = `/apaas/manage/ui/#/login`;
+ window.location.href = `/so/manage/ui/#/login`;
this.$store.commit("setUserInfo", null);
clearCookie("bgToken");
this.$message.success("退出成功");
@@ -185,7 +185,7 @@ export default {
});
} else if (n == "login") {
let path = this.$route.path;
- window.location.href = `/apaas/manage/ui/#/login?redirect=${path}`;
+ window.location.href = `/so/manage/ui/#/login?redirect=${path}`;
} else {
//是否有子路由,有则寻找子路由的第一个进行跳转,无则直接进行跳转
//使用childMenuAction是模拟template中,子路径点击跳转使用childMenuAction,
diff --git a/src/page/login/index1.vue b/src/page/login/index1.vue
index 03fc8bc11e44b10c7d6e2e0e1551547b93dd5b12..d1d9d7a628d1c49e0bbd3462b3a73c0fb8a7453a 100644
--- a/src/page/login/index1.vue
+++ b/src/page/login/index1.vue
@@ -92,7 +92,7 @@ export default {
generateRoutes()
// this.$router.push("/");
//跳转到工作台页面
- window.location.href = '/apaas/portal/ui/#/'
+ window.location.href = '/so/manage/ui/#/'
}
});
},
diff --git a/src/request/http.js b/src/request/http.js
index 88050eee90eb87d16905dbb9b4966d9484a93f61..5be5a78def497e6299489c3cfdb1e3fd33303715 100644
--- a/src/request/http.js
+++ b/src/request/http.js
@@ -28,7 +28,7 @@ const toLogin = () => {
let path = router.currentRoute.value.path;
//白名单中的401不做跳转
if (!store.state.whiteList.includes(path)) {
- window.location.href = `/apaas/manage/ui/#/login`;
+ window.location.href = `/so/manage/ui/#/login`;
}
// router.replace({
// path: '/login',
diff --git a/vite.config.js b/vite.config.js
index 47d2e4fa36e4be592b39fb13d1502600330a7c93..b555bb8df7e4dab5f1aa55964db8ddbcb364e9a2 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -10,7 +10,7 @@ function resolve_path(dir) {
export default {
plugins: [vue()],
//本地运行基础路径,如:http://localhost:5173/apaas/ui/
- base: "/apaas/manage/ui/",
+ base: "/so/manage/ui/",
clearScreen: false,
resolve: {
//别名,代码引入时方便引入
@@ -68,7 +68,7 @@ export default {
},
},
build: {
- outDir: "dist/apaas/manage/ui", //打包输出文件夹
+ outDir: "dist/so/manage/ui", //打包输出文件夹
assetsDir: "static", //打包输出静态文件
},
};