|
|
@@ -5,7 +5,7 @@
|
|
|
:title="fileFlow.title"
|
|
|
@visible-change="handleVisibleChange"
|
|
|
@cancel="resetFields"
|
|
|
- height="600px"
|
|
|
+ height="800px"
|
|
|
@ok="handleSubmit"
|
|
|
>
|
|
|
<div class="pt-2px pr-3px">
|
|
|
@@ -54,18 +54,39 @@
|
|
|
},
|
|
|
{
|
|
|
field: 'aiOption',
|
|
|
- component: 'CheckboxGroup',
|
|
|
- label: 'AI 识别配置:',
|
|
|
- componentProps: {
|
|
|
- options: [
|
|
|
- { label: '通用识别', value: 0 },
|
|
|
- { label: '文物病害', value: 1 },
|
|
|
- ],
|
|
|
- },
|
|
|
+ component: 'ApiSelect',
|
|
|
+ label: 'AI 识别配置',
|
|
|
colProps: {
|
|
|
- span: 24,
|
|
|
+ xl: 18,
|
|
|
+ xxl: 18,
|
|
|
+ },
|
|
|
+ componentProps: {
|
|
|
+ style: { width: '246px' },
|
|
|
+ api: feedbackOptionList,
|
|
|
+ mode: 'multiple',
|
|
|
+ numberToString: true,
|
|
|
+ labelField: 'nameCn',
|
|
|
+ resultField: 'list',
|
|
|
+ valueField: 'id',
|
|
|
+ listHeight: 140,
|
|
|
+ immediate: true,
|
|
|
+ params: { typeId: 5, pageSize: 9999, pageNum: 1 },
|
|
|
},
|
|
|
},
|
|
|
+ // {
|
|
|
+ // field: 'aiOption',
|
|
|
+ // component: 'CheckboxGroup',
|
|
|
+ // label: 'AI 识别配置:',
|
|
|
+ // componentProps: {
|
|
|
+ // options: [
|
|
|
+ // { label: '通用识别', value: 0 },
|
|
|
+ // { label: '文物病害', value: 1 },
|
|
|
+ // ],
|
|
|
+ // },
|
|
|
+ // colProps: {
|
|
|
+ // span: 24,
|
|
|
+ // },
|
|
|
+ // },
|
|
|
];
|
|
|
const [registerForm, { validate, resetFields, setFieldsValue, updateSchema }] = useForm({
|
|
|
labelWidth: 120,
|
|
|
@@ -80,7 +101,7 @@
|
|
|
const [register, { closeModal }] = useModalInner((data) => {
|
|
|
fileFlow.title = '配置';
|
|
|
fileFlow.param = data || {};
|
|
|
- NewTypeChange();
|
|
|
+ // NewTypeChange();
|
|
|
data && onDataReceive(data);
|
|
|
});
|
|
|
async function onDataReceive(data) {
|