diff --git a/src/permission.js b/src/permission.js index 4aaf40e..c586092 100644 --- a/src/permission.js +++ b/src/permission.js @@ -16,7 +16,7 @@ router.beforeEach((to, from, next) => { to.meta.title && store.dispatch('settings/setTitle', to.meta.title) /* has token*/ if (to.path === '/login') { - next({ path: '/' }) + next({ path: '/zhgd-ht/' }) NProgress.done() } else if (whiteList.indexOf(to.path) !== -1) { next() @@ -34,7 +34,7 @@ router.beforeEach((to, from, next) => { }).catch(err => { store.dispatch('LogOut').then(() => { Message.error(err) - next({ path: '/zhgd-ht' }) + next({ path: '/zhgd-ht/' }) }) }) } else { diff --git a/src/utils/request.js b/src/utils/request.js index 851149b..cd8f357 100644 --- a/src/utils/request.js +++ b/src/utils/request.js @@ -136,7 +136,7 @@ service.interceptors.response.use(res => { MessageBox.confirm('登录状态已过期,您可以继续留在该页面,或者重新登录', '系统提示', { confirmButtonText: '重新登录', cancelButtonText: '取消', type: 'warning' }).then(() => { isRelogin.show = false; store.dispatch('LogOut').then(() => { - location.href = '/zhgd-ht'; + location.href = '/zhgd-ht/'; }) }).catch(() => { isRelogin.show = false; diff --git a/src/views/base/bracelet/index.vue b/src/views/base/bracelet/index.vue index bedd431..c232fd6 100644 --- a/src/views/base/bracelet/index.vue +++ b/src/views/base/bracelet/index.vue @@ -48,7 +48,7 @@ 重置 - + 导出数据 - + - + @@ -86,7 +86,7 @@ - {{ scope.row.shboxName }} + {{ scope.row.shboxName }} - + - + - - - + + + + + @@ -170,7 +177,7 @@ {{ scope.row.shboxBindNum }}/{{ scope.row.shboxCapacity }} - + @@ -217,7 +224,7 @@ {{ scope.row.shboxBindNum }}/{{ scope.row.shboxCapacity }} - + @@ -244,12 +251,19 @@ - - + + + + @@ -259,7 +273,7 @@ {{ scope.row.shboxBindNum }}/{{ scope.row.shboxCapacity }} - + @@ -355,7 +369,7 @@ - + - - + - - - - + + + + - - - - + + + + - - - - - + - - + +