|
|
@@ -220,11 +220,11 @@ const handleCancelEliminate = async (item) => {
|
|
|
// 查看简历
|
|
|
const handlePreviewResume = async (item) => {
|
|
|
// 招聘会收到的简历不需要效验
|
|
|
- if (!item.jobFairId) {
|
|
|
+ // if (!item?.jobFairId) {
|
|
|
// 效验企业是否有查看简历次数
|
|
|
await userStore.getEnterpriseInfo(true)
|
|
|
if (baseInfo.value?.entitlement?.lookCvCount <= 0) return Snackbar.warning('您的查看简历次数已用完,请联系平台管理员!')
|
|
|
- }
|
|
|
+ // }
|
|
|
|
|
|
const url = props.tab === 0 ? item.url : item.cvRel.url
|
|
|
const id = props.tab === 0 ? item.id : item.cvRel.id
|
|
|
@@ -302,11 +302,11 @@ const handleToInterviewManagement = () => {
|
|
|
// 下载附件
|
|
|
const handleDownloadAttachment = async (k) => {
|
|
|
// 招聘会收到的简历不需要效验
|
|
|
- if (!k.jobFairId) {
|
|
|
+ // if (!k?.jobFairId) {
|
|
|
// 效验企业是否有下载简历次数
|
|
|
await userStore.getEnterpriseInfo(true)
|
|
|
if (baseInfo.value?.entitlement?.lookCvCount <= 0) return Snackbar.warning('您的下载简历次数已用完,请联系平台管理员!')
|
|
|
- }
|
|
|
+ // }
|
|
|
|
|
|
const url = props.tab === 0 ? k.url : k.cvRel?.url
|
|
|
if (!url) return
|