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

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

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