|
|
@@ -26,6 +26,7 @@
|
|
|
:key="key"
|
|
|
@on-load="onLoad"
|
|
|
@search-change="searchChange"
|
|
|
+ @search-reset="searchReset"
|
|
|
@refresh-change="refreshChange"
|
|
|
:cell-style="cellStyle"
|
|
|
@search-criteria-switch="searchCriteriaSwitch"
|
|
|
@@ -573,6 +574,11 @@ export default {
|
|
|
done();
|
|
|
this.onbrandLoad();
|
|
|
},
|
|
|
+ searchReset() {
|
|
|
+ this.$refs.treeRef.setCurrentKey(null);
|
|
|
+ this.query = this.$options.data().query;
|
|
|
+ // this.onLoad(this.page);
|
|
|
+ },
|
|
|
brandrefreshChange() {
|
|
|
this.onLoad();
|
|
|
},
|
|
|
@@ -628,7 +634,6 @@ export default {
|
|
|
this.onLoad(this.page, params);
|
|
|
},
|
|
|
onLoad(page, params = {}) {
|
|
|
- console.log(params);
|
|
|
params = {
|
|
|
storageId: params.storageId,
|
|
|
current: page.currentPage,
|