申请人列表接口对接
This commit is contained in:
@@ -171,16 +171,15 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<!-- <view class="content-card" v-if="false">
|
<view class="content-card" v-if="currentUserType === 0">
|
||||||
<view class="card-title">
|
<view class="card-title">
|
||||||
<view class="title">申请人列表</view>
|
<view class="title">申请人列表</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="applicant-list">
|
<view class="applicant-list">
|
||||||
<view v-for="applicant in applicants" :key="applicant.userId" class="applicant-item">
|
<view v-for="applicant in jobInfo.applyUsers" :key="applicant.userId" class="applicant-item">
|
||||||
<view class="item-header">
|
<view class="item-header">
|
||||||
<view class="name">{{ applicant.name }}</view>
|
<view class="name">{{ applicant.name }}</view>
|
||||||
<view class="right-header">
|
<view class="right-header">
|
||||||
<view class="matching-degree">匹配度:{{ applicant.matchingDegree }}</view>
|
|
||||||
<button class="resume-button" @click="viewResume(applicant.userId)">查看简历</button>
|
<button class="resume-button" @click="viewResume(applicant.userId)">查看简历</button>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
@@ -205,8 +204,8 @@
|
|||||||
期望薪资:
|
期望薪资:
|
||||||
<Salary-Expectation
|
<Salary-Expectation
|
||||||
style="display: inline-block"
|
style="display: inline-block"
|
||||||
:max-salary="applicant.maxSalary"
|
:max-salary="applicant.salaryMax"
|
||||||
:min-salary="applicant.minSalary"
|
:min-salary="applicant.salaryMin"
|
||||||
:is-month="true"
|
:is-month="true"
|
||||||
></Salary-Expectation>
|
></Salary-Expectation>
|
||||||
</view>
|
</view>
|
||||||
@@ -214,7 +213,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view> -->
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view style="height: 34px"></view>
|
<view style="height: 34px"></view>
|
||||||
<template #footer>
|
<template #footer>
|
||||||
@@ -268,32 +267,7 @@ const raderData = ref({
|
|||||||
const videoPalyerRef = ref(null);
|
const videoPalyerRef = ref(null);
|
||||||
const explainUrlRef = ref('');
|
const explainUrlRef = ref('');
|
||||||
|
|
||||||
const applicants = ref([
|
// 申请人列表直接使用接口返回的applyUsers数组
|
||||||
{
|
|
||||||
createTime: null,
|
|
||||||
userId: 1,
|
|
||||||
name: '青岛测试账号331',
|
|
||||||
age: '28', // 假设年龄有值
|
|
||||||
sex: '1',
|
|
||||||
birthDate: null,
|
|
||||||
education: '4',
|
|
||||||
politicalAffiliation: '',
|
|
||||||
phone: '',
|
|
||||||
avatar: '',
|
|
||||||
salaryMin: '10000',
|
|
||||||
salaryMax: '15000',
|
|
||||||
area: '3',
|
|
||||||
status: '0',
|
|
||||||
loginIp: '',
|
|
||||||
loginDate: null,
|
|
||||||
jobTitleId: '157,233,373',
|
|
||||||
experience: '3',
|
|
||||||
isRecommend: 1,
|
|
||||||
jobTitle: ['人力资源专员/助理', 'Java', '运维工程师'],
|
|
||||||
applyDate: '2025-09-26',
|
|
||||||
matchingDegree: 1,
|
|
||||||
},
|
|
||||||
]);
|
|
||||||
|
|
||||||
onLoad((option) => {
|
onLoad((option) => {
|
||||||
console.log(option, 'option');
|
console.log(option, 'option');
|
||||||
|
|||||||
@@ -682,10 +682,11 @@ const goToCompanyInfo = () => {
|
|||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
// 获取企业信息
|
// 获取企业信息
|
||||||
getCompanyInfo();
|
getCompanyInfo();
|
||||||
|
// pageNull.value = 0;
|
||||||
// 监听退出登录事件,显示微信登录弹窗
|
// 监听退出登录事件,显示微信登录弹窗
|
||||||
uni.$on('showLoginModal', () => {
|
uni.$on('showLoginModal', () => {
|
||||||
wxAuthLoginRef.value?.open();
|
wxAuthLoginRef.value?.open();
|
||||||
|
pageNull.value = 0;
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -97,31 +97,31 @@ const useDictStore = defineStore("dict", () => {
|
|||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
function dictLabel(dictType, value) {
|
function dictLabel(dictType, value) {
|
||||||
if (state[dictType] && Array.isArray(state[dictType])) {
|
if (state[dictType] && Array.isArray(state[dictType])) {
|
||||||
for (let i = 0; i < state[dictType].length; i++) {
|
for (let i = 0; i < state[dictType].length; i++) {
|
||||||
let element = state[dictType][i];
|
let element = state[dictType][i];
|
||||||
if (element.value === value) {
|
if (element.value === value) {
|
||||||
return element.label
|
return element.label
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return ''
|
return ''
|
||||||
}
|
}
|
||||||
|
|
||||||
function oneDictData(dictType, value) {
|
function oneDictData(dictType, value) {
|
||||||
if (!value) {
|
if (!value) {
|
||||||
return state[dictType]
|
return state[dictType]
|
||||||
}
|
}
|
||||||
if (state[dictType]) {
|
if (state[dictType]) {
|
||||||
for (let i = 0; i < state[dictType].length; i++) {
|
for (let i = 0; i < state[dictType].length; i++) {
|
||||||
let element = state[dictType][i];
|
let element = state[dictType][i];
|
||||||
if (element.value === value) {
|
if (element.value === value) {
|
||||||
return element
|
return element
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
}
|
}
|
||||||
|
|
||||||
function getTransformChildren(dictType, title = '', key = '') {
|
function getTransformChildren(dictType, title = '', key = '') {
|
||||||
|
|||||||
Reference in New Issue
Block a user