VIEW.vue.ftl 1.3 KB
Newer Older
1
<#ibizinclude>../../@MACRO/FUNC/MACRO.ftl</#ibizinclude>
2
<div class='view-container ${view.getViewType()?lower_case} ${srffilepath2(view.getCodeName())}<#if view.getPSSysCss?? && view.getPSSysCss()??> ${view.getPSSysCss().getCssName()}</#if>'>
3
        <app-studioaction :viewTitle="$t(model.srfTitle)" viewName="${view.getCodeName()?lower_case}"></app-studioaction>
4
        <card class='view-card <#if !view.isShowCaptionBar()> view-no-caption</#if> <#if !view.hasPSControl('toolbar')> view-no-toolbar</#if>' :dis-hover="true" :bordered="false">
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20

        <#ibizinclude>
        ../@MACRO/VIEW_CAPTION_DATAINFO.vue.ftl
        </#ibizinclude>

<#if view.hasPSControl('toolbar')>
<@ibizindent blank=8>
<p slot="extra">
${P.getCtrlCode('toolbar', 'CONTROL.html').code}
</p>
</@ibizindent>
</#if>
<#assign MDContent>
<#--  搜索框: BEGIN  -->
<#if (view.isEnableQuickSearch())>
  <div class="search-contant">
21
      <i-input search @on-change="($event) => { this.srfnodefilter = $event.target.value; }" placeholder="<@getQuickSearchPlaceholder view />" @on-search="onSearch" class='pull-left'/>
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
  </div>
</#if>
<#--  搜索框: END  -->
<#if view.hasPSControl('tree')>
<div class="tree-contant">
    ${P.getCtrlCode('tree', 'CONTROL.html').code}
</div>
</#if>
</#assign>

<#ibizinclude>
../@MACRO/VIEW_MD_CONTENT.vue.ftl
</#ibizinclude>
    </card>
</div>