|
@@ -629,6 +629,8 @@
|
|
|
},
|
|
},
|
|
|
//一键投递
|
|
//一键投递
|
|
|
oneClickApply(item) {
|
|
oneClickApply(item) {
|
|
|
|
|
+ if(!this.info.user||!this.info.user.userId)
|
|
|
|
|
+ return this.$queue.showToast('岗位发布者已不知所踪,请联系管理员😂😂😂😂😂😂')
|
|
|
if (uni.getStorageSync('token')) {
|
|
if (uni.getStorageSync('token')) {
|
|
|
this.$Request.get('/app/resumes/selectResumesByUserId').then(res => {
|
|
this.$Request.get('/app/resumes/selectResumesByUserId').then(res => {
|
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|
|
@@ -649,9 +651,9 @@
|
|
|
})
|
|
})
|
|
|
} else {
|
|
} else {
|
|
|
// 执行一键投递逻辑
|
|
// 执行一键投递逻辑
|
|
|
- this.$Request.postT("/app/sendRecord/addSendRecord", {
|
|
|
|
|
- postPushId: this.postPushId,
|
|
|
|
|
- resumesId: res.data.resumesId,
|
|
|
|
|
|
|
+ this.$Request.postT("/app/resumes/sendResumes", {
|
|
|
|
|
+ to: this.info.user.userId, //接收人的userId
|
|
|
|
|
+ postPushId: this.postPushId, //岗位id
|
|
|
resumesAttachmentId:item.resumesAttachmentId
|
|
resumesAttachmentId:item.resumesAttachmentId
|
|
|
}).then(res => {
|
|
}).then(res => {
|
|
|
if (res.code == 0) {
|
|
if (res.code == 0) {
|