diff --git a/securityManagement/src/router/index.ts b/securityManagement/src/router/index.ts index 85aacfc..d1841ff 100644 --- a/securityManagement/src/router/index.ts +++ b/securityManagement/src/router/index.ts @@ -32,7 +32,7 @@ router.beforeEach(async (to, from, next) => { // 不在白名单内需要查看是否携带token 没有token需要返回登录页进行登录 if (!userStore.getTokenInfo?.value) { await message.warn('未找到token,请重新登陆!') - return next('/enterprise'); + return next('/login'); } //放行 return next(); diff --git a/securityManagement/src/views/serviceManagement/index.vue b/securityManagement/src/views/serviceManagement/index.vue index 095ec84..38e754f 100644 --- a/securityManagement/src/views/serviceManagement/index.vue +++ b/securityManagement/src/views/serviceManagement/index.vue @@ -252,7 +252,7 @@ const enterprisesUnitIdList = ref[]>([]) const enterprisesUnitId = ref('') const isRecruitSecurityHidden = ref(false) -const idNumberDisabled = ref(false) +const idNumberDisabled = ref(true) // 切换options const netType = computed(() => { @@ -329,7 +329,7 @@ const formItemOptions = ref