| | |
| | | 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', |
| | | label: '备注', |
| | | component: 'Textarea', |
| | |
| | | { 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', |