From 8d05e3d05c717030a5c8007828926217f9cd0f01 Mon Sep 17 00:00:00 2001 From: herenshan112 Date: Mon, 25 Mar 2024 09:26:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=88=97=E8=A1=A8=E5=B1=95?= =?UTF-8?q?=E7=A4=BA=E9=A1=B5=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/DesignForm/requestapi.ts | 8 +++ src/api/DesignForm/type.ts | 7 ++ src/types/components.d.ts | 2 + .../sysworkflow/lowcodepage/appFormList.vue | 34 +++++++++- .../lowcodepage/lowCodeFormPage.vue | 32 +++++----- .../sysworkflow/lowcodepage/pageDesignes.vue | 7 +- .../sysworkflow/lowcodepage/pageList.vue | 64 +++++++++++++++---- 7 files changed, 120 insertions(+), 34 deletions(-) diff --git a/src/api/DesignForm/requestapi.ts b/src/api/DesignForm/requestapi.ts index 3f71ea8d5..eee6a1163 100644 --- a/src/api/DesignForm/requestapi.ts +++ b/src/api/DesignForm/requestapi.ts @@ -309,3 +309,11 @@ export function editFormGroupState(data?:any){ data: data }); } +//获取表格字段 +export function gainFormTableField(data?:any){ + return request({ + url: '/systemapi/customer_form/gainFormTableField', + method: 'post', + data: data + }); +} diff --git a/src/api/DesignForm/type.ts b/src/api/DesignForm/type.ts index ae9143d77..7a476f84a 100644 --- a/src/api/DesignForm/type.ts +++ b/src/api/DesignForm/type.ts @@ -123,6 +123,7 @@ export interface formTabelStruct{ extra:string; privileges:string; comment:string; + pattern:string; } //获取表单结构 export interface getFormTableStruct{ @@ -195,3 +196,9 @@ export interface editFlowFormStatus{ id:string; status:number; } + +//自定义列表字段 +export interface formTableField{ + masterTable:formTabelStruct[]; + sunTable?:any; +} diff --git a/src/types/components.d.ts b/src/types/components.d.ts index f987ed501..79e294fc8 100644 --- a/src/types/components.d.ts +++ b/src/types/components.d.ts @@ -60,6 +60,7 @@ declare module '@vue/runtime-core' { ElOption: typeof import('element-plus/es')['ElOption'] ElPagination: typeof import('element-plus/es')['ElPagination'] ElPopover: typeof import('element-plus/es')['ElPopover'] + ElProgress: typeof import('element-plus/es')['ElProgress'] ElRadio: typeof import('element-plus/es')['ElRadio'] ElRadioButton: typeof import('element-plus/es')['ElRadioButton'] ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] @@ -112,6 +113,7 @@ declare module '@vue/runtime-core' { IEpRefresh: typeof import('~icons/ep/refresh')['default'] IEpSearch: typeof import('~icons/ep/search')['default'] IEpSetting: typeof import('~icons/ep/setting')['default'] + IEpView: typeof import('~icons/ep/view')['default'] LangSelect: typeof import('./../components/LangSelect/index.vue')['default'] LayoutPage: typeof import('./../components/DesignForm/layoutPage/index.vue')['default'] List: typeof import('./../components/DesignForm/public/form/components/list.vue')['default'] diff --git a/src/views/sysworkflow/lowcodepage/appFormList.vue b/src/views/sysworkflow/lowcodepage/appFormList.vue index 7d4af2255..e1762ffe1 100644 --- a/src/views/sysworkflow/lowcodepage/appFormList.vue +++ b/src/views/sysworkflow/lowcodepage/appFormList.vue @@ -5,7 +5,7 @@ --> @@ -191,4 +224,7 @@ onMounted(()=>{ border-right: 1px solid #e0e0e0; } } +.form_tabs > .el-tabs__content{ + padding: 0; +}