Merge pull request '添加过滤条件' (#8) from huku into master
Reviewed-on: http://git.gxwebsoft.com/shengtaiting/shengtai-admin/pulls/8
This commit is contained in:
@@ -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,12 @@ 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() {
|
||||
|
||||
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user