| | |
| | | rules: z.array(z.number()).min(1, '检测种类不能为空'), |
| | | }, |
| | | { |
| | | fieldName: 'defaultExecuteStandard', |
| | | label: '默认执行标准', |
| | | component: 'Input', |
| | | componentProps: { |
| | | maxlength: 50, |
| | | placeholder: '如 GB/T 6027,新建检验单选择本方案后自动带入执行标准', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'remark', |
| | | label: '备注', |
| | | component: 'Textarea', |
| | |
| | | width: 100, |
| | | }, |
| | | { |
| | | field: 'sortOrder', |
| | | title: '排序号', |
| | | width: 80, |
| | | }, |
| | | { |
| | | field: 'judgeFlag', |
| | | title: '参与判定', |
| | | width: 90, |
| | | slots: { default: 'judgeFlag' }, |
| | | }, |
| | | { |
| | | title: '操作', |
| | | width: 130, |
| | | fixed: 'right', |
| | |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'sortOrder', |
| | | label: '排序号', |
| | | component: 'InputNumber', |
| | | defaultValue: 0, |
| | | componentProps: { |
| | | class: '!w-full', |
| | | min: 0, |
| | | precision: 0, |
| | | placeholder: '方案内展示顺序,小的在前', |
| | | }, |
| | | }, |
| | | { |
| | | fieldName: 'judgeFlag', |
| | | label: '参与判定', |
| | | component: 'Switch', |
| | | defaultValue: true, |
| | | componentProps: { |
| | | checkedChildren: '是', |
| | | unCheckedChildren: '否', |
| | | }, |
| | | help: '分组行/中间参数行设为否,仅最终结果项参与合格判定提示', |
| | | }, |
| | | { |
| | | fieldName: 'remark', |
| | | label: '备注', |
| | | component: 'Textarea', |