| | |
| | | import { DICT_TYPE } from '@vben/constants'; |
| | | import { getDictOptions } from '@vben/hooks'; |
| | | |
| | | import { getSimpleUserList } from '#/api/system/user'; |
| | | import { DvMeteringSelect } from '#/views/mes/dv/metering/components'; |
| | | |
| | | /** 表单类型 */ |
| | |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'checkUserId', |
| | | fieldName: 'checkUserName', |
| | | label: '检测人', |
| | | component: 'ApiSelect', |
| | | component: 'Input', |
| | | componentProps: { |
| | | allowClear: true, |
| | | api: getSimpleUserList, |
| | | labelField: 'nickname', |
| | | placeholder: '请选择检测人', |
| | | valueField: 'id', |
| | | placeholder: '请输入检测人姓名', |
| | | maxlength: 100, |
| | | }, |
| | | }, |
| | | { |
| | |
| | | }, |
| | | }, |
| | | { field: 'certNo', title: '证书编号', minWidth: 130 }, |
| | | { field: 'checkUserNickname', title: '检测人', minWidth: 100 }, |
| | | { field: 'checkUserName', title: '检测人', minWidth: 100 }, |
| | | { |
| | | field: 'nextCheckDate', |
| | | title: '下次检测日期', |