diff --git a/ui/src/api/type/application.ts b/ui/src/api/type/application.ts index 3762256e04..be8eeae901 100644 --- a/ui/src/api/type/application.ts +++ b/ui/src/api/type/application.ts @@ -39,9 +39,12 @@ interface chatType { record_id: string chat_id: string vote_status: string - status?: number, + status?: number execution_details: any[] - upload_meta?: any[] + upload_meta?: { + document_list: Array + image_list: Array + } } export class ChatRecordManage { diff --git a/ui/src/components/dynamics-form/constructor/items/RadioCardConstructor.vue b/ui/src/components/dynamics-form/constructor/items/RadioCardConstructor.vue index 68748d0a6b..6f6699d814 100644 --- a/ui/src/components/dynamics-form/constructor/items/RadioCardConstructor.vue +++ b/ui/src/components/dynamics-form/constructor/items/RadioCardConstructor.vue @@ -88,7 +88,7 @@ const delOption = (index: number) => { formValue.value.option_list.splice(index, 1) } const formField = computed(() => { - return getData() + return { field: '', ...getData() } }) const getData = () => { return { diff --git a/ui/src/components/dynamics-form/constructor/items/RadioRowConstructor.vue b/ui/src/components/dynamics-form/constructor/items/RadioRowConstructor.vue index a606abd5ef..00009918bd 100644 --- a/ui/src/components/dynamics-form/constructor/items/RadioRowConstructor.vue +++ b/ui/src/components/dynamics-form/constructor/items/RadioRowConstructor.vue @@ -63,6 +63,7 @@