export default { height: 'auto', calcHeight: 30, tip: false, searchShow: true, searchMenuSpan: 6, border: true, index: true, viewBtn: true, selection: true, addBtn: false, delBtn: false, searchLabelWidth: 140, labelWidth: 140, menuWidth: 160, dialogClickModal: false, dialogWidth: 760, dialogType: "drawer", column: [ { label: '技术人员花名册', align: 'center', display: false, children: [{ label: '姓名', prop: 'name', span: 12, search: true, width: 100, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入姓名', trigger: 'blur', }, ], }, { label: '工号', prop: 'number', span: 12, width: 130, align: 'center', search: true, showOverflowTooltip: true, rules: [ { required: true, message: '请输入工号', trigger: 'blur', }, ], }, { label: '身份证号', prop: 'identityCard', span: 12, search: true, width: 155, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入身份证号', trigger: 'blur', }, ], }, { label: '所属二级单位', prop: 'secondaryUnit', type: 'input', span: 12, width: 140, search: true, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入所属二级单位', trigger: 'blur', }, ], }, { label: '部门/科室/项目部', prop: 'department', type: 'input', span: 12, width: 140, search: true, align: 'center', showOverflowTooltip: true, rules: [ { required: true, message: '请输入部门/科室/项目部', trigger: 'blur', }, ], }, { 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, search: true, showOverflowTooltip: true, align: 'center', 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: 'situation', type: 'select', span: 12, width: 70, 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', search: true, dicUrl: '/api/kd-system/dict-biz/dictionary?code=renyuanleixing', props: { label: 'dictValue', value: 'dictKey', }, showOverflowTooltip: true, }] }, { label: '本年度参研情况', display: false, align: 'center', children: [{ label: '参与的研发项目', prop: 'cyxm', span: 12, width: 300, align: 'center', }, { label: '参研个数', prop: 'cygs', type: 'number', span: 12, width: 80, align: 'center', search: true }] }, { label: '研发时长情况(天、月)', display: false, align: 'center', children: [{ label: '1月', prop: 'one', type: 'number', span: 12, width: 50, align: 'center', }, { label: '2月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '3月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '4月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '5月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '6月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '7月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '8月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '9月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', // format: (val) { // console.log(val) // } }, { label: '10月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '11月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '12月', prop: 'two', type: 'number', span: 12, width: 50, align: 'center', }, { label: '天数合计', prop: 'total', display: false, width: 70, align: 'center', }] }, ], };