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

update:表格视图更新

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