|
|
|
@ -122,13 +122,16 @@ |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
getList() { |
|
|
|
|
getList(v) { |
|
|
|
|
let datas = { |
|
|
|
|
nuserid: this.$.getData('token'), |
|
|
|
|
status: this.status, |
|
|
|
|
} |
|
|
|
|
this.$request.globalRequest(`/hiddenDanger/highDanger/getHigDangerDealt?pageNum=${this.page}&pageSize=${10}`, datas, 'POST').then(res => { |
|
|
|
|
if (res.code === 200) { |
|
|
|
|
if(v){ |
|
|
|
|
this.list = [] |
|
|
|
|
} |
|
|
|
|
if (res.result.total === 0) { |
|
|
|
|
this.isEmpty = true; |
|
|
|
|
} else { |
|
|
|
@ -162,6 +165,8 @@ |
|
|
|
|
// 延迟关闭刷新动画 |
|
|
|
|
setTimeout(() => { |
|
|
|
|
uni.stopPullDownRefresh(); |
|
|
|
|
this.page = 1 |
|
|
|
|
this.getList('onPullDownRefresh') |
|
|
|
|
}, 1500); |
|
|
|
|
}, |
|
|
|
|
// 页面上拉触底事件的处理函数 |
|
|
|
|