export default { height: 'auto', calcHeight: 30, tip: false, searchShow: true, searchMenuSpan: 6, border: true, index: true, addBtn: false, viewBtn: true, menu: false, searchLabelWidth: 140, labelWidth: 140, menuWidth: 220, dialogClickModal: false, dialogWidth: 760, dialogType: "drawer", column: [ { label: '姓名', prop: 'name', type: 'input', span: 12, search: true, width: 80, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入姓名', trigger: 'blur', }, ], }, { label: '工号', prop: 'number', type: 'input', span: 12, width: 90, align: 'center', search: true, showOverflowTooltip: true, // rules: [ // { // required: true, // message: '请输入工号', // trigger: 'blur', // }, // ], }, { label: '身份证号', prop: 'idCard', type: 'input', span: 12, search: true, width: 150, align: 'center', showOverflowTooltip: true, // rules: [ // { // required: true, // message: '请输入身份证号', // trigger: 'blur', // }, // ], }, { label: '性别', prop: 'gender', type: 'select', dicUrl: '/api/kd-system/dict/dictionary?code=sex', props: { label: 'dictValue', value: 'dictKey', }, span: 12, width: 50, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请选择性别', trigger: 'change', }, ], }, { label: '出生日期', prop: 'birthday', type: 'date', valueFormat: 'yyyy-MM-DD', span: 12, width: 90, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请选择出生日期', trigger: 'blur', }, ], }, { label: '民族', prop: 'ethnic', type: 'input', span: 12, width: 80, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入民族', trigger: 'blur', }, ], }, { label: '所属二级单位/部门', prop: 'department', type: 'input', span: 12, width: 180, search: true, align: 'center', showOverflowTooltip: true, }, { label: '岗位职务', prop: 'post', type: 'input', span: 12, width: 100, align: 'center', search: true, showOverflowTooltip: true, rules: [ { required: true, message: '请输入岗位职务', trigger: 'blur', }, ], }, { label: '岗位所在地', prop: 'postLocation', type: 'input', span: 12, width: 100, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入岗位所在地', trigger: 'blur', }, ], }, { label: '用工性质', prop: 'nature', type: 'select', span: 12, width: 80, align: 'center', search: true, dicUrl: '/api/kd-system/dict-biz/dictionary?code=yonggongxingzhi', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, rules: [ { required: true, message: '请选择用工性质', trigger: 'change', }, ], }, { label: '入职时间', prop: 'hireDate', type: 'datetime', valueFormat: 'yyyy-MM-dd HH:mm:ss', span: 12, width: 90, align: 'center', search: true, showOverflowTooltip: true, rules: [ { required: true, message: '请选择入职时间', trigger: 'blur', }, ], }, { label: '最高学历', prop: 'education', type: 'select', span: 12, width: 100, align: 'center', search: true, dicUrl: '/api/kd-system/dict-biz/dictionary?code=xueli', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, rules: [ { required: true, message: '请选择最高学历', trigger: 'change', }, ], }, { label: '最高学位', prop: 'degree', type: 'select', span: 12, width: 70, align: 'center', search: true, dicUrl: '/api/kd-system/dict-biz/dictionary?code=xuewei', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, rules: [ { required: true, message: '请选择最高学位', trigger: 'change', }, ], }, { label: '最高学历学校', prop: 'schoolName', type: 'input', span: 12, width: 130, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入最高学历学校', trigger: 'blur', }, ], }, { label: '最高学历专业名称', prop: 'major', type: 'input', span: 12, width: 120, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入最高学历专业名称', trigger: 'blur', }, ], }, { label: '职称', prop: 'rank', type: 'select', span: 12, width: 100, align: 'center', search: true, dicUrl: '/api/kd-system/dict-biz/dictionary?code=zhicheng', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, rules: [ { required: true, message: '请选择职称', trigger: 'change', }, ], }, { label: '职业资格', prop: 'practicingRequirement', type: 'input', span: 12, width: 80, align: 'center', search: true, showOverflowTooltip: true, rules: [ { required: true, message: '请输入职业资格', trigger: 'blur', }, ], }, { label: '参研情况', prop: 'situation', type: 'select', span: 12, width: 80, align: 'center', search: true, dicUrl: '/api/kd-system/dict-biz/dictionary?code=canyanqingkuang', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, rules: [ { required: true, message: '请选择参研情况', trigger: 'change', }, ], }, { label: '人员类型', prop: 'personnelType', type: 'select', span: 12, width: 80, align: 'center', dicUrl: '/api/kd-system/dict-biz/dictionary?code=renyuanleixing', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, rules: [ { required: true, message: '请选择人员类型', trigger: 'change', }, ], }, { label: '其他说明', prop: 'remark', type: 'textarea', span: 24, minWidth: 160, showOverflowTooltip: true, }, { label: '本年度从事研发工作天数', prop: 'workDaysByYear', type: 'number', span: 12, width: 160, align: 'center', fixed: 'right', showOverflowTooltip: true, editDisplay: false, }, ], };