|
@@ -8,7 +8,8 @@
|
|
<v-btn color="primary" size="small" @click.stop="handleAgree(val)">同意</v-btn>
|
|
<v-btn color="primary" size="small" @click.stop="handleAgree(val)">同意</v-btn>
|
|
<v-btn class="ml-3" color="error" size="small" @click.stop="handleRefuse(val)">拒绝</v-btn>
|
|
<v-btn class="ml-3" color="error" size="small" @click.stop="handleRefuse(val)">拒绝</v-btn>
|
|
</div>
|
|
</div>
|
|
- <div v-if="['1', '3'].includes(val.status) && val.jobFairId && !val.internshipEnterprise" class="header-btn">
|
|
|
|
|
|
+ <!-- 当前角色为学生&&待面试、面试完成&&属于招聘会职位&&未上报为实习企业 -->
|
|
|
|
+ <div v-if="(info?.type && Number(info.type) === 1) && ['1', '3'].includes(val.status) && val.jobFairId && !val.internshipEnterprise" class="header-btn">
|
|
<v-btn color="primary" size="small" @click="handleReport(val)">上报为实习企业</v-btn>
|
|
<v-btn color="primary" size="small" @click="handleReport(val)">上报为实习企业</v-btn>
|
|
</div>
|
|
</div>
|
|
<div v-if="val.job.status === '1'" class="font-size-14 header-btn color-error">职位已关闭</div>
|
|
<div v-if="val.job.status === '1'" class="font-size-14 header-btn color-error">职位已关闭</div>
|
|
@@ -72,6 +73,7 @@ import { formatName } from '@/utils/getText'
|
|
import { jumpToEnterpriseDetail } from '@/utils/position'
|
|
import { jumpToEnterpriseDetail } from '@/utils/position'
|
|
import { reportStudentPracticeEnterprise } from '@/api/recruit/personal/student.js'
|
|
import { reportStudentPracticeEnterprise } from '@/api/recruit/personal/student.js'
|
|
|
|
|
|
|
|
+const info = localStorage.getItem('baseInfo') ? JSON.parse(localStorage.getItem('baseInfo')) : {}
|
|
const { t } = useI18n()
|
|
const { t } = useI18n()
|
|
const emits = defineEmits(['refresh'])
|
|
const emits = defineEmits(['refresh'])
|
|
const props = defineProps({
|
|
const props = defineProps({
|