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需要返回登录页进行登录 // 不在白名单内需要查看是否携带token 没有token需要返回登录页进行登录
if (!userStore.getTokenInfo?.value) { if (!userStore.getTokenInfo?.value) {
await message.warn('未找到token请重新登陆!') await message.warn('未找到token请重新登陆!')
return next('/enterprise'); return next('/login');
} }
//放行 //放行
return next(); return next();

View File

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