From d6d4f6a377edbeebba34b2ba65f5bc1eca47d144 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Wed, 24 Sep 2025 10:35:16 +0800 Subject: [PATCH 1/3] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=88=97=E8=A1=A8?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../appPageForm/contentPresentation.vue | 57 +++++++++++++++++++ .../appPage/appPageForm/pageList.vue | 2 +- .../lowcodepage/appPage/createAppFormPage.vue | 9 ++- 3 files changed, 66 insertions(+), 2 deletions(-) create mode 100644 src/views/sysworkflow/lowcodepage/appPage/appPageForm/contentPresentation.vue diff --git a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/contentPresentation.vue b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/contentPresentation.vue new file mode 100644 index 0000000..8afb099 --- /dev/null +++ b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/contentPresentation.vue @@ -0,0 +1,57 @@ + + + + diff --git a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/pageList.vue b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/pageList.vue index 40e22d5..7cd1a5f 100644 --- a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/pageList.vue +++ b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/pageList.vue @@ -877,7 +877,7 @@ const clearData = () => { tableAttrBut.value!.clearSelection(); state.searchData = []; // state.tableData.controlBtn = [] - // state.tableData.columns = [] + state.tableData.columns = [] state.tableData.operateBtn = []; state.tableData.config = {}; if (formTableField.masterTable) { diff --git a/src/views/sysworkflow/lowcodepage/appPage/createAppFormPage.vue b/src/views/sysworkflow/lowcodepage/appPage/createAppFormPage.vue index d237f3c..ba2e78d 100644 --- a/src/views/sysworkflow/lowcodepage/appPage/createAppFormPage.vue +++ b/src/views/sysworkflow/lowcodepage/appPage/createAppFormPage.vue @@ -15,6 +15,7 @@ import PageList from "@/views/sysworkflow/lowcodepage/appPage/appPageForm/pageLi import PrintSetupPage from "@/views/sysworkflow/lowcodepage/appPage/appPageForm/printSetupPage.vue"; import AiPage from "@/views/sysworkflow/lowcodepage/appPage/appPageForm/aiPage.vue"; import DataBpard from "@/views/sysworkflow/lowcodepage/appPage/appPageForm/dataBoard.vue"; +import ContentPresentation from "@/views/sysworkflow/lowcodepage/appPage/appPageForm/contentPresentation.vue"; const props = defineProps({ appCont: { @@ -226,6 +227,7 @@ onBeforeMount(() => { +
@@ -287,6 +289,9 @@ onBeforeMount(() => { v-model:app-page-key="appPageKey" v-model:form-version="formVersion" /> +
@@ -318,7 +323,9 @@ onBeforeMount(() => { ::v-deep .el-tabs__nav-scroll { margin: 0 auto !important; } - + :deep .el-tabs__item{ + padding: 0 5px; + } ::v-deep .el-drawer__body { padding: 0; } From 04d08de6dbdad8f575aed679fedff528dcfb9fd9 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Wed, 24 Sep 2025 11:04:12 +0800 Subject: [PATCH 2/3] =?UTF-8?q?=E9=A1=B5=E9=9D=A2=E8=AE=BE=E8=AE=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/DesignForm/assembly/pageSetup.ts | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/components/DesignForm/assembly/pageSetup.ts diff --git a/src/components/DesignForm/assembly/pageSetup.ts b/src/components/DesignForm/assembly/pageSetup.ts new file mode 100644 index 0000000..ddd84d7 --- /dev/null +++ b/src/components/DesignForm/assembly/pageSetup.ts @@ -0,0 +1,9 @@ +//内容呈现页设计 +export default [ + { + type: 'grid', + label: '格栅布局', + unitName: '格栅布局', + icon: 'grid', + } +] From 7f4a897015d2a95b326ef26198702201117a3194 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Wed, 24 Sep 2025 13:21:55 +0800 Subject: [PATCH 3/3] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=BE=E8=AE=A1?= =?UTF-8?q?=E8=BE=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../DesignForm/assembly/pageSetup.ts | 99 ++++++++++++++++++- .../appPage/appPageForm/echatesUnit/right.vue | 3 + 2 files changed, 101 insertions(+), 1 deletion(-) diff --git a/src/components/DesignForm/assembly/pageSetup.ts b/src/components/DesignForm/assembly/pageSetup.ts index ddd84d7..b73c102 100644 --- a/src/components/DesignForm/assembly/pageSetup.ts +++ b/src/components/DesignForm/assembly/pageSetup.ts @@ -5,5 +5,102 @@ export default [ label: '格栅布局', unitName: '格栅布局', icon: 'grid', - } + columns: [ + // 格栅列数据 + { + attr: { span: 12 }, + list: [] + }, + { + attr: { span: 12 }, + list: [] + } + ], + config: {}, + styles: { + divStyle: { + }, + labelStyle: { + }, + inputStyle: {} + } + }, + { + type: 'div', + label: '容器', + unitName: '容器', + icon: 'div', + iconFont: '', + control: {}, + config: {}, + list: [], + styles: { + divStyle: { + }, + labelStyle: { + }, + inputStyle: {} + } + }, + { + type: 'tabs', + label: '标签页', + unitName: '标签页', + icon: 'tabs', + iconFont: 'fa-folder-o', + columns: [ + { + label: 'Tab1', + unitName: '', + list: [] + } + ], + control: {}, + config: {}, + styles: { + divStyle: { + marginBot: "15" + }, + labelStyle: { + paddingLeft: "7", + }, + inputStyle: {} + } + }, + { + type: 'divider', + label: '分割线', + unitName: '分割线', + icon: 'divider', + iconFont: '', + control: {}, + config: {}, + styles: { + divStyle: { + marginBot: "15" + }, + labelStyle: { + paddingLeft: "7", + }, + inputStyle: {} + } + }, + { + type: 'commentRemark', + label: '评论套件', + unitName: '评论套件', + icon: 'commentRemark', + iconFont: '', + control: {}, + config: {}, + styles: { + divStyle: { + marginBot: "15" + }, + labelStyle: { + paddingLeft: "7", + }, + inputStyle: {} + } + }, ] diff --git a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/echatesUnit/right.vue b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/echatesUnit/right.vue index b963299..5550c59 100644 --- a/src/views/sysworkflow/lowcodepage/appPage/appPageForm/echatesUnit/right.vue +++ b/src/views/sysworkflow/lowcodepage/appPage/appPageForm/echatesUnit/right.vue @@ -637,6 +637,9 @@ onMounted(()=>{ .echartsRight { width: 100%; padding: 0px 10px; + overflow: hidden; + overflow-y: auto; + height: 100%; :deep .el-tabs__content{ padding: 10px 2px 0 2px; }