|
@@ -107,7 +107,7 @@ import selectPage from './sendResume/select.vue'
|
|
|
import { onMounted, reactive, ref } from 'vue';
|
|
|
import { getPositionDetails, jobCvRelCheckSend, getPersonJobUnfavorite, getPersonJobFavorite, getJobFavoriteCheck } from '@/api/position'
|
|
|
import { dealDictObjData } from '@/utils/position'
|
|
|
-import { getPersonalToken, getToken } from '@/utils/auth'
|
|
|
+import { getToken } from '@/utils/auth'
|
|
|
import Snackbar from '@/plugins/snackbar'
|
|
|
import { useI18n } from '@/hooks/web/useI18n'; const { t } = useI18n()
|
|
|
|
|
@@ -150,7 +150,7 @@ const getCollectionStatus = async () => {
|
|
|
// 收藏&取消收藏职位
|
|
|
const handleCollection = async () => {
|
|
|
// 效验登录状态
|
|
|
- if (!getPersonalToken()) {
|
|
|
+ if (!getToken()) {
|
|
|
actions.value = true
|
|
|
// handleLogin()
|
|
|
sendResume.showLogin = true
|
|
@@ -170,7 +170,7 @@ if (!jobId) { // !sharedById
|
|
|
}, 2000)
|
|
|
} else {
|
|
|
getPositionDetail()
|
|
|
- if (getPersonalToken()) {
|
|
|
+ if (getToken()) {
|
|
|
handleCheckJobDelivery()
|
|
|
getCollectionStatus()
|
|
|
}
|
|
@@ -215,7 +215,7 @@ const sendResume = reactive({
|
|
|
const sendResumeProcessVerify = async () => {
|
|
|
try { // 1.登录 2.具备人才信息 3.有无附件简历,无则上传
|
|
|
// 未登录
|
|
|
- if (!getPersonalToken()) {
|
|
|
+ if (!getToken()) {
|
|
|
sendResume.showLogin = true
|
|
|
return
|
|
|
}
|