添加过滤条件

This commit is contained in:
庞东林
2021-12-09 16:44:09 +08:00
parent 4578c31a97
commit bc772355eb
2 changed files with 9 additions and 2 deletions

View File

@@ -201,7 +201,7 @@ export default {
emitData(val){
if(val && this.where.startTime && this.where.endTime){
this.$emit("search", this.where);
this.searchData()
}
},
@@ -253,9 +253,13 @@ export default {
this.where = {
checked: 1,
};
this.filter = innerFilterColumns.map((item) => item.dataIndex);
this.handleOk()
this.searchData();
},
searchData() {
this.where.filter = [...this.filter]
this.$emit("search", this.where);
},
exportFile() {