From 88faee9a1320dd8b049347a3396764e6487ef071 Mon Sep 17 00:00:00 2001 From: liwenxuan <1298531568@qq.com> Date: Sat, 30 Nov 2024 16:03:15 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E5=8A=A8=E7=AB=AF=E5=85=B3=E8=81=94?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E5=9F=BA=E6=9C=AC=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/lowCode/index.ts | 14 +- .../lowCode/assistant/associatedForms.vue | 326 +++++++++++++++++- src/components/lowCode/formItem.vue | 1 + 3 files changed, 331 insertions(+), 10 deletions(-) diff --git a/src/api/lowCode/index.ts b/src/api/lowCode/index.ts index fac415d..81d60bc 100644 --- a/src/api/lowCode/index.ts +++ b/src/api/lowCode/index.ts @@ -118,4 +118,16 @@ export function getAppTaskList(data: gainAppTask) { method: 'post', data: data }); -} \ No newline at end of file +} + +//动态获取关联的系统字段数据作为单选下拉多选的选项 +export function getFieldRecord(param1: any) { + return request({ + url: '/javasys/lowCode/AssociatedForms/getFieldRecord', + method: 'post', + data: { + optionsValue3Field:param1 + }, + }) +} + diff --git a/src/components/lowCode/assistant/associatedForms.vue b/src/components/lowCode/assistant/associatedForms.vue index 9528bfe..8a05acf 100644 --- a/src/components/lowCode/assistant/associatedForms.vue +++ b/src/components/lowCode/assistant/associatedForms.vue @@ -1,14 +1,322 @@ - + + - - \ No newline at end of file diff --git a/src/components/lowCode/formItem.vue b/src/components/lowCode/formItem.vue index 5aff07d..98c59b2 100644 --- a/src/components/lowCode/formItem.vue +++ b/src/components/lowCode/formItem.vue @@ -762,6 +762,7 @@ const currentComponent = computed(() => { v-if="['associatedForms'].includes(data.type)" :is="currentComponent" :data="data" + :formProps = "formProps" v-bind="control" :control="control" :config="config"