|
|
@@ -514,19 +514,19 @@ export default {
|
|
|
this.$api.recruitresumeId(v).then(res => {
|
|
|
if (res.data.code === 200) {
|
|
|
self.showJDT = true;
|
|
|
- if (res.data.data.certificateJson !== null) {
|
|
|
+ if (res.data.data.certificateJson) {
|
|
|
res.data.data.certificateJson = JSON.parse(res.data.data.certificateJson);
|
|
|
}
|
|
|
- if (res.data.data.eduExperienceJson !== null) {
|
|
|
+ if (res.data.data.eduExperienceJson) {
|
|
|
res.data.data.eduExperienceJson = JSON.parse(res.data.data.eduExperienceJson);
|
|
|
}
|
|
|
- if (res.data.data.projectExperienceJson !== null) {
|
|
|
+ if (res.data.data.projectExperienceJson) {
|
|
|
res.data.data.projectExperienceJson = JSON.parse(res.data.data.projectExperienceJson);
|
|
|
}
|
|
|
- if (res.data.data.workExperienceJson !== null) {
|
|
|
+ if (res.data.data.workExperienceJson) {
|
|
|
res.data.data.workExperienceJson = JSON.parse(res.data.data.workExperienceJson);
|
|
|
}
|
|
|
- if (res.data.data.userBirth !== null && res.data.data.userBirth.indexOf('T') !== -1) {
|
|
|
+ if (res.data.data.userBirth && res.data.data.userBirth.indexOf('T') !== -1) {
|
|
|
res.data.data.userBirth = res.data.data.userBirth.slice(0, res.data.data.userBirth.indexOf('T'));
|
|
|
}
|
|
|
if (res.data.data.eduLevel) {
|
|
|
@@ -936,6 +936,14 @@ export default {
|
|
|
});
|
|
|
return;
|
|
|
}
|
|
|
+ if(!this.userInfo.userBirth){
|
|
|
+ uni.showToast({
|
|
|
+ title: '请前往基本信息设置出生日期',
|
|
|
+ icon: 'none',
|
|
|
+ duration: 1500
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (!this.formTableInfos.telphone) {
|
|
|
uni.showToast({
|
|
|
title: '请输入手机号',
|