VIEW-BASE.vue.ftl 946 字节
Newer Older
1 2 3 4 5 6 7
<#assign mounted_block>
        this.viewState.next({ tag: 'dashboard', action: 'load', data: {} });
</#assign>

<#ibizinclude>
../@MACRO/LAYOUTPANEL_VIEW.template.ftl
</#ibizinclude>
8
// 基于 @VIEW/应用看板视图 (卡片)/VIEW-BASE.vue.ftl 生成
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
<#ibizinclude>
../@MACRO/VIEW_HEADER-BASE.vue.ftl
</#ibizinclude>

<#ibizinclude>
../@MACRO/VIEW_CONTENT-BASE.vue.ftl
</#ibizinclude>

    /**
     * 应用起始页面
     *
     * @type {boolean}
     * @memberof ${srfclassname('${view.name}')}Base
     */
    public isDefaultPage: boolean = ${view.isDefaultPage()?c};
24 25 26 27 28 29 30 31 32 33

    /**
     * 加载数据
     *
     * @type {boolean}
     * @memberof ${srfclassname('${view.name}')}Base
     */
    public loadModel() {
        this.viewState.next({ tag: 'all-portlet', action: 'loadmodel', data: {}});
    }
34 35 36 37 38 39 40 41
    
<#ibizinclude>
../@MACRO/VIEW_BOTTOM-BASE.vue.ftl
</#ibizinclude>

<#ibizinclude>
../@MACRO/VIEW-BASE.style.ftl
</#ibizinclude>