|
@@ -54,23 +54,20 @@
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
field: 'aiOption',
|
|
field: 'aiOption',
|
|
|
- component: 'ApiSelect',
|
|
|
|
|
|
|
+ component: 'CheckboxGroup',
|
|
|
label: 'AI 识别配置',
|
|
label: 'AI 识别配置',
|
|
|
- colProps: {
|
|
|
|
|
- xl: 18,
|
|
|
|
|
- xxl: 18,
|
|
|
|
|
- },
|
|
|
|
|
componentProps: {
|
|
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 },
|
|
|
|
|
|
|
+ //style: { width: '246px' },
|
|
|
|
|
+ class: 'myCheckbox',
|
|
|
|
|
+ // api: feedbackOptionList,
|
|
|
|
|
+ // mode: 'multiple',
|
|
|
|
|
+ // numberToString: true,
|
|
|
|
|
+ // labelField: 'nameCn',
|
|
|
|
|
+ // resultField: 'list',
|
|
|
|
|
+ // valueField: 'id',
|
|
|
|
|
+ // listHeight: 140,
|
|
|
|
|
+ // immediate: true,
|
|
|
|
|
+ // params: { typeId: 5, pageSize: 9999, pageNum: 1 },
|
|
|
},
|
|
},
|
|
|
},
|
|
},
|
|
|
// {
|
|
// {
|
|
@@ -101,7 +98,7 @@
|
|
|
const [register, { closeModal }] = useModalInner((data) => {
|
|
const [register, { closeModal }] = useModalInner((data) => {
|
|
|
fileFlow.title = '配置';
|
|
fileFlow.title = '配置';
|
|
|
fileFlow.param = data || {};
|
|
fileFlow.param = data || {};
|
|
|
- // NewTypeChange();
|
|
|
|
|
|
|
+ NewTypeChange();
|
|
|
data && onDataReceive(data);
|
|
data && onDataReceive(data);
|
|
|
});
|
|
});
|
|
|
async function onDataReceive(data) {
|
|
async function onDataReceive(data) {
|
|
@@ -158,3 +155,15 @@
|
|
|
},
|
|
},
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
+<style lang="less">
|
|
|
|
|
+ .myCheckbox {
|
|
|
|
|
+ .ant-checkbox-group-item {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ width: 350px;
|
|
|
|
|
+ word-break: break-all;
|
|
|
|
|
+ // white-space: nowrap; /* 强制文本在一行内显示 */
|
|
|
|
|
+ // overflow: hidden; /* 超出容器部分隐藏 */
|
|
|
|
|
+ // text-overflow: ellipsis; /* 超出部分显示省略号 */
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
|
|
+</style>
|