diff --git a/src/App.vue b/src/App.vue index ca9fb64..27bfe88 100644 --- a/src/App.vue +++ b/src/App.vue @@ -19,7 +19,7 @@ export default { watch: { $route(to, from) { const locationHash = window.location.hash - + console.log("locationHash",locationHash) this.$matomo.setCustomUrl(locationHash.replace(/#/g, '')) this.$matomo.trackPageView(to.meta.title) // 设置页面名称 } diff --git a/src/components/Progress/index.vue b/src/components/Progress/index.vue index 22a6abf..acaefba 100644 --- a/src/components/Progress/index.vue +++ b/src/components/Progress/index.vue @@ -1,195 +1,167 @@ +
+ - + - + diff --git a/src/permission.js b/src/permission.js index 1b9b37a..a799196 100644 --- a/src/permission.js +++ b/src/permission.js @@ -68,7 +68,7 @@ router.beforeEach(async(to, from, next) => { // remove token and go to login page to re-login await store.dispatch('user/resetToken') Message.error(error || 'Has Error') - next(`/login?redirect=${to.path}`) + next(`/login?redirect=${to.fullPath}`) NProgress.done() } } @@ -91,6 +91,17 @@ router.beforeEach(async(to, from, next) => { } catch (e) { next('/login') } + }else if(to.query.auth_token && to.query.oaType==='contractSign' && to.query.contractId){ + try { + await store.dispatch('user/loginskip', { + token: to.query.auth_token, + tp: 'inner' + }) + next(to.fullPath?to.fullPath.slice(1): '/') + } catch (e) { + console.log("e",e) + next('/login') + } } else { // other pages that do not have permission to access are redirected to the login page. next(`/login?redirect=${to.path}`) diff --git a/src/views/budget/budgetList.vue b/src/views/budget/budgetList.vue index 06a5880..63d685a 100644 --- a/src/views/budget/budgetList.vue +++ b/src/views/budget/budgetList.vue @@ -55,6 +55,7 @@ v-model="select.department" placeholder="科室选择" clearable + multiple size="small" style="width: 160px" > diff --git a/src/views/budget/planType.vue b/src/views/budget/planType.vue index 578507d..721b336 100644 --- a/src/views/budget/planType.vue +++ b/src/views/budget/planType.vue @@ -42,7 +42,6 @@