This commit is contained in:
TimSpan 2024-11-22 10:15:46 +08:00
commit e99471379a
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -252,7 +252,7 @@ const enterprisesUnitIdList = ref<SelectNodeVo<string>[]>([])
const enterprisesUnitId = ref('')
const isRecruitSecurityHidden = ref<boolean>(false)
const idNumberDisabled = ref<boolean>(false)
const idNumberDisabled = ref<boolean>(true)
// options
const netType = computed(() => {
@ -329,7 +329,7 @@ const formItemOptions = ref<FormProMaxItemOptions<serviceProjectSaveOrUpdatePara
outsourceName:{
type: 'input',
label: '外包公司名称',
hidden:idNumberDisabled as any
hidden:idNumberDisabled as any,
},
isFiling:{
type: 'radioGroup',