| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386 |
- 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,
- },
- ],
- };
|