|
@@ -264,6 +264,22 @@ const _sfc_main = {
|
|
|
var _a;
|
|
|
return Object.keys(this.safeProfileFieldsConfig).length === 0 || ((_a = this.safeProfileFieldsConfig.weight) == null ? void 0 : _a.visible) !== false;
|
|
|
},
|
|
|
+ showCurrentAddress() {
|
|
|
+ var _a;
|
|
|
+ return Object.keys(this.safeProfileFieldsConfig).length === 0 || ((_a = this.safeProfileFieldsConfig.current_address) == null ? void 0 : _a.visible) !== false;
|
|
|
+ },
|
|
|
+ showResidence() {
|
|
|
+ var _a;
|
|
|
+ return Object.keys(this.safeProfileFieldsConfig).length === 0 || ((_a = this.safeProfileFieldsConfig.household_location) == null ? void 0 : _a.visible) !== false;
|
|
|
+ },
|
|
|
+ showMarriageIndex() {
|
|
|
+ var _a;
|
|
|
+ return ((_a = this.safeProfileFieldsConfig.marital_status) == null ? void 0 : _a.visible) !== false;
|
|
|
+ },
|
|
|
+ showExpectedSalary() {
|
|
|
+ var _a;
|
|
|
+ return ((_a = this.safeProfileFieldsConfig.expected_salary) == null ? void 0 : _a.visible) !== false;
|
|
|
+ },
|
|
|
// 家庭成员字段显示控制
|
|
|
showFamilyRelationField() {
|
|
|
var _a;
|
|
@@ -275,7 +291,7 @@ const _sfc_main = {
|
|
|
},
|
|
|
showFamilyWorkplaceField() {
|
|
|
var _a;
|
|
|
- return Object.keys(this.safeFamilyFieldsConfig).length === 0 || ((_a = this.safeFamilyFieldsConfig.workplace_or_address) == null ? void 0 : _a.visible) !== false;
|
|
|
+ return Object.keys(this.safeFamilyFieldsConfig).length === 0 || ((_a = this.safeFamilyFieldsConfig.workplace) == null ? void 0 : _a.visible) !== false;
|
|
|
},
|
|
|
showFamilyPositionField() {
|
|
|
var _a;
|
|
@@ -285,6 +301,10 @@ const _sfc_main = {
|
|
|
var _a;
|
|
|
return Object.keys(this.safeFamilyFieldsConfig).length === 0 || ((_a = this.safeFamilyFieldsConfig.phone) == null ? void 0 : _a.visible) !== false;
|
|
|
},
|
|
|
+ showFamilyisEmergency() {
|
|
|
+ var _a;
|
|
|
+ ((_a = this.safeFamilyFieldsConfig.family_contact_person) == null ? void 0 : _a.visible) !== false;
|
|
|
+ },
|
|
|
// 教育经历字段显示控制
|
|
|
showEducationTimeField() {
|
|
|
var _a, _b;
|
|
@@ -317,12 +337,24 @@ const _sfc_main = {
|
|
|
},
|
|
|
showWorkEmployeeCountField() {
|
|
|
var _a;
|
|
|
- return Object.keys(this.safeWorkFieldsConfig).length === 0 || ((_a = this.safeWorkFieldsConfig.employee_count) == null ? void 0 : _a.visible) !== false;
|
|
|
+ return Object.keys(this.safeWorkFieldsConfig).length === 0 || ((_a = this.safeWorkFieldsConfig.company_size) == null ? void 0 : _a.visible) !== false;
|
|
|
},
|
|
|
showWorkPositionField() {
|
|
|
var _a;
|
|
|
return Object.keys(this.safeWorkFieldsConfig).length === 0 || ((_a = this.safeWorkFieldsConfig.position) == null ? void 0 : _a.visible) !== false;
|
|
|
},
|
|
|
+ showWorkMonthlySalary() {
|
|
|
+ var _a;
|
|
|
+ return (_a = this.safeWorkFieldsConfig.monthly_income) == null ? void 0 : _a.visible;
|
|
|
+ },
|
|
|
+ showWorkSupervisor() {
|
|
|
+ var _a;
|
|
|
+ return (_a = this.safeWorkFieldsConfig.direct_supervisor) == null ? void 0 : _a.visible;
|
|
|
+ },
|
|
|
+ showWorkSupervisorPhone() {
|
|
|
+ var _a;
|
|
|
+ return (_a = this.safeWorkFieldsConfig.supervisor_phone) == null ? void 0 : _a.visible;
|
|
|
+ },
|
|
|
showRequireProfessionalSkillsField() {
|
|
|
console.log(this.safeConfigData.require_professional_skills);
|
|
|
const value = this.safeConfigData.require_professional_skills;
|
|
@@ -400,9 +432,9 @@ const _sfc_main = {
|
|
|
"ethnic": this.showEthnicField,
|
|
|
"height": this.showHeightField,
|
|
|
"weight": this.showWeightField,
|
|
|
- "currentAddress": true,
|
|
|
+ "currentAddress": this.showCurrentAddress,
|
|
|
// 现居住地址总是显示和必填
|
|
|
- "expectedSalary": true,
|
|
|
+ "expectedSalary": this.showExpectedSalary,
|
|
|
// 期望薪资总是显示
|
|
|
"skills": this.showRequireTrainingInfoField,
|
|
|
// 专业技能根据配置显示和必填
|
|
@@ -418,7 +450,8 @@ const _sfc_main = {
|
|
|
"name": this.showFamilyNameField,
|
|
|
"phone": this.showFamilyPhoneField,
|
|
|
"workplaceOrAddress": this.showFamilyWorkplaceField,
|
|
|
- "position": this.showFamilyPositionField
|
|
|
+ "position": this.showFamilyPositionField,
|
|
|
+ "isEmergencyContact": this.showFamilyisEmergency
|
|
|
};
|
|
|
return familyFieldShowMap[fieldName] !== false;
|
|
|
case "education":
|
|
@@ -438,11 +471,11 @@ const _sfc_main = {
|
|
|
"department": this.showWorkDepartmentField,
|
|
|
"position": this.showWorkPositionField,
|
|
|
"employeeCount": this.showWorkEmployeeCountField,
|
|
|
- "monthlySalary": true,
|
|
|
+ "monthlySalary": this.showWorkMonthlySalary,
|
|
|
// 月薪总是需要验证
|
|
|
- "supervisor": true,
|
|
|
+ "supervisor": this.showWorkSupervisor,
|
|
|
// 直接领导总是需要验证
|
|
|
- "supervisorPhone": true
|
|
|
+ "supervisorPhone": this.showWorkSupervisorPhone
|
|
|
// 领导电话总是需要验证
|
|
|
};
|
|
|
return workFieldShowMap[fieldName] !== false;
|
|
@@ -1749,32 +1782,42 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
ae: common_vendor.o(($event) => $options.handleBlur("weight")),
|
|
|
af: $data.formData.weight
|
|
|
} : {}, {
|
|
|
- ag: $data.formErrors.currentAddress ? 1 : "",
|
|
|
- ah: $data.formData.currentAddress,
|
|
|
- ai: common_vendor.o(($event) => $data.formData.currentAddress = $event.detail.value),
|
|
|
- aj: $data.formErrors.currentAddress
|
|
|
+ ag: $options.showCurrentAddress
|
|
|
+ }, $options.showCurrentAddress ? common_vendor.e({
|
|
|
+ ah: $data.formErrors.currentAddress ? 1 : "",
|
|
|
+ ai: $data.formData.currentAddress,
|
|
|
+ aj: common_vendor.o(($event) => $data.formData.currentAddress = $event.detail.value),
|
|
|
+ ak: $data.formErrors.currentAddress
|
|
|
}, $data.formErrors.currentAddress ? {
|
|
|
- ak: common_vendor.t($data.formErrors.currentAddress)
|
|
|
+ al: common_vendor.t($data.formErrors.currentAddress)
|
|
|
+ } : {}) : {}, {
|
|
|
+ am: $options.showResidence
|
|
|
+ }, $options.showResidence ? {
|
|
|
+ an: $data.formData.residence,
|
|
|
+ ao: common_vendor.o(($event) => $data.formData.residence = $event.detail.value)
|
|
|
+ } : {}, {
|
|
|
+ ap: $options.showMarriageIndex
|
|
|
+ }, $options.showMarriageIndex ? {
|
|
|
+ aq: common_vendor.t($data.marriageOptions[$data.marriageIndex] || "请选择婚育状况"),
|
|
|
+ ar: common_vendor.o((...args) => $options.bindMarriageChange && $options.bindMarriageChange(...args)),
|
|
|
+ as: $data.marriageIndex,
|
|
|
+ at: $data.marriageOptions
|
|
|
} : {}, {
|
|
|
- al: $data.formData.residence,
|
|
|
- am: common_vendor.o(($event) => $data.formData.residence = $event.detail.value),
|
|
|
- an: common_vendor.t($data.marriageOptions[$data.marriageIndex] || "请选择婚育状况"),
|
|
|
- ao: common_vendor.o((...args) => $options.bindMarriageChange && $options.bindMarriageChange(...args)),
|
|
|
- ap: $data.marriageIndex,
|
|
|
- aq: $data.marriageOptions,
|
|
|
- ar: common_vendor.o((...args) => $options.validateExpectedSalary && $options.validateExpectedSalary(...args)),
|
|
|
- as: $data.formErrors.expectedSalary ? 1 : "",
|
|
|
- at: $data.formData.expectedSalary,
|
|
|
- av: common_vendor.o(($event) => $data.formData.expectedSalary = $event.detail.value),
|
|
|
- aw: $data.formErrors.expectedSalary
|
|
|
+ av: $options.showExpectedSalary
|
|
|
+ }, $options.showExpectedSalary ? common_vendor.e({
|
|
|
+ aw: common_vendor.o((...args) => $options.validateExpectedSalary && $options.validateExpectedSalary(...args)),
|
|
|
+ ax: $data.formErrors.expectedSalary ? 1 : "",
|
|
|
+ ay: $data.formData.expectedSalary,
|
|
|
+ az: common_vendor.o(($event) => $data.formData.expectedSalary = $event.detail.value),
|
|
|
+ aA: $data.formErrors.expectedSalary
|
|
|
}, $data.formErrors.expectedSalary ? {
|
|
|
- ax: common_vendor.t($data.formErrors.expectedSalary)
|
|
|
- } : {}) : {}, {
|
|
|
- ay: $data.currentStep === 3
|
|
|
+ aB: common_vendor.t($data.formErrors.expectedSalary)
|
|
|
+ } : {}) : {}) : {}, {
|
|
|
+ aC: $data.currentStep === 3
|
|
|
}, $data.currentStep === 3 ? common_vendor.e({
|
|
|
- az: $data.familyMembers.length > 0
|
|
|
+ aD: $data.familyMembers.length > 0
|
|
|
}, $data.familyMembers.length > 0 ? {
|
|
|
- aA: common_vendor.f($data.familyMembers, (member, index, i0) => {
|
|
|
+ aE: common_vendor.f($data.familyMembers, (member, index, i0) => {
|
|
|
return common_vendor.e({
|
|
|
a: common_vendor.t(index + 1),
|
|
|
b: common_vendor.o(($event) => $options.editFamilyMember(index), index),
|
|
@@ -1794,65 +1837,68 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
j: index
|
|
|
});
|
|
|
}),
|
|
|
- aB: $options.showFamilyRelationField,
|
|
|
- aC: $options.showFamilyNameField,
|
|
|
- aD: $options.showFamilyWorkplaceField,
|
|
|
- aE: $options.showFamilyPositionField,
|
|
|
- aF: $options.showFamilyPhoneField
|
|
|
+ aF: $options.showFamilyRelationField,
|
|
|
+ aG: $options.showFamilyNameField,
|
|
|
+ aH: $options.showFamilyWorkplaceField,
|
|
|
+ aI: $options.showFamilyPositionField,
|
|
|
+ aJ: $options.showFamilyPhoneField
|
|
|
} : {}, {
|
|
|
- aG: common_vendor.t($data.isEditing ? "编辑家庭成员" : "添加家庭成员"),
|
|
|
- aH: $data.isEditing
|
|
|
+ aK: common_vendor.t($data.isEditing ? "编辑家庭成员" : "添加家庭成员"),
|
|
|
+ aL: $data.isEditing
|
|
|
}, $data.isEditing ? {
|
|
|
- aI: common_vendor.o((...args) => $options.cancelEdit && $options.cancelEdit(...args))
|
|
|
+ aM: common_vendor.o((...args) => $options.cancelEdit && $options.cancelEdit(...args))
|
|
|
} : {}, {
|
|
|
- aJ: $options.showFamilyRelationField
|
|
|
+ aN: $options.showFamilyRelationField
|
|
|
}, $options.showFamilyRelationField ? common_vendor.e({
|
|
|
- aK: $data.familyMemberErrors.relation ? 1 : "",
|
|
|
- aL: $data.familyMemberForm.relation,
|
|
|
- aM: common_vendor.o(($event) => $data.familyMemberForm.relation = $event.detail.value),
|
|
|
- aN: $data.familyMemberErrors.relation
|
|
|
+ aO: $data.familyMemberErrors.relation ? 1 : "",
|
|
|
+ aP: $data.familyMemberForm.relation,
|
|
|
+ aQ: common_vendor.o(($event) => $data.familyMemberForm.relation = $event.detail.value),
|
|
|
+ aR: $data.familyMemberErrors.relation
|
|
|
}, $data.familyMemberErrors.relation ? {
|
|
|
- aO: common_vendor.t($data.familyMemberErrors.relation)
|
|
|
+ aS: common_vendor.t($data.familyMemberErrors.relation)
|
|
|
} : {}) : {}, {
|
|
|
- aP: $options.showFamilyNameField
|
|
|
+ aT: $options.showFamilyNameField
|
|
|
}, $options.showFamilyNameField ? common_vendor.e({
|
|
|
- aQ: $data.familyMemberErrors.name ? 1 : "",
|
|
|
- aR: $data.familyMemberForm.name,
|
|
|
- aS: common_vendor.o(($event) => $data.familyMemberForm.name = $event.detail.value),
|
|
|
- aT: $data.familyMemberErrors.name
|
|
|
+ aU: $data.familyMemberErrors.name ? 1 : "",
|
|
|
+ aV: $data.familyMemberForm.name,
|
|
|
+ aW: common_vendor.o(($event) => $data.familyMemberForm.name = $event.detail.value),
|
|
|
+ aX: $data.familyMemberErrors.name
|
|
|
}, $data.familyMemberErrors.name ? {
|
|
|
- aU: common_vendor.t($data.familyMemberErrors.name)
|
|
|
+ aY: common_vendor.t($data.familyMemberErrors.name)
|
|
|
} : {}) : {}, {
|
|
|
- aV: $options.showFamilyWorkplaceField
|
|
|
+ aZ: $options.showFamilyWorkplaceField
|
|
|
}, $options.showFamilyWorkplaceField ? {
|
|
|
- aW: $data.familyMemberForm.workplaceOrAddress,
|
|
|
- aX: common_vendor.o(($event) => $data.familyMemberForm.workplaceOrAddress = $event.detail.value)
|
|
|
+ ba: $data.familyMemberForm.workplaceOrAddress,
|
|
|
+ bb: common_vendor.o(($event) => $data.familyMemberForm.workplaceOrAddress = $event.detail.value)
|
|
|
} : {}, {
|
|
|
- aY: $options.showFamilyPositionField
|
|
|
+ bc: $options.showFamilyPositionField
|
|
|
}, $options.showFamilyPositionField ? {
|
|
|
- aZ: $data.familyMemberForm.position,
|
|
|
- ba: common_vendor.o(($event) => $data.familyMemberForm.position = $event.detail.value)
|
|
|
+ bd: $data.familyMemberForm.position,
|
|
|
+ be: common_vendor.o(($event) => $data.familyMemberForm.position = $event.detail.value)
|
|
|
} : {}, {
|
|
|
- bb: $options.showFamilyPhoneField
|
|
|
+ bf: $options.showFamilyPhoneField
|
|
|
}, $options.showFamilyPhoneField ? common_vendor.e({
|
|
|
- bc: common_vendor.o([($event) => $data.familyMemberForm.phone = $event.detail.value, (...args) => $options.validatePhone && $options.validatePhone(...args)]),
|
|
|
- bd: $data.familyMemberErrors.phone ? 1 : "",
|
|
|
- be: $data.familyMemberForm.phone,
|
|
|
- bf: $data.familyMemberErrors.phone
|
|
|
+ bg: common_vendor.o([($event) => $data.familyMemberForm.phone = $event.detail.value, (...args) => $options.validatePhone && $options.validatePhone(...args)]),
|
|
|
+ bh: $data.familyMemberErrors.phone ? 1 : "",
|
|
|
+ bi: $data.familyMemberForm.phone,
|
|
|
+ bj: $data.familyMemberErrors.phone
|
|
|
}, $data.familyMemberErrors.phone ? {
|
|
|
- bg: common_vendor.t($data.familyMemberErrors.phone)
|
|
|
+ bk: common_vendor.t($data.familyMemberErrors.phone)
|
|
|
} : {}) : {}, {
|
|
|
- bh: $data.familyMemberForm.isEmergencyContact,
|
|
|
- bi: common_vendor.o((...args) => $options.handleEmergencyContactChange && $options.handleEmergencyContactChange(...args)),
|
|
|
- bj: common_vendor.t($data.isEditing ? "✓" : "+"),
|
|
|
- bk: common_vendor.o((...args) => $options.saveFamilyMember && $options.saveFamilyMember(...args)),
|
|
|
- bl: common_vendor.t($data.isEditing ? "保存修改" : "添加成员")
|
|
|
+ bl: $options.showFamilyisEmergency
|
|
|
+ }, $options.showFamilyisEmergency ? {
|
|
|
+ bm: $data.familyMemberForm.isEmergencyContact,
|
|
|
+ bn: common_vendor.o((...args) => $options.handleEmergencyContactChange && $options.handleEmergencyContactChange(...args))
|
|
|
+ } : {}, {
|
|
|
+ bo: common_vendor.t($data.isEditing ? "✓" : "+"),
|
|
|
+ bp: common_vendor.o((...args) => $options.saveFamilyMember && $options.saveFamilyMember(...args)),
|
|
|
+ bq: common_vendor.t($data.isEditing ? "保存修改" : "添加成员")
|
|
|
}) : {}, {
|
|
|
- bm: $data.currentStep === 5
|
|
|
+ br: $data.currentStep === 5
|
|
|
}, $data.currentStep === 5 ? common_vendor.e({
|
|
|
- bn: $data.educationList.length > 0
|
|
|
+ bs: $data.educationList.length > 0
|
|
|
}, $data.educationList.length > 0 ? {
|
|
|
- bo: common_vendor.f($data.educationList, (edu, index, i0) => {
|
|
|
+ bt: common_vendor.f($data.educationList, (edu, index, i0) => {
|
|
|
return common_vendor.e({
|
|
|
a: common_vendor.t(index === 0 ? "第一学历" : "最高学历"),
|
|
|
b: common_vendor.o(($event) => $options.editEducation(index), index),
|
|
@@ -1870,98 +1916,98 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
i: index
|
|
|
});
|
|
|
}),
|
|
|
- bp: $options.showEducationTimeField,
|
|
|
- bq: $options.showEducationSchoolField,
|
|
|
- br: $options.showEducationMajorField,
|
|
|
- bs: $options.showEducationDegreeField
|
|
|
+ bv: $options.showEducationTimeField,
|
|
|
+ bw: $options.showEducationSchoolField,
|
|
|
+ bx: $options.showEducationMajorField,
|
|
|
+ by: $options.showEducationDegreeField
|
|
|
} : {}, {
|
|
|
- bt: $data.educationList.length < 2 || $data.isEditingEducation
|
|
|
+ bz: $data.educationList.length < 2 || $data.isEditingEducation
|
|
|
}, $data.educationList.length < 2 || $data.isEditingEducation ? common_vendor.e({
|
|
|
- bv: common_vendor.t($data.isEditingEducation ? "编辑教育经历" : $data.educationList.length === 0 ? "添加第一学历" : "添加最高学历"),
|
|
|
- bw: $data.isEditingEducation
|
|
|
+ bA: common_vendor.t($data.isEditingEducation ? "编辑教育经历" : $data.educationList.length === 0 ? "添加第一学历" : "添加最高学历"),
|
|
|
+ bB: $data.isEditingEducation
|
|
|
}, $data.isEditingEducation ? {
|
|
|
- bx: common_vendor.o((...args) => $options.cancelEditEducation && $options.cancelEditEducation(...args))
|
|
|
+ bC: common_vendor.o((...args) => $options.cancelEditEducation && $options.cancelEditEducation(...args))
|
|
|
} : {}, {
|
|
|
- by: $options.showEducationTimeField
|
|
|
+ bD: $options.showEducationTimeField
|
|
|
}, $options.showEducationTimeField ? common_vendor.e({
|
|
|
- bz: common_vendor.t($data.educationForm.startTime || "开始时间"),
|
|
|
- bA: $data.educationForm.startTime,
|
|
|
- bB: common_vendor.o((...args) => $options.bindStartTimeChange && $options.bindStartTimeChange(...args)),
|
|
|
- bC: $data.educationErrors.startTime ? 1 : "",
|
|
|
- bD: common_vendor.t($data.educationForm.endTime || "结束时间"),
|
|
|
- bE: $data.educationForm.endTime,
|
|
|
- bF: common_vendor.o((...args) => $options.bindEndTimeChange && $options.bindEndTimeChange(...args)),
|
|
|
- bG: $data.educationErrors.endTime ? 1 : "",
|
|
|
- bH: $data.educationErrors.startTime
|
|
|
+ bE: common_vendor.t($data.educationForm.startTime || "开始时间"),
|
|
|
+ bF: $data.educationForm.startTime,
|
|
|
+ bG: common_vendor.o((...args) => $options.bindStartTimeChange && $options.bindStartTimeChange(...args)),
|
|
|
+ bH: $data.educationErrors.startTime ? 1 : "",
|
|
|
+ bI: common_vendor.t($data.educationForm.endTime || "结束时间"),
|
|
|
+ bJ: $data.educationForm.endTime,
|
|
|
+ bK: common_vendor.o((...args) => $options.bindEndTimeChange && $options.bindEndTimeChange(...args)),
|
|
|
+ bL: $data.educationErrors.endTime ? 1 : "",
|
|
|
+ bM: $data.educationErrors.startTime
|
|
|
}, $data.educationErrors.startTime ? {
|
|
|
- bI: common_vendor.t($data.educationErrors.startTime)
|
|
|
+ bN: common_vendor.t($data.educationErrors.startTime)
|
|
|
} : {}, {
|
|
|
- bJ: $data.educationErrors.endTime
|
|
|
+ bO: $data.educationErrors.endTime
|
|
|
}, $data.educationErrors.endTime ? {
|
|
|
- bK: common_vendor.t($data.educationErrors.endTime)
|
|
|
+ bP: common_vendor.t($data.educationErrors.endTime)
|
|
|
} : {}) : {}, {
|
|
|
- bL: $options.showEducationSchoolField
|
|
|
+ bQ: $options.showEducationSchoolField
|
|
|
}, $options.showEducationSchoolField ? common_vendor.e({
|
|
|
- bM: $data.educationErrors.schoolName ? 1 : "",
|
|
|
- bN: $data.educationForm.schoolName,
|
|
|
- bO: common_vendor.o(($event) => $data.educationForm.schoolName = $event.detail.value),
|
|
|
- bP: $data.educationErrors.schoolName
|
|
|
+ bR: $data.educationErrors.schoolName ? 1 : "",
|
|
|
+ bS: $data.educationForm.schoolName,
|
|
|
+ bT: common_vendor.o(($event) => $data.educationForm.schoolName = $event.detail.value),
|
|
|
+ bU: $data.educationErrors.schoolName
|
|
|
}, $data.educationErrors.schoolName ? {
|
|
|
- bQ: common_vendor.t($data.educationErrors.schoolName)
|
|
|
+ bV: common_vendor.t($data.educationErrors.schoolName)
|
|
|
} : {}) : {}, {
|
|
|
- bR: $options.showEducationMajorField
|
|
|
+ bW: $options.showEducationMajorField
|
|
|
}, $options.showEducationMajorField ? common_vendor.e({
|
|
|
- bS: $data.educationErrors.major ? 1 : "",
|
|
|
- bT: $data.educationForm.major,
|
|
|
- bU: common_vendor.o(($event) => $data.educationForm.major = $event.detail.value),
|
|
|
- bV: $data.educationErrors.major
|
|
|
+ bX: $data.educationErrors.major ? 1 : "",
|
|
|
+ bY: $data.educationForm.major,
|
|
|
+ bZ: common_vendor.o(($event) => $data.educationForm.major = $event.detail.value),
|
|
|
+ ca: $data.educationErrors.major
|
|
|
}, $data.educationErrors.major ? {
|
|
|
- bW: common_vendor.t($data.educationErrors.major)
|
|
|
+ cb: common_vendor.t($data.educationErrors.major)
|
|
|
} : {}) : {}, {
|
|
|
- bX: $options.showEducationDegreeField
|
|
|
+ cc: $options.showEducationDegreeField
|
|
|
}, $options.showEducationDegreeField ? common_vendor.e({
|
|
|
- bY: common_vendor.t($data.degreeOptions[$data.degreeIndex] || "请选择学历"),
|
|
|
- bZ: common_vendor.o((...args) => $options.bindDegreeChange && $options.bindDegreeChange(...args)),
|
|
|
- ca: $data.degreeIndex,
|
|
|
- cb: $data.degreeOptions,
|
|
|
- cc: $data.educationErrors.degree ? 1 : "",
|
|
|
- cd: $data.educationErrors.degree
|
|
|
+ cd: common_vendor.t($data.degreeOptions[$data.degreeIndex] || "请选择学历"),
|
|
|
+ ce: common_vendor.o((...args) => $options.bindDegreeChange && $options.bindDegreeChange(...args)),
|
|
|
+ cf: $data.degreeIndex,
|
|
|
+ cg: $data.degreeOptions,
|
|
|
+ ch: $data.educationErrors.degree ? 1 : "",
|
|
|
+ ci: $data.educationErrors.degree
|
|
|
}, $data.educationErrors.degree ? {
|
|
|
- ce: common_vendor.t($data.educationErrors.degree)
|
|
|
+ cj: common_vendor.t($data.educationErrors.degree)
|
|
|
} : {}) : {}, {
|
|
|
- cf: common_vendor.t($data.isEditingEducation ? "✓" : "+"),
|
|
|
- cg: common_vendor.o((...args) => $options.saveEducation && $options.saveEducation(...args)),
|
|
|
- ch: common_vendor.t($data.isEditingEducation ? "保存修改" : "添加学历")
|
|
|
+ ck: common_vendor.t($data.isEditingEducation ? "✓" : "+"),
|
|
|
+ cl: common_vendor.o((...args) => $options.saveEducation && $options.saveEducation(...args)),
|
|
|
+ cm: common_vendor.t($data.isEditingEducation ? "保存修改" : "添加学历")
|
|
|
}) : {}) : {}, {
|
|
|
- ci: $data.currentStep === 6 && ($options.showRequireTrainingInfoField || $options.showRequireProfessionalSkillsField)
|
|
|
+ cn: $data.currentStep === 6 && ($options.showRequireTrainingInfoField || $options.showRequireProfessionalSkillsField)
|
|
|
}, $data.currentStep === 6 && ($options.showRequireTrainingInfoField || $options.showRequireProfessionalSkillsField) ? common_vendor.e({
|
|
|
- cj: $options.showRequireTrainingInfoField
|
|
|
+ co: $options.showRequireTrainingInfoField
|
|
|
}, $options.showRequireTrainingInfoField ? {} : {}, {
|
|
|
- ck: $options.showRequireTrainingInfoField
|
|
|
+ cp: $options.showRequireTrainingInfoField
|
|
|
}, $options.showRequireTrainingInfoField ? common_vendor.e({
|
|
|
- cl: $data.formErrors.skills ? 1 : "",
|
|
|
- cm: $data.formData.skills,
|
|
|
- cn: common_vendor.o(($event) => $data.formData.skills = $event.detail.value),
|
|
|
- co: $data.formErrors.skills
|
|
|
+ cq: $data.formErrors.skills ? 1 : "",
|
|
|
+ cr: $data.formData.skills,
|
|
|
+ cs: common_vendor.o(($event) => $data.formData.skills = $event.detail.value),
|
|
|
+ ct: $data.formErrors.skills
|
|
|
}, $data.formErrors.skills ? {
|
|
|
- cp: common_vendor.t($data.formErrors.skills)
|
|
|
+ cv: common_vendor.t($data.formErrors.skills)
|
|
|
} : {}) : {}, {
|
|
|
- cq: $options.showRequireProfessionalSkillsField
|
|
|
+ cw: $options.showRequireProfessionalSkillsField
|
|
|
}, $options.showRequireProfessionalSkillsField ? {} : {}, {
|
|
|
- cr: $options.showRequireProfessionalSkillsField
|
|
|
+ cx: $options.showRequireProfessionalSkillsField
|
|
|
}, $options.showRequireProfessionalSkillsField ? common_vendor.e({
|
|
|
- cs: $data.formErrors.training ? 1 : "",
|
|
|
- ct: $data.formData.training,
|
|
|
- cv: common_vendor.o(($event) => $data.formData.training = $event.detail.value),
|
|
|
- cw: $data.formErrors.training
|
|
|
+ cy: $data.formErrors.training ? 1 : "",
|
|
|
+ cz: $data.formData.training,
|
|
|
+ cA: common_vendor.o(($event) => $data.formData.training = $event.detail.value),
|
|
|
+ cB: $data.formErrors.training
|
|
|
}, $data.formErrors.training ? {
|
|
|
- cx: common_vendor.t($data.formErrors.training)
|
|
|
+ cC: common_vendor.t($data.formErrors.training)
|
|
|
} : {}) : {}) : {}, {
|
|
|
- cy: $data.currentStep === 8
|
|
|
+ cD: $data.currentStep === 8
|
|
|
}, $data.currentStep === 8 ? common_vendor.e({
|
|
|
- cz: $data.workList.length > 0
|
|
|
+ cE: $data.workList.length > 0
|
|
|
}, $data.workList.length > 0 ? {
|
|
|
- cA: common_vendor.f($data.workList, (work, index, i0) => {
|
|
|
+ cF: common_vendor.f($data.workList, (work, index, i0) => {
|
|
|
return common_vendor.e({
|
|
|
a: common_vendor.t(index + 1),
|
|
|
b: common_vendor.o(($event) => $options.editWork(index), index),
|
|
@@ -1977,115 +2023,127 @@ function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
|
h: common_vendor.t(work.employeeCount)
|
|
|
} : {}, $options.showWorkPositionField ? {
|
|
|
i: common_vendor.t(work.position)
|
|
|
+ } : {}, $options.showWorkMonthlySalary ? {
|
|
|
+ j: common_vendor.t(work.monthlySalary)
|
|
|
+ } : {}, $options.showWorkSupervisor ? {
|
|
|
+ k: common_vendor.t(work.supervisor)
|
|
|
+ } : {}, $options.showWorkSupervisorPhone ? {
|
|
|
+ l: common_vendor.t(work.supervisorPhone)
|
|
|
} : {}, {
|
|
|
- j: common_vendor.t(work.monthlySalary),
|
|
|
- k: common_vendor.t(work.supervisor),
|
|
|
- l: common_vendor.t(work.supervisorPhone),
|
|
|
m: index
|
|
|
});
|
|
|
}),
|
|
|
- cB: $options.showWorkTimeField,
|
|
|
- cC: $options.showWorkCompanyField,
|
|
|
- cD: $options.showWorkDepartmentField,
|
|
|
- cE: $options.showWorkEmployeeCountField,
|
|
|
- cF: $options.showWorkPositionField
|
|
|
+ cG: $options.showWorkTimeField,
|
|
|
+ cH: $options.showWorkCompanyField,
|
|
|
+ cI: $options.showWorkDepartmentField,
|
|
|
+ cJ: $options.showWorkEmployeeCountField,
|
|
|
+ cK: $options.showWorkPositionField,
|
|
|
+ cL: $options.showWorkMonthlySalary,
|
|
|
+ cM: $options.showWorkSupervisor,
|
|
|
+ cN: $options.showWorkSupervisorPhone
|
|
|
} : {}, {
|
|
|
- cG: $data.workList.length < 2 || $data.isEditingWork
|
|
|
+ cO: $data.workList.length < 2 || $data.isEditingWork
|
|
|
}, $data.workList.length < 2 || $data.isEditingWork ? common_vendor.e({
|
|
|
- cH: common_vendor.t($data.isEditingWork ? "编辑工作经历" : "添加工作经历"),
|
|
|
- cI: $data.isEditingWork
|
|
|
+ cP: common_vendor.t($data.isEditingWork ? "编辑工作经历" : "添加工作经历"),
|
|
|
+ cQ: $data.isEditingWork
|
|
|
}, $data.isEditingWork ? {
|
|
|
- cJ: common_vendor.o((...args) => $options.cancelEditWork && $options.cancelEditWork(...args))
|
|
|
+ cR: common_vendor.o((...args) => $options.cancelEditWork && $options.cancelEditWork(...args))
|
|
|
} : {}, {
|
|
|
- cK: $options.showWorkTimeField
|
|
|
+ cS: $options.showWorkTimeField
|
|
|
}, $options.showWorkTimeField ? common_vendor.e({
|
|
|
- cL: common_vendor.t($data.workForm.startTime || "开始时间"),
|
|
|
- cM: $data.workForm.startTime,
|
|
|
- cN: common_vendor.o((...args) => $options.bindWorkStartTimeChange && $options.bindWorkStartTimeChange(...args)),
|
|
|
- cO: $data.workErrors.startTime ? 1 : "",
|
|
|
- cP: common_vendor.t($data.workForm.endTime || "结束时间"),
|
|
|
- cQ: $data.workForm.endTime,
|
|
|
- cR: common_vendor.o((...args) => $options.bindWorkEndTimeChange && $options.bindWorkEndTimeChange(...args)),
|
|
|
- cS: $data.workErrors.endTime ? 1 : "",
|
|
|
- cT: $data.workErrors.startTime
|
|
|
+ cT: common_vendor.t($data.workForm.startTime || "开始时间"),
|
|
|
+ cU: $data.workForm.startTime,
|
|
|
+ cV: common_vendor.o((...args) => $options.bindWorkStartTimeChange && $options.bindWorkStartTimeChange(...args)),
|
|
|
+ cW: $data.workErrors.startTime ? 1 : "",
|
|
|
+ cX: common_vendor.t($data.workForm.endTime || "结束时间"),
|
|
|
+ cY: $data.workForm.endTime,
|
|
|
+ cZ: common_vendor.o((...args) => $options.bindWorkEndTimeChange && $options.bindWorkEndTimeChange(...args)),
|
|
|
+ da: $data.workErrors.endTime ? 1 : "",
|
|
|
+ db: $data.workErrors.startTime
|
|
|
}, $data.workErrors.startTime ? {
|
|
|
- cU: common_vendor.t($data.workErrors.startTime)
|
|
|
+ dc: common_vendor.t($data.workErrors.startTime)
|
|
|
} : {}, {
|
|
|
- cV: $data.workErrors.endTime
|
|
|
+ dd: $data.workErrors.endTime
|
|
|
}, $data.workErrors.endTime ? {
|
|
|
- cW: common_vendor.t($data.workErrors.endTime)
|
|
|
+ de: common_vendor.t($data.workErrors.endTime)
|
|
|
} : {}) : {}, {
|
|
|
- cX: $options.showWorkCompanyField
|
|
|
+ df: $options.showWorkCompanyField
|
|
|
}, $options.showWorkCompanyField ? common_vendor.e({
|
|
|
- cY: $data.workErrors.companyName ? 1 : "",
|
|
|
- cZ: $data.workForm.companyName,
|
|
|
- da: common_vendor.o(($event) => $data.workForm.companyName = $event.detail.value),
|
|
|
- db: $data.workErrors.companyName
|
|
|
+ dg: $data.workErrors.companyName ? 1 : "",
|
|
|
+ dh: $data.workForm.companyName,
|
|
|
+ di: common_vendor.o(($event) => $data.workForm.companyName = $event.detail.value),
|
|
|
+ dj: $data.workErrors.companyName
|
|
|
}, $data.workErrors.companyName ? {
|
|
|
- dc: common_vendor.t($data.workErrors.companyName)
|
|
|
+ dk: common_vendor.t($data.workErrors.companyName)
|
|
|
} : {}) : {}, {
|
|
|
- dd: $options.showWorkEmployeeCountField
|
|
|
+ dl: $options.showWorkEmployeeCountField
|
|
|
}, $options.showWorkEmployeeCountField ? common_vendor.e({
|
|
|
- de: $data.workErrors.employeeCount ? 1 : "",
|
|
|
- df: common_vendor.o((...args) => $options.validateEmployeeCount && $options.validateEmployeeCount(...args)),
|
|
|
- dg: $data.workForm.employeeCount,
|
|
|
- dh: common_vendor.o(($event) => $data.workForm.employeeCount = $event.detail.value),
|
|
|
- di: $data.workErrors.employeeCount
|
|
|
+ dm: $data.workErrors.employeeCount ? 1 : "",
|
|
|
+ dn: common_vendor.o((...args) => $options.validateEmployeeCount && $options.validateEmployeeCount(...args)),
|
|
|
+ dp: $data.workForm.employeeCount,
|
|
|
+ dq: common_vendor.o(($event) => $data.workForm.employeeCount = $event.detail.value),
|
|
|
+ dr: $data.workErrors.employeeCount
|
|
|
}, $data.workErrors.employeeCount ? {
|
|
|
- dj: common_vendor.t($data.workErrors.employeeCount)
|
|
|
+ ds: common_vendor.t($data.workErrors.employeeCount)
|
|
|
} : {}) : {}, {
|
|
|
- dk: $options.showWorkDepartmentField
|
|
|
+ dt: $options.showWorkDepartmentField
|
|
|
}, $options.showWorkDepartmentField ? common_vendor.e({
|
|
|
- dl: $data.workErrors.department ? 1 : "",
|
|
|
- dm: $data.workForm.department,
|
|
|
- dn: common_vendor.o(($event) => $data.workForm.department = $event.detail.value),
|
|
|
- dp: $data.workErrors.department
|
|
|
+ dv: $data.workErrors.department ? 1 : "",
|
|
|
+ dw: $data.workForm.department,
|
|
|
+ dx: common_vendor.o(($event) => $data.workForm.department = $event.detail.value),
|
|
|
+ dy: $data.workErrors.department
|
|
|
}, $data.workErrors.department ? {
|
|
|
- dq: common_vendor.t($data.workErrors.department)
|
|
|
+ dz: common_vendor.t($data.workErrors.department)
|
|
|
} : {}) : {}, {
|
|
|
- dr: $options.showWorkPositionField
|
|
|
+ dA: $options.showWorkPositionField
|
|
|
}, $options.showWorkPositionField ? common_vendor.e({
|
|
|
- ds: $data.workErrors.position ? 1 : "",
|
|
|
- dt: $data.workForm.position,
|
|
|
- dv: common_vendor.o(($event) => $data.workForm.position = $event.detail.value),
|
|
|
- dw: $data.workErrors.position
|
|
|
+ dB: $data.workErrors.position ? 1 : "",
|
|
|
+ dC: $data.workForm.position,
|
|
|
+ dD: common_vendor.o(($event) => $data.workForm.position = $event.detail.value),
|
|
|
+ dE: $data.workErrors.position
|
|
|
}, $data.workErrors.position ? {
|
|
|
- dx: common_vendor.t($data.workErrors.position)
|
|
|
+ dF: common_vendor.t($data.workErrors.position)
|
|
|
} : {}) : {}, {
|
|
|
- dy: $data.workErrors.monthlySalary ? 1 : "",
|
|
|
- dz: common_vendor.o([($event) => $data.workForm.monthlySalary = $event.detail.value, (...args) => $options.validateMonthlySalary && $options.validateMonthlySalary(...args)]),
|
|
|
- dA: $data.workForm.monthlySalary,
|
|
|
- dB: $data.workErrors.monthlySalary
|
|
|
+ dG: $options.showWorkMonthlySalary
|
|
|
+ }, $options.showWorkMonthlySalary ? common_vendor.e({
|
|
|
+ dH: $data.workErrors.monthlySalary ? 1 : "",
|
|
|
+ dI: common_vendor.o([($event) => $data.workForm.monthlySalary = $event.detail.value, (...args) => $options.validateMonthlySalary && $options.validateMonthlySalary(...args)]),
|
|
|
+ dJ: $data.workForm.monthlySalary,
|
|
|
+ dK: $data.workErrors.monthlySalary
|
|
|
}, $data.workErrors.monthlySalary ? {
|
|
|
- dC: common_vendor.t($data.workErrors.monthlySalary)
|
|
|
- } : {}, {
|
|
|
- dD: $data.workForm.supervisor,
|
|
|
- dE: common_vendor.o(($event) => $data.workForm.supervisor = $event.detail.value),
|
|
|
- dF: $data.workErrors.supervisor
|
|
|
+ dL: common_vendor.t($data.workErrors.monthlySalary)
|
|
|
+ } : {}) : {}, {
|
|
|
+ dM: $options.showWorkSupervisor
|
|
|
+ }, $options.showWorkSupervisor ? common_vendor.e({
|
|
|
+ dN: $data.workForm.supervisor,
|
|
|
+ dO: common_vendor.o(($event) => $data.workForm.supervisor = $event.detail.value),
|
|
|
+ dP: $data.workErrors.supervisor
|
|
|
}, $data.workErrors.supervisor ? {
|
|
|
- dG: common_vendor.t($data.workErrors.supervisor)
|
|
|
- } : {}, {
|
|
|
- dH: common_vendor.o([($event) => $data.workForm.supervisorPhone = $event.detail.value, (...args) => $options.validatePhone && $options.validatePhone(...args)]),
|
|
|
- dI: $data.workForm.supervisorPhone,
|
|
|
- dJ: $data.workErrors.supervisorPhone
|
|
|
+ dQ: common_vendor.t($data.workErrors.supervisor)
|
|
|
+ } : {}) : {}, {
|
|
|
+ dR: $options.showWorkSupervisorPhone
|
|
|
+ }, $options.showWorkSupervisorPhone ? common_vendor.e({
|
|
|
+ dS: common_vendor.o([($event) => $data.workForm.supervisorPhone = $event.detail.value, (...args) => $options.validatePhone && $options.validatePhone(...args)]),
|
|
|
+ dT: $data.workForm.supervisorPhone,
|
|
|
+ dU: $data.workErrors.supervisorPhone
|
|
|
}, $data.workErrors.supervisorPhone ? {
|
|
|
- dK: common_vendor.t($data.workErrors.supervisorPhone)
|
|
|
- } : {}, {
|
|
|
- dL: common_vendor.t($data.isEditingWork ? "✓" : "+"),
|
|
|
- dM: common_vendor.o((...args) => $options.saveWork && $options.saveWork(...args)),
|
|
|
- dN: common_vendor.t($data.isEditingWork ? "保存修改" : "添加工作经历")
|
|
|
+ dV: common_vendor.t($data.workErrors.supervisorPhone)
|
|
|
+ } : {}) : {}, {
|
|
|
+ dW: common_vendor.t($data.isEditingWork ? "✓" : "+"),
|
|
|
+ dX: common_vendor.o((...args) => $options.saveWork && $options.saveWork(...args)),
|
|
|
+ dY: common_vendor.t($data.isEditingWork ? "保存修改" : "添加工作经历")
|
|
|
}) : {}) : {}, {
|
|
|
- dO: $options.showPrevButton
|
|
|
+ dZ: $options.showPrevButton
|
|
|
}, $options.showPrevButton ? {
|
|
|
- dP: common_vendor.o((...args) => $options.prevStep && $options.prevStep(...args))
|
|
|
+ ea: common_vendor.o((...args) => $options.prevStep && $options.prevStep(...args))
|
|
|
} : {}, {
|
|
|
- dQ: $options.showNextButton
|
|
|
+ eb: $options.showNextButton
|
|
|
}, $options.showNextButton ? {
|
|
|
- dR: common_vendor.o((...args) => $options.nextStep && $options.nextStep(...args))
|
|
|
+ ec: common_vendor.o((...args) => $options.nextStep && $options.nextStep(...args))
|
|
|
} : {}, {
|
|
|
- dS: $options.showSubmitButton
|
|
|
+ ed: $options.showSubmitButton
|
|
|
}, $options.showSubmitButton ? {
|
|
|
- dT: common_vendor.o((...args) => $options.submitForm && $options.submitForm(...args))
|
|
|
+ ee: common_vendor.o((...args) => $options.submitForm && $options.submitForm(...args))
|
|
|
} : {});
|
|
|
}
|
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
|