个人招聘会简历投递,招聘会详情页

This commit is contained in:
2025-11-06 17:14:14 +08:00
parent d3fef15fa3
commit f3ef087fcb
5 changed files with 1055 additions and 5 deletions

View File

@@ -66,7 +66,7 @@
{{ job.jobDescription }}
</view>
<view class="deliver-box">
<view class="deliver-btn" @click="deliverResume">
<view class="deliver-btn" @click="deliverResume(job)">
简历投递
</view>
</view>
@@ -137,7 +137,7 @@
isExpanded.value = !isExpanded.value;
}
function deliverResume() {
function deliverResume(job) {
const raw = uni.getStorageSync("Padmin-Token");
const token = typeof raw === "string" ? raw.trim() : "";
const headers = token ? {
@@ -147,7 +147,13 @@
$api.myRequest("/dashboard/auth/heart", {}, "POST", 10100, headers).then((resData1) => {
if (resData1.code == 200) {
$api.myRequest("/system/user/login/user/info", {}, "GET", 10100, headers).then((resData) => {
$api.myRequest("/jobfair/public/job-fair-person-job/insert", {}, "GET", 9100, {
$api.myRequest("/jobfair/public/job-fair-person-job/insert", {
jobFairId: companyInfo.value.jobFairId, // 招聘会id
personId: resData.info.userId, // 当前登录用户id
enterpriseId: companyInfo.value.companyId, // 企业id
jobId: job.jobId, // 岗位id
idCard:resData.info.personCardNo
}, "post", 9100, {
"Content-Type": "application/json"
}).then((data) => {
if (data && data.code === 200) {