From 28dc34078023fda01762f0489eb976eba60b3f66 Mon Sep 17 00:00:00 2001 From: zzyuan <781948537@qq.com> Date: Fri, 12 Dec 2025 18:29:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/layout/components/Navbar.vue | 2 +- src/layout/index.vue | 2 +- src/router/index.js | 2 +- src/utils/request.js | 2 +- .../certificateManage/certificateInfo/index.vue | 4 ++-- .../certificateReturnManage/certificateTask/index.vue | 2 +- src/views/system/user/index.vue | 11 ++++++----- vue.config.js | 6 +++--- 8 files changed, 16 insertions(+), 15 deletions(-) diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index f691a3d..a38bf2a 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -108,7 +108,7 @@ export default { type: 'warning' }).then(() => { this.$store.dispatch('LogOut').then(() => { - location.href = '/glweb/'; + location.href = '/certificateWeb/'; }) }).catch(() => {}); } diff --git a/src/layout/index.vue b/src/layout/index.vue index 353ae37..694d32f 100644 --- a/src/layout/index.vue +++ b/src/layout/index.vue @@ -162,7 +162,7 @@ export default { }, close() { this.$store.dispatch('LogOut').then(() => { - location.href = '/glweb/'; + location.href = '/certificateWeb/'; }) }, diff --git a/src/router/index.js b/src/router/index.js index 7333ed9..e5663b3 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -220,6 +220,6 @@ Router.prototype.replace = function push(location) { export default new Router({ mode: 'hash', // 去掉url中的# scrollBehavior: () => ({ y: 0 }), - // base:"/glweb/", + // base:"/certificateWeb/", routes: constantRoutes, }) diff --git a/src/utils/request.js b/src/utils/request.js index a14a700..500210d 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -120,7 +120,7 @@ service.interceptors.response.use(res => { }).then(() => { isRelogin.show = false store.dispatch('LogOut').then(() => { - location.href = '/glweb/' + location.href = '/certificateWeb/' }) }).catch(() => { isRelogin.show = false diff --git a/src/views/certificate/certificateManage/certificateInfo/index.vue b/src/views/certificate/certificateManage/certificateInfo/index.vue index 342885c..8b21e6e 100644 --- a/src/views/certificate/certificateManage/certificateInfo/index.vue +++ b/src/views/certificate/certificateManage/certificateInfo/index.vue @@ -217,7 +217,7 @@ - + @@ -847,7 +847,7 @@ }, /** 下载模板操作 */ importTemplate() { - let url = window.location.origin + '/glweb/template/证件信息模板.xlsx'; + let url = window.location.origin + '/certificateWeb/template/证件信息模板.xlsx'; console.log(url) downloadFileByUrl(url) }, diff --git a/src/views/certificate/certificateReturnManage/certificateTask/index.vue b/src/views/certificate/certificateReturnManage/certificateTask/index.vue index 5f035a9..6a49dde 100644 --- a/src/views/certificate/certificateReturnManage/certificateTask/index.vue +++ b/src/views/certificate/certificateReturnManage/certificateTask/index.vue @@ -495,7 +495,7 @@ }, /** 下载模板操作 */ importTemplate() { - let url = window.location.origin + '/glweb/template/批量新增原料模板.xlsx'; + let url = window.location.origin + '/certificateWeb/template/批量新增原料模板.xlsx'; console.log(url) downloadFileByUrl(url) }, diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 8fafff1..7934068 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -269,7 +269,7 @@ > - 未上传 上传失败 - + -->