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

update

上级 bfd0a37c
......@@ -14,7 +14,10 @@
<div v-if="filterFields.length > 0" class="filter-group">
<template v-for="(item, index) of filterItems">
<filter-item :key="index" :data="item" :filterFields="filterFields" @remove="onRemove(index)">
<template slot-scope="{data}">
<template slot-scope="{ data }">
<template v-if="!data.field">
<i-input></i-input>
</template>
<#if ctrl.getPSSearchBarFilters()??>
<#list ctrl.getPSSearchBarFilters() as filter>
<template v-if="Object.is(data.field, '<#if filter.getPSDEField()??>${filter.getPSDEField().getCodeName()?lower_case}<#else>${filter.getName()}</#if>')">
......@@ -130,7 +133,7 @@
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public onAdd() {
this.filterItems.push({});
this.filterItems.push({ group: '1' });
}
/**
......@@ -160,7 +163,8 @@
* @memberof ${srfclassname('${ctrl.codeName}')}Base
*/
public onReset() {
this.query = '';
this.filterItems = [];
}
<#ibizinclude>
../@MACRO/CONTROL/CONTROL_BOTTOM-BASE.vue.ftl
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册