From 541f1bb272ae687c53246f2a5f20718b8a2f2ec1 Mon Sep 17 00:00:00 2001 From: hreenshan112 Date: Sat, 19 Oct 2024 09:12:16 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E8=87=AA=E5=AE=9A=E4=B9=89?= =?UTF-8?q?=E8=A1=A8=E5=8D=95=E6=89=8B=E6=9C=BA=E4=B9=9F=E6=98=AF=E8=87=AA?= =?UTF-8?q?=E5=AE=9A=E4=B9=89=E8=AE=BE=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DesignForm/public/form/form.vue | 2 +- .../DesignForm/public/form/web/childTable.vue | 305 ++++++++++++++++++ .../DesignForm/public/form/webformGroup.vue | 20 +- .../appPage/appPageForm/pageForm.vue | 2 +- .../appPage/appPageForm/previewPage.vue | 9 +- 5 files changed, 333 insertions(+), 5 deletions(-) create mode 100644 src/components/DesignForm/public/form/web/childTable.vue diff --git a/src/components/DesignForm/public/form/form.vue b/src/components/DesignForm/public/form/form.vue index 9dacb76..ca74799 100644 --- a/src/components/DesignForm/public/form/form.vue +++ b/src/components/DesignForm/public/form/form.vue @@ -1991,7 +1991,7 @@ const webPage = computed({ }" > - + diff --git a/src/components/DesignForm/public/form/web/childTable.vue b/src/components/DesignForm/public/form/web/childTable.vue new file mode 100644 index 0000000..0372fad --- /dev/null +++ b/src/components/DesignForm/public/form/web/childTable.vue @@ -0,0 +1,305 @@ + + + + diff --git a/src/components/DesignForm/public/form/webformGroup.vue b/src/components/DesignForm/public/form/webformGroup.vue index 04cd307..5505abc 100644 --- a/src/components/DesignForm/public/form/webformGroup.vue +++ b/src/components/DesignForm/public/form/webformGroup.vue @@ -8,7 +8,8 @@ import { computed, watch, inject, onUnmounted } from 'vue' import Draggable from 'vuedraggable-es' // import FormItem from '@/components/DesignForm/public/form/web/formItem.vue' import FormItem from './formItem.vue' -import ChildTable from './childTable.vue' +import ChildTable from '@/components/DesignForm/public/form/web/childTable.vue' +// import ChildTable from './childTable.vue' import Tooltips from '@/components/DesignForm/tooltip.vue' import FlexBox from './flexBox.vue' import { useDesignFormStore } from '@/store/DesignForm/designForm' @@ -31,10 +32,14 @@ const props = withDefaults( nodeKey?:string purview?:any[] alldata?:any + isWeb?: boolean // }>(), { data: () => { return [] + }, + isWeb: () => { + return false } } ) @@ -778,6 +783,11 @@ function optionsValue3Get1(data: any,fieldName: string){ diff --git a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/pageForm.vue b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/pageForm.vue index b710d80..edb867f 100644 --- a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/pageForm.vue +++ b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/pageForm.vue @@ -701,7 +701,7 @@ const dialogConfirmTree = (val:treeStruct[]) => { @confirm="dialogConfirm" @confirmTree="dialogConfirmTree" /> - +