From e61eddfa8c8977bd3fb352be625a57e1bae9c779 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Tue, 19 Nov 2024 15:09:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=89=8D=E7=AB=AF?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ui/src/api/type/application.ts | 7 +++++-- .../constructor/items/RadioCardConstructor.vue | 2 +- .../constructor/items/RadioRowConstructor.vue | 5 +++-- 3 files changed, 9 insertions(+), 5 deletions(-) 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 @@