VIEW.vue.ftl 2.0 KB
Newer Older
1
<div class='view-container ${view.getViewType()?lower_case} ${srffilepath2(view.getCodeName())}<#if view.getPSSysCss?? && view.getPSSysCss()??> ${view.getPSSysCss().getCssName()}</#if>'>
2
    <app-studioaction :viewTitle="$t(model.srfTitle)" viewName="${view.getCodeName()?lower_case}"></app-studioaction>
3
    <card class='view-card <#if !view.isShowCaptionBar()> view-no-caption</#if> <#if !view.hasPSControl('toolbar')> view-no-toolbar</#if>'  :dis-hover="true" :bordered="false">
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 32 33 34 35 36 37 38 39 40 41 42 43
<@ibizindent blank=8>
<#ibizinclude>
../@MACRO/VIEW_CAPTION.vue.ftl
</#ibizinclude>
</@ibizindent>
        <div class='content-container'>
            <#assign MDContent>
            <#comment><!--开始:快速搜索或工具栏存在--></#comment>
            <#if (view.isEnableQuickSearch() || view.hasPSControl('toolbar'))>
            <row style='margin-bottom: 6px;'>
                <#if view.isEnableQuickSearch()>
                <i-input placeholder='快速搜索框'<#if view.hasPSControl('searchform')><#if view.isExpandSearchForm??> v-show='!this.isExpandSearchForm '</#if></#if> v-model='query' search @on-search='onSearch' class='pull-left' style='max-width: 400px;margin-top:6px;' />
                </#if>
                <div class='pull-right'>
<@ibizindent blank=20>
<#if view.hasPSControl('toolbar')>
${P.getCtrlCode('toolbar', 'CONTROL.html').code}<#t>
</#if>
</@ibizindent>
                </div>
            </row>
            </#if>
            <#comment><!--结束:快速搜索或工具栏存在--></#comment>
            <#if view.hasPSControl('searchform')>
            <@ibizindent blank=12>
            ${P.getCtrlCode('searchform', 'CONTROL.html').code}<#t>
            </@ibizindent>
            </#if>
            <#if view.hasPSControl('dataview')>
            <@ibizindent blank=12>
            ${P.getCtrlCode('dataview', 'CONTROL.html').code}<#t>
            </@ibizindent>
            </#if>
            </#assign>
            <#ibizinclude>
            ../@MACRO/VIEW_MD_CONTENT.vue.ftl
            </#ibizinclude>
        </div>
    </card>
</div>