diff --git a/src/components/Introduce/Model.vue b/src/components/Introduce/Model.vue index e4be245..2db3769 100644 --- a/src/components/Introduce/Model.vue +++ b/src/components/Introduce/Model.vue @@ -19,11 +19,11 @@ - + - + @@ -197,6 +197,10 @@ export default { handleOk(type) { if (!this.recruit.name) { this.$message.error('姓名为必填项'); + } else if (!this.recruit.birthday) { + this.$message.error('出生年月必填项'); + } else if (!this.recruit.startJob) { + this.$message.error('参加工作时间必填项'); } else if (!this.recruit.tel) { this.$message.error('电话为必填项'); } else if (!this.recruit.jobWilling) { @@ -262,6 +266,7 @@ export default { files, // 附件Id }, }; + console.log(params.param.files); res = await joinUs(params); const { data, msg, code } = res.data; if (code === 200) { @@ -271,6 +276,7 @@ export default { for (let key in this.recruit) { this.recruit[key] = ''; } + this.recruit.files = []; } else { throw msg; this.confirmLoading = false;