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

update

上级 d5933320
......@@ -17,18 +17,6 @@
<#-- <#if !view.isEnableQuickSearch() && ctrl.getQuickSearchMode() gt 0>
<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> -->
<modal
class="searchbar-modal"
v-model="isShow"
:fullscreen="false"
title="设置名称"
:maskClosable="false"
:width="200"
:zIndex="zIndex"
@on-ok="onOk"
@on-cancel="onCancel">
<i-input v-model="saveItemName"></i-input>
</modal>
<div class="search-bar-action">
<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>
......@@ -324,7 +312,7 @@ FilterTree,
value: time.unix().toString(),
data: JSON.parse(JSON.stringify(this.filterItems))
})
this.selectItem = time.unix();
this.selectItem = time.unix().toString();
let param: any = {};
Object.assign(param, {
......@@ -407,6 +395,8 @@ FilterTree,
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public onOk() {
let propip: any = this.$refs.propip;
propip.handleMouseleave();
this.onSave(this.saveItemName);
}
......@@ -417,6 +407,8 @@ FilterTree,
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public onCancel() {
let propip: any = this.$refs.propip;
propip.handleMouseleave();
this.onSave();
}
<#ibizinclude>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册