提交 808d6ef2 编写于 作者: zcdtk's avatar zcdtk

添加日历数据加载类别

上级 6ab87e06
...@@ -32,6 +32,7 @@ export class CalendarServiceBase extends MdServiceBase { ...@@ -32,6 +32,7 @@ export class CalendarServiceBase extends MdServiceBase {
* @memberof CalendarServiceBase * @memberof CalendarServiceBase
*/ */
protected async loadDEDataSet(action: string, context: any, data: any, calendarItem: string, serviceName?: string): Promise<any[]> { protected async loadDEDataSet(action: string, context: any, data: any, calendarItem: string, serviceName?: string): Promise<any[]> {
this.model.itemType = calendarItem;
if (serviceName) { if (serviceName) {
const service: any = await this.getService(serviceName); const service: any = await this.getService(serviceName);
const response: HttpResponse = await service[action](context, data); const response: HttpResponse = await service[action](context, data);
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册