去掉学历类型
parent
69ecb5ffba
commit
c81fc65502
|
|
@ -17,17 +17,11 @@
|
||||||
{idCardNo}
|
{idCardNo}
|
||||||
联系电话
|
联系电话
|
||||||
{phone}
|
{phone}
|
||||||
学 历
|
学 历学 位
|
||||||
学 位
|
学历层次
|
||||||
全日制教育
|
|
||||||
{education}
|
{education}
|
||||||
毕业院校及专业
|
毕业院校及专业
|
||||||
{schoolMajor}
|
{schoolMajor}
|
||||||
|
|
||||||
在职教育
|
|
||||||
{ZYeducation}
|
|
||||||
毕业院校及专业
|
|
||||||
{ZYschoolMajor}
|
|
||||||
出版学术专著、专利、科技发明、获得科技进步奖、发表学术论文等情况
|
出版学术专著、专利、科技发明、获得科技进步奖、发表学术论文等情况
|
||||||
{publications}
|
{publications}
|
||||||
自我申报的专业能力及认定方式
|
自我申报的专业能力及认定方式
|
||||||
|
|
@ -9,7 +9,7 @@ import {
|
||||||
} from "~/enumerate/constant";
|
} from "~/enumerate/constant";
|
||||||
import "./index.less";
|
import "./index.less";
|
||||||
|
|
||||||
const RESUME_TEMPLATE_URL = "https://test-dragon-yf-pub.oss-cn-hangzhou.aliyuncs.com/jjb/6a87b61be4b063db1579e790.docx";
|
const RESUME_TEMPLATE_URL = "https://gbs-cqaqpj.oss-cn-beijing.aliyuncs.com/jjb/6a8fd835e4b043684e055900.docx";
|
||||||
|
|
||||||
const GENDER_MAP = { 1: "男", 2: "女" };
|
const GENDER_MAP = { 1: "男", 2: "女" };
|
||||||
|
|
||||||
|
|
@ -93,11 +93,7 @@ export default function StaffResumeModal({
|
||||||
const regCert = info.registeredSafetyEngineerCert;
|
const regCert = info.registeredSafetyEngineerCert;
|
||||||
const regCertFiles = parseFileList(regCert?.certAttachmentUrl);
|
const regCertFiles = parseFileList(regCert?.certAttachmentUrl);
|
||||||
|
|
||||||
const isZyEducation = info.educationTypeName === "在职教育";
|
const educationText = info.educationLevelName || "-";
|
||||||
|
|
||||||
const educationText = [info.educationTypeName, info.educationLevelName]
|
|
||||||
.filter(Boolean)
|
|
||||||
.join("") || "-";
|
|
||||||
|
|
||||||
const schoolMajorText = [info.graduateSchool, info.basicDisciplineMajorName]
|
const schoolMajorText = [info.graduateSchool, info.basicDisciplineMajorName]
|
||||||
.filter(Boolean)
|
.filter(Boolean)
|
||||||
|
|
@ -134,11 +130,8 @@ export default function StaffResumeModal({
|
||||||
certNo: display(regCert?.certNo),
|
certNo: display(regCert?.certNo),
|
||||||
idCardNo: maskIdCard(info.idCardNo),
|
idCardNo: maskIdCard(info.idCardNo),
|
||||||
phone: maskPhone(info.account),
|
phone: maskPhone(info.account),
|
||||||
// 全日制填 education/schoolMajor,在职教育填 ZYeducation/ZYschoolMajor
|
education: info.educationLevelName,
|
||||||
education: isZyEducation ? "" : info.educationLevelName,
|
schoolMajor: schoolMajorText,
|
||||||
schoolMajor: isZyEducation ? "" : schoolMajorText,
|
|
||||||
ZYeducation: isZyEducation ? info.educationLevelName : "",
|
|
||||||
ZYschoolMajor: isZyEducation ? schoolMajorText : "",
|
|
||||||
publications: info.publications || "无",
|
publications: info.publications || "无",
|
||||||
capability: capabilityText,
|
capability: capabilityText,
|
||||||
certFiles:
|
certFiles:
|
||||||
|
|
|
||||||
|
|
@ -217,9 +217,6 @@ export default function StaffViewModal({
|
||||||
学历信息
|
学历信息
|
||||||
</div>
|
</div>
|
||||||
<Descriptions bordered column={2} labelStyle={{ width: 120 }} size="small">
|
<Descriptions bordered column={2} labelStyle={{ width: 120 }} size="small">
|
||||||
<Descriptions.Item label="学历类型">
|
|
||||||
{info.educationTypeName || "-"}
|
|
||||||
</Descriptions.Item>
|
|
||||||
<Descriptions.Item label="毕业院校">
|
<Descriptions.Item label="毕业院校">
|
||||||
{info.graduateSchool}
|
{info.graduateSchool}
|
||||||
</Descriptions.Item>
|
</Descriptions.Item>
|
||||||
|
|
|
||||||
|
|
@ -145,12 +145,6 @@ export const PERSON_TYPE_OPTIONS = [
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/** 学历类型 */
|
|
||||||
export const EDUCATION_TYPE_OPTIONS = [
|
|
||||||
{ label: "全日制", value: "全日制" },
|
|
||||||
{ label: "在职教育", value: "在职教育" },
|
|
||||||
];
|
|
||||||
|
|
||||||
/** 学历层次 */
|
/** 学历层次 */
|
||||||
export const EDUCATION_LEVEL_OPTIONS = [
|
export const EDUCATION_LEVEL_OPTIONS = [
|
||||||
{ label: "博士研究生", value: "博士研究生" },
|
{ label: "博士研究生", value: "博士研究生" },
|
||||||
|
|
@ -195,9 +189,9 @@ export const PERSONNEL_POST_TYPE_MAP = PERSONNEL_POST_TYPE_OPTIONS.reduce(
|
||||||
|
|
||||||
/** 能力来源 */
|
/** 能力来源 */
|
||||||
export const ABILITY_SOURCE_OPTIONS = [
|
export const ABILITY_SOURCE_OPTIONS = [
|
||||||
{ label: "注册安全工程师", value: "REGISTERED_SAFETY_ENGINEER" },
|
{ label: "注册安全工程师证书", value: "REGISTERED_SAFETY_ENGINEER" },
|
||||||
{ label: "学历", value: "EDUCATION" },
|
{ label: "学历证书", value: "EDUCATION" },
|
||||||
{ label: "职称", value: "PROFESSIONAL_TITLE" },
|
{ label: "职称证书", value: "PROFESSIONAL_TITLE" },
|
||||||
{ label: "出版学术专著、专利、获奖、发表学术论文等", value: "ACADEMIC_ACHIEVEMENT" },
|
{ label: "出版学术专著、专利、获奖、发表学术论文等", value: "ACADEMIC_ACHIEVEMENT" },
|
||||||
];
|
];
|
||||||
export const ABILITY_SOURCE_MAP = ABILITY_SOURCE_OPTIONS.reduce(
|
export const ABILITY_SOURCE_MAP = ABILITY_SOURCE_OPTIONS.reduce(
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,6 @@ import { tools } from "@cqsjjb/jjb-common-lib";
|
||||||
import { NS_STAFF_INFO, NS_ORG_DEPARTMENT } from "~/enumerate/namespace";
|
import { NS_STAFF_INFO, NS_ORG_DEPARTMENT } from "~/enumerate/namespace";
|
||||||
import {
|
import {
|
||||||
EDUCATION_LEVEL_OPTIONS,
|
EDUCATION_LEVEL_OPTIONS,
|
||||||
EDUCATION_TYPE_OPTIONS,
|
|
||||||
REGISTER_ENGINEER_OPTIONS,
|
REGISTER_ENGINEER_OPTIONS,
|
||||||
REGISTER_ENGINEER_CATEGORY_OPTIONS,
|
REGISTER_ENGINEER_CATEGORY_OPTIONS,
|
||||||
ABILITY_SOURCE_OPTIONS,
|
ABILITY_SOURCE_OPTIONS,
|
||||||
|
|
@ -1127,26 +1126,6 @@ function StaffFormModal({
|
||||||
<Divider plain >学历信息</Divider>
|
<Divider plain >学历信息</Divider>
|
||||||
|
|
||||||
<Row gutter={16}>
|
<Row gutter={16}>
|
||||||
<Col span={12}>
|
|
||||||
<Form.Item
|
|
||||||
name="educationTypeCode"
|
|
||||||
label="学历类型"
|
|
||||||
rules={[{ required: true, message: "请选择学历类型" }]}
|
|
||||||
>
|
|
||||||
<Select
|
|
||||||
placeholder="请选择学历类型"
|
|
||||||
allowClear
|
|
||||||
options={EDUCATION_TYPE_OPTIONS}
|
|
||||||
onChange={(_val, option) => {
|
|
||||||
form.setFieldValue(
|
|
||||||
"educationTypeName",
|
|
||||||
option?.label || undefined,
|
|
||||||
);
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</Form.Item>
|
|
||||||
<Form.Item name="educationTypeName" noStyle />
|
|
||||||
</Col>
|
|
||||||
<Col span={12}>
|
<Col span={12}>
|
||||||
<Form.Item
|
<Form.Item
|
||||||
name="graduateSchool"
|
name="graduateSchool"
|
||||||
|
|
@ -1205,7 +1184,7 @@ function StaffFormModal({
|
||||||
/>
|
/>
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Col>
|
</Col>
|
||||||
<Col span={12}>
|
<Col span={24}>
|
||||||
<AttachmentUpload
|
<AttachmentUpload
|
||||||
name="proofMaterialUrl"
|
name="proofMaterialUrl"
|
||||||
label="学历证明材料"
|
label="学历证明材料"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue