This commit is contained in:
冯辉
2025-11-19 18:31:04 +08:00
parent 75ac5338c3
commit f9e4394f87

View File

@@ -400,17 +400,23 @@ function getCompetivetuveness(jobId) {
// 申请岗位 // 申请岗位
function jobApply() { function jobApply() {
const jobId = jobInfo.value.jobId; const jobId = jobInfo.value.jobId;
if (jobInfo.value.isApply) { $api.createRequest(`/app/job/apply/${jobId}`, {}, 'GET').then((resData) => {
const jobUrl = jobInfo.value.jobUrl;
return window.open(jobUrl);
} else {
$api.createRequest(`/app/job/apply/${jobId}`, {}, 'GET').then((resData) => {
getDetail(jobId); getDetail(jobId);
$api.msg('申请成功'); $api.msg('申请成功');
const jobUrl = jobInfo.value.jobUrl; const jobUrl = jobInfo.value.jobUrl;
return window.open(jobUrl); // return window.open(jobUrl);
}); });
} // if (jobInfo.value.isApply) {
// const jobUrl = jobInfo.value.jobUrl;
// return window.open(jobUrl);
// } else {
// $api.createRequest(`/app/job/apply/${jobId}`, {}, 'GET').then((resData) => {
// getDetail(jobId);
// $api.msg('申请成功');
// const jobUrl = jobInfo.value.jobUrl;
// return window.open(jobUrl);
// });
// }
} }
// 取消/收藏岗位 // 取消/收藏岗位
@@ -742,6 +748,7 @@ for i in 0..100
bottom: 0; bottom: 0;
width: 100%; width: 100%;
padding: 20rpx 0!important padding: 20rpx 0!important
z-index: 1000;
.btn-wq{ .btn-wq{
display: block; display: block;
width: 94%; width: 94%;