Compare commits

...

2 Commits

Author SHA1 Message Date
wangyilin 92b120380e Merge remote-tracking branch 'origin/main' 2024-11-21 15:16:31 +08:00
wangyilin 577a7553fa 保安后台 2024-11-21 15:16:19 +08:00
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',