import { t_query_plan_member } from '../Lc/Run/Entity/Table/Method/Query/t_query_plan_member'; import { T_QueryColumnConf } from '../Lc/Run/Entity/Table/Method/Query/T_QueryColumnConf'; import { t_query_plan } from '../Lc/Run/Entity/Table/Method/Query/t_query_plan'; import * as _BaseParm from '@/TsModel/Lc/Entity/BaseParm_Biz'; import * as _BaseRes from '@/TsModel/Lc/Entity/ResultType/BaseResult_Biz'; import { ActionType } from '../Lc/Entity/Enums/ActionType'; export declare class Dictionary { [key: string | number]: TVal; } /** 某字段是业务对像时的一种简短表示*/ export type BizType = string | { id: string; Code: string; Name: string; _Type_: string; _Action_: ActionType; }; export interface DataRoot { ActionType: ActionType; ForceDelete?: boolean; Row: T; readonly id?: string; CurrentChilds?: DataRoot[] | null; ChildModelData?: { [C in keyof ChildTypes]: ChildTypes[C][]; } | undefined; } /** 获取单据时 针对子单据的获取策略*/ export interface GetModelTree { /** 当前单据编码*/ /** 表示获取子单据时.只获取自身的第一条单据的子项,默认应为true, 每条都获取子项没有必要, 页面也不可能显示哪么多,只要在特殊环境下才要. 比如要一次性获取一条完整的单据*/ OnlyFirst?: boolean | null; /** 表示子级往下找时,取多少条来取 -1 代表不限制,0 代表不找,或者指定条数,如果为主单据时.将失效*/ ChildTake?: number | null; /** 子项获取策略*/ Children?: { [C in keyof ChildTypes]?: ChildTypes[C]; } | null; } export interface ModelResult { Column: string[]; Rows: T[]; Child: { [K in keyof ChildTypes]: ChildTypes[K]; } | null; } /** 查询方案参数的dataroot type*/ export type QueryTypeRoot = DataRoot, { t_query_plan_member: DataRoot>; t_query_column_conf: DataRoot>; }>; export interface BaseResult_Biz { BizId: string; BizPath: string; Page?: number | null; PageSize?: number | null; Total?: number | null; DataTree: T; } export interface BaseParm_Biz { BizId?: string | null; BizPath?: string | null; Rows: T[]; GetTree?: TGetTree | null; } /** 调用业务对像时的传参数 在Save时会有做用*/ export interface Biz_BaseParm { Path: string; ViewId?: string | null; Current: BaseParm_Biz; Source?: _BaseParm.BaseParm_Biz | null; } export interface Biz_BaseResult { Result: BaseResult_Biz; Source: _BaseRes.BaseResult_Biz | null; } export declare function Cmd(bizPath: string, methodName: string, parms: TParmType, viewId?: string | null): Promise; export declare const WebCmd: any; export declare const BizCall: any; export declare const LowCode: any; /** 产生新id*/ export declare function NewId(): string;