|
@@ -99,7 +99,8 @@
|
|
|
</u-card>
|
|
|
</view>
|
|
|
|
|
|
- <view class="jobdetailsbtn" v-if="!isSubmit && recruitmentData.postStatus == 1">
|
|
|
+ <!-- <view class="jobdetailsbtn" v-if="!isSubmit && recruitmentData.postStatus == 1"> -->
|
|
|
+ <view class="jobdetailsbtn" v-if="!isSubmit">
|
|
|
<view class="jobdetailsbtn-container">
|
|
|
<view class="jobdetailsbtn-content">
|
|
|
<view>
|
|
@@ -109,7 +110,7 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
<u-toast ref="uToast" />
|
|
|
- <judge-auth ref="judgeAuth" />
|
|
|
+ <judge-auth ref="judgeAuth" @adoptAuth="adoptAuth" />
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
@@ -227,6 +228,7 @@
|
|
|
id
|
|
|
}).then(res => {
|
|
|
if (res.code === 200) {
|
|
|
+ console.log(res.data);
|
|
|
this.recruitmentData = res.data;
|
|
|
this.getCompanyDetails(res.data.companyId);
|
|
|
} else {
|
|
@@ -306,35 +308,34 @@
|
|
|
|
|
|
},
|
|
|
/**
|
|
|
- * 提交简历按钮事件
|
|
|
+ * 通过认证后
|
|
|
*/
|
|
|
- handleResumeClick() {
|
|
|
- if (Number(this.vuex_memberInfo.auditStatus) === 2) {
|
|
|
- this.$u.api.company.deliveryResume({
|
|
|
- postId: this.recruitmentData.id
|
|
|
- }).then(res => {
|
|
|
- if (res.code === 200) {
|
|
|
- this.$u.route({
|
|
|
- url: 'pages/resumeDeliveryResults/resumeDeliveryResults',
|
|
|
- params: {
|
|
|
- // item: JSON.stringify(param)
|
|
|
- }
|
|
|
- });
|
|
|
- } else {
|
|
|
- this.$refs.uToast.show({
|
|
|
- title: res.msg,
|
|
|
- type: 'error'
|
|
|
- })
|
|
|
- }
|
|
|
- }).catch(() => {
|
|
|
+ adoptAuth() {
|
|
|
+ this.$u.api.company.deliveryResume({
|
|
|
+ postId: this.recruitmentData.id
|
|
|
+ }).then(res => {
|
|
|
+ if (res.code === 200) {
|
|
|
+ this.$u.route({
|
|
|
+ url: 'pages/resumeDeliveryResults/resumeDeliveryResults'
|
|
|
+ });
|
|
|
+ } else {
|
|
|
this.$refs.uToast.show({
|
|
|
- title: '系统异常!',
|
|
|
+ title: res.msg,
|
|
|
type: 'error'
|
|
|
})
|
|
|
+ }
|
|
|
+ }).catch(() => {
|
|
|
+ this.$refs.uToast.show({
|
|
|
+ title: '系统异常!',
|
|
|
+ type: 'error'
|
|
|
})
|
|
|
- } else {
|
|
|
- this.$refs['judgeAuth'].modalShow(true)
|
|
|
- }
|
|
|
+ })
|
|
|
+ },
|
|
|
+ /**
|
|
|
+ * 提交简历按钮事件
|
|
|
+ */
|
|
|
+ handleResumeClick() {
|
|
|
+ this.$refs['judgeAuth'].modalShow()
|
|
|
}
|
|
|
}
|
|
|
}
|