UNPKG

dbweb-common

Version:

用`yarn add dbweb-common`安装,不要忘记修改`angular.json`里的 `architect\build\options\assets`,加上

45 lines (44 loc) 1.08 kB
import { CurrentApiService, ElementsService } from 'dbweb-core'; export interface UpdateData { FromEle: string; CountNum: number; Fields: []; } export interface UpdateFieldSetting { selected?: boolean; setValue?: string; Name: string; Label: string; Tooltip: string; Freeentry: boolean; Must: boolean; List: { Value: string; Label: string; }[]; } export interface SetData { Column: string; Value: string; } export interface DoUpdateParam { Sets: SetData[]; } export interface DoUpdateResult { TaskID: string; Timeout: boolean; TaskInfoURL: string; TaskInfoSign: string; } export declare class UpdateService { private eles; private api; num: number; eleName: string; fields: UpdateFieldSetting[]; taskInfoURL: string; step: string; constructor(eles: ElementsService, api: CurrentApiService); init(): import("rxjs").Subscription; doUpdate(param: DoUpdateParam): import("rxjs").Observable<DoUpdateResult>; }