VIEW-BASE.vue.ftl 927 字节
Newer Older
1 2 3 4 5 6 7 8
<#ibizinclude>
../@MACRO/LAYOUTPANEL_VIEW.template.ftl
</#ibizinclude>

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

9
<#assign self_content = ''/>
10 11 12
<#assign self_viewparam>
    this.parseIframeSrc(this.context,this.viewparams);
</#assign>
13 14 15 16 17 18 19 20
<#assign self_content>
    /**
     * 嵌入视图路径
     *
     * @public
     * @type string
     * @memberof ${srfclassname('${view.name}')}Base
     */
21
    public iframeUrl: string = '';
22

23
    /**
24
     * 解析嵌入视图路径
25 26
     *
     * @public
27
     * @memberof ${srfclassname('${view.name}')}Base
28 29
     */
    public parseIframeSrc(context: any,viewparams: any){
tony001's avatar
tony001 committed
30
        this.iframeUrl = `<#if view.getHtmlUrl()??>${view.getHtmlUrl()}</#if>`;
31
    }
32
</#assign>
33 34 35 36 37 38 39 40 41 42 43
<#ibizinclude>
../@MACRO/VIEW_CONTENT-BASE.vue.ftl
</#ibizinclude>

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

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