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

增加应用看板视图通知加载界面行为逻辑

上级 ef1e93d9
......@@ -295,7 +295,7 @@ import { Environment } from '@/environments/environment';
<#else>
<#assign uiactionname = uiactiondetail.getName()?lower_case />
</#if>
${uiactionname}: {name: '${uiactionname}', actiontarget: 'NONE', <#if uiactiondetail.isShowCaption()>caption: '<#if uiactiondetail.caption??>${uiactiondetail.caption}</#if>',</#if> disabled: false, type: '<#if uiactiondetail.getDetailType?? && uiactiondetail.getDetailType()??>${uiactiondetail.getDetailType()}</#if>', visabled: true, dataaccaction: '<#if uiaction.getDataAccessAction()??>${uiaction.getDataAccessAction()}</#if>', uiaction: { tag: '${uiaction.getUIActionTag()}', target: '${uiaction.getActionTarget()}' } },
${uiactionname}: {name: '${uiactionname}', actiontarget: 'NONE', <#if uiactiondetail.isShowCaption()>caption: '<#if uiactiondetail.caption??>${uiactiondetail.caption}</#if>',</#if> disabled: false, type: '<#if uiactiondetail.getDetailType?? && uiactiondetail.getDetailType()??>${uiactiondetail.getDetailType()}</#if>', visabled: true, noprivdisplaymode: '<#if uiactiondetail.getNoPrivDisplayMode()??>${uiactiondetail.getNoPrivDisplayMode()}</#if>', dataaccaction: '<#if uiaction.getDataAccessAction()??>${uiaction.getDataAccessAction()}</#if>', uiaction: { tag: '${uiaction.getUIActionTag()}', target: '${uiaction.getActionTarget()}' } },
</#if>
</#list>
</#if>
......
......@@ -22,6 +22,16 @@
*/
public isDefaultPage: boolean = ${view.isDefaultPage()?c};
/**
* 加载数据
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}Base
*/
public loadModel() {
this.viewState.next({ tag: 'all-portlet', action: 'loadmodel', data: {}});
}
<#ibizinclude>
../@MACRO/VIEW_BOTTOM-BASE.vue.ftl
</#ibizinclude>
......
......@@ -22,6 +22,16 @@
*/
public isDefaultPage: boolean = ${view.isDefaultPage()?c};
/**
* 加载数据
*
* @type {boolean}
* @memberof ${srfclassname('${view.name}')}Base
*/
public loadModel() {
this.viewState.next({ tag: 'all-portlet', action: 'loadmodel', data: {}});
}
<#ibizinclude>
../@MACRO/VIEW_BOTTOM-BASE.vue.ftl
</#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册