VIEW-BASE.vue.ftl 965 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<#ibizinclude>
../@MACRO/LAYOUTPANEL_VIEW.template.ftl
</#ibizinclude>

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

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

    /**
     * 搜索值
     *
     * @type {string}
17
     * @memberof ${srfclassname('${view.name}')}Base
18 19 20 21 22 23 24
     */
    public query: string = '';

    /**
     * 是否展开搜索表单
     *
     * @type {boolean}
25
     * @memberof ${srfclassname('${view.name}')}Base
26 27 28 29 30 31 32
     */
    public isExpandSearchForm: boolean = ${view.isExpandSearchForm()?c};

    /**
     * 快速搜索
     *
     * @param {*} $event
33
     * @memberof ${srfclassname('${view.name}')}Base
34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
     */
    public onSearch($event: any): void {
        const refs: any = this.$refs;
        if (refs.chart) {
            refs.chart.refresh({});
        }
    }

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

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