| | |
| | | componentProps: { placeholder: '请输入颁发机构' }, |
| | | }, |
| | | { |
| | | fieldName: 'issueDate', |
| | | fieldName: 'validStartDate', |
| | | label: '颁发日期', |
| | | component: 'DatePicker', |
| | | componentProps: { |
| | |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'expireDate', |
| | | fieldName: 'validEndDate', |
| | | label: '到期日期', |
| | | component: 'DatePicker', |
| | | componentProps: { |
| | |
| | | valueFormat: 'YYYY-MM-DD', |
| | | }, |
| | | rules: 'required', |
| | | }, |
| | | { |
| | | fieldName: 'blobIds', |
| | | label: '证书附件', |
| | | component: 'FileUpload', |
| | | componentProps: { |
| | | valueKey: 'id', |
| | | maxNumber: 10, |
| | | multiple: true, |
| | | accept: ['jpg', 'jpeg', 'png', 'pdf', 'doc', 'docx'], |
| | | helpText: '支持jpg、jpeg、png、pdf、doc、docx格式,单个文件不超过2MB', |
| | | }, |
| | | formItemClass: 'md:col-span-2', |
| | | }, |
| | | { |
| | | fieldName: 'remark', |
| | |
| | | cellRender: { name: 'CellTag', props: CERTIFICATE_TYPE_CELLTAG }, |
| | | }, |
| | | { field: 'issuingAuthority', title: '颁发机构', minWidth: 120 }, |
| | | { field: 'issueDate', title: '颁发日期', minWidth: 120 }, |
| | | { field: 'expireDate', title: '到期日期', minWidth: 120 }, |
| | | { field: 'validStartDate', title: '颁发日期', minWidth: 120 }, |
| | | { field: 'validEndDate', title: '到期日期', minWidth: 120 }, |
| | | { field: 'createTime', title: '创建时间', minWidth: 160 }, |
| | | { |
| | | field: 'attachmentList', |
| | | title: '附件', |
| | | minWidth: 100, |
| | | fixed: 'right', |
| | | slots: { default: 'attachment' }, |
| | | }, |
| | | { |
| | | title: '操作', |
| | | width: 130, |
| | | fixed: 'right', |