提交 7e45f757 编写于 作者: zcdtk's avatar zcdtk

Merge remote-tracking branch 'core/dev' into dev

......@@ -41,6 +41,7 @@
<#if ctrl.getPSSysCalendarItems()??>
<#list ctrl.getPSSysCalendarItems() as calendarItem>
<#if calendarItem.getPSAppDataEntity()?? && calendarItem.getPSDEDataSet()??>
<#assign _appde = calendarItem.getPSAppDataEntity() />
<#assign deDataSet = calendarItem.getPSDEDataSet() />
this.model.itemType = '${calendarItem.getItemType()?lower_case}';
......@@ -89,9 +90,9 @@
break;
<#else>
case "${calendarItem.getItemType()}":
context _service: any = await this.getService('${_appde.getCodeName()?lower_case}');
if (_service && _service[${_deAction.getCodeName()}] && _service[${_deAction.getCodeName()}] instanceof Function) {
response = await _service[${_deAction.getCodeName()}](context, data);
const _service: any = await this.getService('${_appde.getCodeName()?lower_case}');
if (_service && _service['${_deAction.getCodeName()}'] && _service['${_deAction.getCodeName()}'] instanceof Function) {
response = await _service['${_deAction.getCodeName()}'](context, data);
}
break;
</#if>
......@@ -132,9 +133,9 @@
break;
<#else>
case "${calendarItem.getItemType()}":
context _service: any = await this.getService('${_appde.getCodeName()?lower_case}');
if (_service && _service[${_deAction.getCodeName()}] && _service[${_deAction.getCodeName()}] instanceof Function) {
response = await _service[${_deAction.getCodeName()}](context, data);
const _service: any = await this.getService('${_appde.getCodeName()?lower_case}');
if (_service && _service['${_deAction.getCodeName()}'] && _service['${_deAction.getCodeName()}'] instanceof Function) {
response = await _service['${_deAction.getCodeName()}'](context, data);
}
break;
</#if>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册