state.ts.ftl 930 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
<#ibiztemplate>
TARGET=PSSYSAPP
</#ibiztemplate>
/**
 * 所有应用视图
 */
export const viewstate: any = {
    appviews: [
<#--  视图参数状态  -->
        <#if app.isPubRefViewOnly()><#assign allAppViews = app.getAllRefPSAppViews()/><#else><#assign allAppViews = app.getAllPSAppViews()/></#if>
        <#if allAppViews??>
        <#list allAppViews as appview>
        {
            viewtag: '${appview.getId()}',
            viewmodule: '${appview.getPSAppModule().getCodeName()}',
            viewname: '${appview.getCodeName()}',
            viewaction: '',
            viewdatachange: false,
            refviews: [
                <#list appview.getAllRelatedPSAppViews() as refview>
                <#if refview.getId() != appview.getId()>
                '${refview.getId()}',
                </#if>
                </#list>
            ],
        },
        </#list>
        </#if>
    ],
    createdviews: [],
}