import { IPSDEReportPanel } from '@ibizstudio/runtime'; import { ControlServiceBase } from '@ibizstudio/runtime'; import { GlobalService } from '@ibizstudio/runtime'; /** * 表格部件服务对象 * * @export * @class AppReportPanelService */ export class AppReportPanelService extends ControlServiceBase { /** * 表格实例对象 * * @memberof AppReportPanelService */ declare controlInstance: IPSDEReportPanel; /** * 数据服务对象 * * @type {any} * @memberof AppReportPanelService */ appEntityService!: any; /** * Creates an instance of AppReportPanelService. * * @param {*} [opts={}] * @memberof AppReportPanelService */ constructor(opts: any = {}, context?: any) { super(opts, context); this.initServiceParam(opts); } /** * 初始化服务参数 * * @type {boolean} * @memberof AppReportPanelService */ async initServiceParam(opts: any) { this.controlInstance = opts; if (this.appDeCodeName) { this.appEntityService = await new GlobalService().getService(this.appDeCodeName, this.context); } // this.model = new AppReportPanelModel(opts); } }