|
@@ -33,20 +33,14 @@
|
|
</div>
|
|
</div>
|
|
<div v-if="val?.hire" class="mt-2">
|
|
<div v-if="val?.hire" class="mt-2">
|
|
<v-chip v-if="val?.hirePrice && val.hirePrice > 0" class="mr-3" label color="primary" size="small">赏金:{{ commissionCalculation(val.hirePrice, 1) }}元</v-chip>
|
|
<v-chip v-if="val?.hirePrice && val.hirePrice > 0" class="mr-3" label color="primary" size="small">赏金:{{ commissionCalculation(val.hirePrice, 1) }}元</v-chip>
|
|
- <v-chip v-if="val?.hirePoint && val.hirePoint > 0" label color="primary" size="small">积分:{{ commissionCalculation(val.hirePoint, 1) }}点</v-chip>
|
|
|
|
|
|
+ <!-- <v-chip v-if="val?.hirePoint && val.hirePoint > 0" label color="primary" size="small">积分:{{ commissionCalculation(val.hirePoint, 1) }}点</v-chip> -->
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="d-flex align-center">
|
|
<div class="d-flex align-center">
|
|
- <div v-if="tab === 1">
|
|
|
|
- <!-- <v-btn color="primary" variant="tonal">{{ $t('position.talentSearch') }}</v-btn> -->
|
|
|
|
- <v-btn class="ml-3" color="primary" @click="handleAction(2, '', val)">{{ $t('common.refresh') + $t('common.position') }}</v-btn>
|
|
|
|
- </div>
|
|
|
|
- <div v-if="tab === 2">
|
|
|
|
- <v-btn color="primary" @click="handleAction(1, '', val)">{{ $t('common.activatePosition') }}</v-btn>
|
|
|
|
- </div>
|
|
|
|
- <div v-if="tab === 4 && (val.status-0) === 99">
|
|
|
|
- <v-chip color="warning" label>职位待发布,支付后成功后自动发布</v-chip>
|
|
|
|
- </div>
|
|
|
|
|
|
+ <v-btn v-if="tab === 1" class="ml-3" color="primary" @click="handleAction(2, '', val)">{{ $t('common.refresh') + $t('common.position') }}</v-btn>
|
|
|
|
+ <v-btn v-if="tab === 2" color="primary" @click="handleAction(1, '', val)">{{ $t('common.activatePosition') }}</v-btn>
|
|
|
|
+ <v-chip v-if="tab === 4 && (val.status-0) === 99" color="warning" label>职位待发布,支付后成功后自动发布</v-chip>
|
|
|
|
+ <v-chip v-if="tab === 4 && val.status === '1'" color="error" class="cursor-pointer" label style="text-decoration: underline;" @click="handleAction(1, '', val)">职位已关闭,点击激活职位</v-chip>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="bottom pa-5 d-flex justify-space-between align-center">
|
|
<div class="bottom pa-5 d-flex justify-space-between align-center">
|
|
@@ -58,20 +52,16 @@
|
|
<span class="lines"></span>
|
|
<span class="lines"></span>
|
|
</div>
|
|
</div>
|
|
<div v-if="tab === 1">
|
|
<div v-if="tab === 1">
|
|
- <span class="cursor-pointer" @click="handleAction(3, '', val)">{{ $t('common.topping') }}</span>
|
|
|
|
|
|
+ <span class="cursor-pointer actions" @click="handleAction(3, '', val)">{{ $t('common.topping') }}</span>
|
|
<span class="lines"></span>
|
|
<span class="lines"></span>
|
|
- <span class="cursor-pointer" @click="handleAction(0, '', val)">{{ $t('common.close') }}</span>
|
|
|
|
|
|
+ <span class="cursor-pointer actions" @click="handleAction(0, '', val)">{{ $t('common.close') }}</span>
|
|
<span class="lines"></span>
|
|
<span class="lines"></span>
|
|
</div>
|
|
</div>
|
|
- <span class="cursor-pointer" @click="handleToStatistics">{{ $t('position.recruitmentStatistics') }}</span>
|
|
|
|
- <div v-if="tab !== 3">
|
|
|
|
|
|
+ <div v-if="tab !== 3" class="cursor-pointer actions" @click="handleEdit(val)">{{ $t('common.edit') }}</div>
|
|
|
|
+ <div v-if="tab === 4 && (val.status - 0) !== 99 && val.status !== '1'">
|
|
<span class="lines"></span>
|
|
<span class="lines"></span>
|
|
- <span class="cursor-pointer" @click="handleEdit(val)">{{ $t('common.edit') }}</span>
|
|
|
|
|
|
+ <span class="cursor-pointer actions" @click="handleAction(0, '', val)">{{ $t('common.close') }}</span>
|
|
</div>
|
|
</div>
|
|
- <!-- <div v-if="tab === 4">
|
|
|
|
- <span class="lines"></span>
|
|
|
|
- <span class="cursor-pointer">{{ $t('common.close') }}</span>
|
|
|
|
- </div> -->
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -190,11 +180,6 @@ const handleEdit = (val) => {
|
|
const handleDetails = (val) => {
|
|
const handleDetails = (val) => {
|
|
window.open(`/recruit/enterprise/position/details/${val.id}`)
|
|
window.open(`/recruit/enterprise/position/details/${val.id}`)
|
|
}
|
|
}
|
|
-
|
|
|
|
-// 跳转招聘统计
|
|
|
|
-const handleToStatistics = () => {
|
|
|
|
- router.push('/recruit/enterprise/statistics/overallAnalysis')
|
|
|
|
-}
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style scoped lang="scss">
|
|
<style scoped lang="scss">
|
|
@@ -241,18 +226,7 @@ const handleToStatistics = () => {
|
|
font-size: 14px;
|
|
font-size: 14px;
|
|
color: var(--color-888);
|
|
color: var(--color-888);
|
|
}
|
|
}
|
|
-.resume {
|
|
|
|
- display: flex;
|
|
|
|
- font-size: 13px;
|
|
|
|
- flex-direction: column;
|
|
|
|
- align-items: center;
|
|
|
|
- color: var(--color-888);
|
|
|
|
- margin-right: 100px;
|
|
|
|
- cursor: pointer;
|
|
|
|
-}
|
|
|
|
-.resume-number {
|
|
|
|
- font-size: 20px;
|
|
|
|
- font-weight: 700;
|
|
|
|
- color: var(--color-999);
|
|
|
|
|
|
+.actions:hover {
|
|
|
|
+ color: var(--v-primary-base);
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|