|
@@ -125,6 +125,7 @@ export default {
|
|
};
|
|
};
|
|
},
|
|
},
|
|
activated() {
|
|
activated() {
|
|
|
|
+ this.getList();
|
|
this.getTreeList()
|
|
this.getTreeList()
|
|
},
|
|
},
|
|
mounted() {
|
|
mounted() {
|
|
@@ -185,8 +186,12 @@ export default {
|
|
}
|
|
}
|
|
},
|
|
},
|
|
getList() {
|
|
getList() {
|
|
|
|
+ let catalogId = this.searchForm.catalogId ? this.searchForm.catalogId : null
|
|
|
|
+ if(catalogId) {
|
|
|
|
+ catalogId = catalogId[catalogId.length - 1]
|
|
|
|
+ }
|
|
let params = {
|
|
let params = {
|
|
- catalogIds: this.searchForm.catalogId ? this.searchForm.catalogId[0] : null,
|
|
|
|
|
|
+ catalogIds: catalogId,
|
|
page: this.pageInfo.page,
|
|
page: this.pageInfo.page,
|
|
rows: this.pageInfo.limit
|
|
rows: this.pageInfo.limit
|
|
}
|
|
}
|