|
@@ -138,8 +138,8 @@
|
|
|
|
|
|
this.getDeviceList({
|
|
|
'company_code':uni.getStorageSync('selectedCode'),
|
|
|
- // 'start_time':this.datetimerange[0],
|
|
|
- // 'end_time':this.datetimerange[1],
|
|
|
+ 'start_time':this.datetimerange[0],
|
|
|
+ 'end_time':this.datetimerange[1],
|
|
|
'pages': this.pages,
|
|
|
'size': this.size
|
|
|
})
|
|
@@ -166,7 +166,7 @@
|
|
|
if (res.data.totalcount) {
|
|
|
this.funcReport = this.funcReport.concat(res.data.data)
|
|
|
if (res.data.data.length < this.size) { //判断接口返回数据量小于请求数据量,则表示此为最后一页
|
|
|
- alert(1)
|
|
|
+
|
|
|
this.isLoadMore = true
|
|
|
this.loadStatus = 'nomore'
|
|
|
} else {
|