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; +}