|
@@ -52,8 +52,7 @@ export default {
|
|
|
scroll: null,
|
|
|
numFetchStatus: 0,
|
|
|
arrFetchStatus: ['正在加载,请稍后~', '上拉加载更多', '没有更多了', '出错啦'],
|
|
|
- booFetchData: false,
|
|
|
- numPositionY: 0
|
|
|
+ booFetchData: false
|
|
|
}
|
|
|
},
|
|
|
activated () {
|
|
@@ -66,13 +65,11 @@ export default {
|
|
|
this.listData = []
|
|
|
this.numFetchStatus = 0
|
|
|
this.booFetchData = false
|
|
|
- this.numPositionY = 0
|
|
|
this.funFetch()
|
|
|
} else {
|
|
|
this.$nextTick(() => {
|
|
|
if (this.scroll) {
|
|
|
this.scroll.refresh()
|
|
|
- this.scroll.scrollTo(0, this.numPositionY)
|
|
|
}
|
|
|
})
|
|
|
}
|
|
@@ -97,7 +94,6 @@ export default {
|
|
|
this.listData = []
|
|
|
this.numFetchStatus = 0
|
|
|
this.booFetchData = false
|
|
|
- this.numPositionY = 0
|
|
|
this.funFetch()
|
|
|
}
|
|
|
}
|
|
@@ -111,7 +107,7 @@ export default {
|
|
|
if (this.isSearch) {
|
|
|
vm.$store.dispatch('business/setIsSearch', 0)
|
|
|
}
|
|
|
- partnerList(vm.pager.pagenum, vm.pager.pagesize, this.search, partnerStatus).then(response => {
|
|
|
+ partnerList(vm.pager.pagenum, vm.pager.pagesize, this.search).then(response => {
|
|
|
if (response.status) {
|
|
|
const data = response.data
|
|
|
const temp = data.data
|