import * as Comm from '@/TsModel/Comm/Comm'; import * as WebCmd from '@/TsModel/Comm/WebCmd/index'; import { BaseMainDoubleTreeEntity } from "@/TsModel/Lc/Dev/Entity/Table/BaseMainDoubleTreeEntity"; /** 业务对像路径*/ export declare const Path: string; export declare const Url: string; export type TypeRoot = Comm.DataRoot; export type TypeModelResult = Comm.ModelResult; export type TypeGetTree = Comm.GetModelTree; /** 业务对像调用的通用参数强类型*/ export type TypeBaseParms = Comm.Biz_BaseParm; /** 业务对像调用返回的通用数据结构*/ export type TypeBaseResult = Comm.Biz_BaseResult; /** 但询单据返回结果*/ export type TypeQueryResult = WebCmd.Biz_WebCmd>>; /** 执行任何命令*/ export declare function Cmd(methodName: string, dataRoot: TypeRoot, viewId?: string, getTree?: TypeGetTree): Promise; export declare function Get(p: { dataRoot: TypeRoot; viewId?: string; getTree?: TypeGetTree; }): Promise; export declare function GetById(p: { id: string; viewId?: string; getTree?: TypeGetTree; }): Promise; /** 保存一张单据*/ export declare function Save(p: { dataRoot: TypeRoot; viewId?: string; }): Promise; /** 删除一张或多张单据*/ export declare function Delete(...ids: string[]): Promise;