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"