interface GetEntityParamsProps { ENTITYMODEL: string, OBJECTRRN?: string | number } interface GetEntityListParamsProps { ENTITYMODEL: string, OBJECTRRN?: string | number } interface GetEntityCountParamsProps { ENTITYMODEL: string, OBJECTRRN?: string | number } interface ResponseHeader { RESULTMESSAGE?: string | undefined; "TRANSACTIONID": string; "RESULT": 'SUCCESS' | 'FAIL'; "RESULTCODE"?: string } interface Response { "Header": ResponseHeader; "Body"?: T | any } interface getEntity { (params: GetEntityParamsProps): Promise } interface getEntityList { (params: GetEntityListParamsProps): Promise } interface getEntityCount { (params: GetEntityCountParamsProps): Promise } interface PanelLayOutProps { r: number l: number } export type ActiveTableProps = React.PropsWithChildren<{ // 动态表OBJECTRRN tableRrn: string | number // 国际化 lang: string // 动态表对应的model entityModel?: string // 动态栏位参考表对应的model refTableEntityModel: string // 单表增删改 cudEntity: any getEntity: getEntity getEntityList: getEntityList getEntityCount: getEntityCount adreflist: any adureflist: any // 左右布局时左右侧的宽度 panelLayOut: PanelLayOutProps // 自定义渲染左侧的页面 renderLeftContent?: (tableInfo, context) => any // 自定义渲染右侧的页面 renderRightContent?: (tableInfo, context) => any // 自定义重写整个Tabs renderCustomTabs?: (fullFormContent) => any // 自定义添加tab,返回TabPane renderAddCustomTabs?: (fullFormContent) => any // 偏移的高度 offsetHeight: number // 重写动态表里面的表单组件,对应的key为fieldList里面的NAME字段 customerFields: { [propName: string]: any } // 自定义动态表右上方按钮 rightToolBtns?: [{ key: string name: string icon: any before: string display?: boolean | function disabled?: boolean | function click?: function [propName: string]: any }] [propName: string]: any }>;