From cfcaf25a9c9f9487be75a36ad34576873edd46c7 Mon Sep 17 00:00:00 2001 From: TiaStars Date: Tue, 10 Oct 2023 09:01:38 +0800 Subject: [PATCH] 1010-01 --- src/permission.js | 3 ++- src/views/components/dialog/index.vue | 4 +-- src/views/yingji/enterprise.vue | 2 +- src/views/yingji/planManage.vue | 37 ++++++++++++++++++--------- 4 files changed, 30 insertions(+), 16 deletions(-) diff --git a/src/permission.js b/src/permission.js index 2262922..e8733d5 100644 --- a/src/permission.js +++ b/src/permission.js @@ -96,7 +96,8 @@ router.beforeEach((to, from, next) => { next(`/login`) // 否则全部重定向到登录页 } else { console.log('路由拦截跳转登录页') - next() + // next() + location.href = 'http://180.108.205.123:8090/sso-server/oauth2/login?aid=17847210&cbu=http%3A%2F%2F180.108.205.123%3A13001%2F' } NProgress.done() } diff --git a/src/views/components/dialog/index.vue b/src/views/components/dialog/index.vue index c166194..3b165a7 100644 --- a/src/views/components/dialog/index.vue +++ b/src/views/components/dialog/index.vue @@ -450,7 +450,7 @@ export default { }) } }) - console.log(name) + // console.log(name) return name }, // 匹配重大危险源等级 @@ -831,7 +831,7 @@ export default { }) this.listOne.map((item)=>{ if(item.institutionName == dept.deptName) { - console.log(item.county) + // console.log(item.county) this.form.subdistrict = item.county this.workingArea = item.county this.county = true; diff --git a/src/views/yingji/enterprise.vue b/src/views/yingji/enterprise.vue index 98954b4..c301e28 100644 --- a/src/views/yingji/enterprise.vue +++ b/src/views/yingji/enterprise.vue @@ -117,7 +117,7 @@ header-align="center" >