对接招聘会接口

This commit is contained in:
xiebin
2025-11-22 18:53:52 +08:00
parent 4b8056b716
commit 99f02927ac
7 changed files with 688 additions and 91 deletions

View File

@@ -2,17 +2,18 @@
<view v-for="job in listData" :key="job.id">
<view class="cards" @click="nextDetail(job)">
<view class="card-company">
<text class="company line_1">{{ job.name }}</text>
<text class="company line_1">{{ job.gsmc }}</text>
</view>
<view class="card-bottom">
<view class="fl_box fs_14">
<dict-tree-Label class="mar_ri10" dictType="industry" :value="job.industry"></dict-tree-Label>
<dict-Label dictType="scale" :value="job.scale"></dict-Label>
<view class="card-bottom" >
<view class="fl_box fs_14" >
<!-- <dict-tree-Label class="mar_ri10" dictType="industry" :value="job.industry"></dict-tree-Label>
<dict-Label dictType="scale" :value="job.scale"></dict-Label> -->
<view>{{job.gsxy}}</view>
</view>
<view class="ris">
<view class="ris" >
<text class="fs_14">
在招职位·
<text class="color_256BFA">{{ job.totalRecruitment || '-' }}</text>
<text class="color_256BFA">{{ job.zzgwsl || '-' }}</text>
</text>
</view>
@@ -20,10 +21,14 @@
<view class="card-tags">
<view class="tag" v-if="job.nature">
<dict-Label dictType="nature" :value="job.nature"></dict-Label>
<dict-Label dictType="nature" :value="job.nature"></dict-Label>
</view>
<view class="tag">
{{ vacanciesTo(job.vacancies) }}
</view>
<view class="tag" v-if="job.qyxz">
{{job.qyxz}}
</view>
</view>
</view>
</view>
@@ -51,6 +56,10 @@ const props = defineProps({
type: String,
default: '',
},
zphId: {
type: String,
default: '',
},
});
const listData = computed(() => {
@@ -58,7 +67,7 @@ const listData = computed(() => {
});
function nextDetail(company) {
navTo(`/packageA/pages/UnitDetails/UnitDetails?companyId=${company.companyId}`);
navTo(`/packageA/pages/UnitDetails/UnitDetails?companyId=${company.gsID}&companyName=${company.gsmc}&zphId=${props.zphId}`);
}
</script>
@@ -119,7 +128,7 @@ function nextDetail(company) {
}
}
.card-bottom{
margin-top: 4rpx
margin-top: 15rpx
margin-bottom: 10rpx
display: flex
justify-content: space-between