|
|
@ -127,10 +127,10 @@ export default { |
|
|
|
|
|
|
|
this.searchName = '' |
|
|
|
this.tableData = [] |
|
|
|
const { columnName, label } = this.$route.query |
|
|
|
const { columnName, label, id, level } = this.$route.query |
|
|
|
this.searchName = columnName |
|
|
|
this.tableTitle = label |
|
|
|
this.loadList() |
|
|
|
this.loadList(id, level) |
|
|
|
|
|
|
|
}, |
|
|
|
beforeRouteEnter(to, from, next) { |
|
|
@ -146,11 +146,13 @@ export default { |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
async loadList () { |
|
|
|
async loadList (id, level) { |
|
|
|
this.loading = true |
|
|
|
const url = "/epmetuser/icresiuser/searchbycategory" |
|
|
|
let params = { |
|
|
|
columnName: this.searchName, |
|
|
|
id, |
|
|
|
level, |
|
|
|
pageSize: this.pageSize, |
|
|
|
pageNo: this.pageNo |
|
|
|
} |
|
|
|