|
@@ -28,12 +28,17 @@ router.beforeEach(async (to, from, next) => {
|
|
|
if (localStorage.getItem('entUpdatePassword') === 'needChange') fullScreen('entUpdatePassword')
|
|
|
// 强制填写个人信息
|
|
|
else if (localStorage.getItem('necessaryInfoReady') === 'fddeaddc47868b' && tokenIndex === 2) necessaryInfo('necessaryInfoDialog')
|
|
|
+ // 企业登录免费职位广告提示
|
|
|
+ // else if (localStorage.getItem('positionAd')) {
|
|
|
+ // localStorage.setItem('positionAd', '')
|
|
|
+ // necessaryInfo('positionAd')
|
|
|
+ // }
|
|
|
// 企业信息完成度提示
|
|
|
else if (localStorage.getItem('checkEnterpriseBaseInfoFalseHref')) {
|
|
|
const href = localStorage.getItem('checkEnterpriseBaseInfoFalseHref')
|
|
|
localStorage.setItem('checkEnterpriseBaseInfoFalseHref', '')
|
|
|
localStorage.setItem('entUpdatePassword', '')
|
|
|
- if (to.path !== '/recruit/enterprise/entInfoSetting') {
|
|
|
+ if (to.path !== href) {
|
|
|
setTimeout(() => {
|
|
|
Confirm('系统提示', '企业信息设置未完善,是否前往完善?').then(() => {
|
|
|
window.location.href = href
|