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 @@ > - 未上传 上传失败 - + -->