提交 bbec2993 编写于 作者: JunZai's avatar JunZai

update

上级 4df47264
......@@ -18,7 +18,7 @@
<i-input v-model="query" placeholder="<#if ctrl.getPSSearchBarQuickSearchs()??><#list ctrl.getPSSearchBarQuickSearchs() as search><#if search_index gt 0>,</#if><#if search.getPSDEField()??>${search.getPSDEField().getLogicName()}</#if></#list></#if>" style="<#if ctrl.getQuickSearchWidth() gt 0>width: ${ctrl.getQuickSearchWidth()?c}px;</#if>"></i-input>
</#if> -->
<div class="search-bar-action">
<el-select size="small" v-if="historyItems.length > 0" @change="onFilterChange">
<el-select size="small" v-if="historyItems.length > 0" v-model="selectItem" @change="onFilterChange">
<el-option v-for="item in historyItems" :key="item.value" :label="item.name" :value="item.value"></el-option>
</el-select>
<i-button type="primary" @click="onSearch">搜索</i-button>
......@@ -118,6 +118,14 @@ FilterTree,
*/
protected historyItems: any[] = [];
/**
* 选中记录
*
* @type {string}
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
protected selectItem: any = null;
/**
* 获取多项数据
*
......@@ -285,6 +293,7 @@ FilterTree,
value: time.unix(),
data: JSON.parse(JSON.stringify(this.filterItems))
})
this.selectItem = time.unix();
let param: any = {};
Object.assign(param, {
......
......@@ -3,6 +3,7 @@
.search-bar-action {
float: right;
display: flex;
align-items: center;
> .ivu-btn {
margin-left: 5px;
}
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册