提交 b4de7b3c 编写于 作者: Mosher's avatar Mosher

update:更新

上级 e52d9b7b
......@@ -8,7 +8,8 @@
const actionData = {
data: this.getData() || {},
context: Util.deepCopy(this.context),
viewparams: Util.deepCopy(this.viewparams)
viewparams: Util.deepCopy(this.viewparams),
xData: this
}
let result: boolean = true;
<#if ctrl.getPSControlLogics?? && ctrl.getPSControlLogics()??>
......
......@@ -4,5 +4,21 @@
* @memberof ${srfclassname('${view.name}')}
*/
public ${item.name}($event: any, $event1?: any, $event2?: any) {
console.log($event, $event1, $event2);
const { data, context, viewparams, xData, event } = $event;
<#if item.getPSAppDEUILogic?? && item.getPSAppDEUILogic()?? && item.getPSAppDEUILogic().getPSAppDataEntity()>
window.uiServiceRegister.getService('${item.getPSAppDEUILogic().getPSAppDataEntity().codeName?lower_case}').then((uiService: any) => {
if (uiService) {
uiService.executeUILogic(
'${item.getPSAppDEUILogic().codeName}',
data,
context,
viewparams,
event,
xData,
this,
context && context.srfparentdename ? context.srfparentdename : ''
);
}
});
</#if>
}
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册