uu
This commit is contained in:
parent
b2bbaab61c
commit
4783cc3e6c
@ -45,6 +45,7 @@
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
reqLoading: false,
|
||||
page: { // 分页参数
|
||||
pageNum: 1,
|
||||
pageSize: 20,
|
||||
@ -77,10 +78,12 @@
|
||||
this.page.pageNum = 1
|
||||
this.showLoading()
|
||||
}
|
||||
this.reqLoading = true
|
||||
const res = await this.getListFun({
|
||||
...this.page,
|
||||
...this.searchParam
|
||||
})
|
||||
this.reqLoading = false
|
||||
let list = res.rows || []
|
||||
if (reload) {
|
||||
this.hideLoading()
|
||||
@ -99,6 +102,7 @@
|
||||
page: this.page,
|
||||
showLoadMore: this.showLoadMore,
|
||||
loadedAll: this.loadedAll,
|
||||
reqLoading: this.reqLoading
|
||||
...obj,
|
||||
})
|
||||
}
|
||||
|
||||
@ -147,12 +147,10 @@
|
||||
this.goBack()
|
||||
break
|
||||
;
|
||||
|
||||
}
|
||||
},
|
||||
handleEditItem(item={}) {
|
||||
this.goto(`address/edit?id=${item.id}`)
|
||||
|
||||
},
|
||||
async handleDelItem(item) {
|
||||
await this.confirmModal('确认要删除吗?')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user