提交 f1598b56 编写于 作者: Cano1997's avatar Cano1997

update:表格视图更新

上级 d6efb637
......@@ -31,7 +31,7 @@ ${ctrl.render.code}
row-key="groupById"
</#if>
max-height="100%"
:header-row-style="{'height': '50px'}"
:header-row-style="{'height': '40px'}"
@row-click="rowClick($event)"
@cell-click="cellClick"
@select-all="selectAll($event)"
......@@ -500,7 +500,7 @@ ${gridColumn.getName()}
* @type {number}
* @memberof AppIndex
*/
public checkboxColWidth: number = <#if app.getPSApplicationUI()??>${app.getPSApplicationUI().getPFStyleParam('EL-TABLE.CHECKCOLWIDTH',50)}<#else>50</#if>;
public checkboxColWidth: number = <#if app.getPSApplicationUI()??>${app.getPSApplicationUI().getPFStyleParam('EL-TABLE.CHECKCOLWIDTH',56)}<#else>56</#if>;
/**
* 是否允许拖动列宽
......
......@@ -24,34 +24,38 @@
<#-- BEGIN:快速搜索框或工具栏或支持快速分组搜索或快速搜索表单部件存在 -->
<#if (view.isEnableQuickSearch() || view.hasPSControl('toolbar') || view.isEnableQuickGroup() || view.getQuickPSDESearchForm()??)>
<template #headerTop>
<@ibizindent blank=8>
<#ibizinclude>
./View_Pos_Body_Msgs.vue.ftl
</#ibizinclude>
</@ibizindent>
<#if view.isShowCaptionBar()>
<app-caption v-if="openType == 'EMBED'" :openType="openType" :caption="model.srfCaption"></app-caption>
</#if>
<#if view.hasPSControl('toolbar')>
<@ibizindent blank=8>
${P.getCtrlCode('toolbar', 'CONTROL.html').code}<#t>
</@ibizindent>
</#if>
</template>
<template #headerContent>
<#if view.isEnableQuickGroup()>
<app-quick-group :items="quickGroupModel" <#if appCounter??>:counterService="${appCounter.getCodeName()?lower_case}counterservice"</#if> @valuechange="quickGroupValueChange"></app-quick-group>
</#if>
</template>
<template #headerContent>
<#if view.isEnableQuickSearch()>
<i-input v-model="query" class='quick-search-input' @on-enter="onSearch($event)" placeholder="<@getQuickSearchPlaceholder view />" />
<div class="quick-search-container">
<i-input v-model="query" class='quick-search-input' @on-enter="onSearch($event)" placeholder="<@getQuickSearchPlaceholder view />" />
<i-button @click="onReset">重置</i-button>
<i-button type="primary" @click="onSearch">搜索</i-button>
</div>
</#if>
<#if view.getQuickPSDESearchForm()?? || view.hasPSControl('searchform') || view.hasPSControl('searchbar')>
<div class="search-form-toggle" @click="toggleSearchForm">
<#-- <div class="search-form-toggle" @click="toggleSearchForm">
<i v-if="!isExpandSearchForm" class="el-icon-plus" />
<i v-else class="el-icon-minus" />
筛选条件
</div>
</div> -->
<#if view.hasPSControl('searchbar')>
${P.getCtrlCode('searchbar', 'CONTROL.html').code}
</#if>
</#if>
<#if view.getQuickPSDESearchForm()??>
<div class="quick-search-container">
<div class="quick-search-form-container">
<#assign quickSearchForm = view.getQuickPSDESearchForm() />
${P.getCtrlCode(quickSearchForm, 'CONTROL.html').code}
</div>
......@@ -60,52 +64,39 @@
${P.getCtrlCode('searchform', 'CONTROL.html').code}
</#if>
</template>
<#if view.getQuickPSDESearchForm()?? || view.hasPSControl('searchform') || view.hasPSControl('searchbar')>
<template #headerBottom>
<i-button @click="onReset">重置</i-button>
<i-button type="primary" @click="onSearch">搜索</i-button>
<#if view.hasPSControl('toolbar')>
<@ibizindent blank=8>
${P.getCtrlCode('toolbar', 'CONTROL.html').code}<#t>
</@ibizindent>
</#if>
</template>
</#if>
</#if>
<#-- END:快速搜索或工具栏存在 -->
<#if view.getViewType() != "DEGRIDVIEW9">
<#-- BEGIN:视图内容区视图消息 -->
<@ibizindent blank=8>
<#ibizinclude>
./View_Pos_Body_Msgs.vue.ftl
</#ibizinclude>
</@ibizindent>
<#-- END:视图内容区视图消息 -->
<template #default>
<@ibizindent blank=8>
<#ibizinclude>
./View_Pos_Body_Msgs.vue.ftl
</#ibizinclude>
</@ibizindent>
<#if view.hasPSControl('grid')>
${P.getCtrlCode('grid', 'CONTROL.html').code}
</#if>
</template>
</#if>
<template #footer>
<@ibizindent blank=8>
<#ibizinclude>
./View_Pos_Bottom_Msgs.vue.ftl
</#ibizinclude>
</@ibizindent>
</template>
</#assign>
<app-grid-view-layout class='view-container ${view.getViewType()?lower_case} ${srffilepath2(view.getCodeName())}<#if view.getPSSysCss?? && view.getPSSysCss()??> ${view.getPSSysCss().getCssName()}</#if>' :view-default-usage="viewDefaultUsage">
<@ibizindent blank=8>
<#ibizinclude>
./VIEW_CAPTION.vue.ftl
</#ibizinclude>
</@ibizindent>
<#-- BEGIN:视图顶部视图消息 -->
<@ibizindent blank=12>
<#ibizinclude>
./View_Pos_Top_Msgs.vue.ftl
</#ibizinclude>
</@ibizindent>
<#-- END:视图顶部视图消息 -->
<@ibizindent blank=12>
<#ibizinclude>
./VIEW_MD_CONTENT.vue.ftl
</#ibizinclude>
</@ibizindent>
<#-- BEGIN:视图底部视图消息 -->
<@ibizindent blank=12>
<#ibizinclude>
./View_Pos_Bottom_Msgs.vue.ftl
</#ibizinclude>
</@ibizindent>
<#-- END:视图底部视图消息 -->
</app-grid-view-layout>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册