1004749546@qq.com 4 years ago
parent
commit
0f94efb8e4
2 changed files with 4 additions and 4 deletions
  1. 2 2
      pages/index/index.vue
  2. 2 2
      pages/recoveryTotal/index.vue

+ 2 - 2
pages/index/index.vue

@@ -189,8 +189,6 @@
 			},
 			// 待处理订单信息
 			getList (lat,lng) {
-				// let lat = this.currentPosition.lat
-				// let lng = this.currentPosition.lng
 				uni.showLoading({
 					title: '加载中...'
 				})
@@ -202,6 +200,8 @@
 							item.distance = item.distance ? Math.round(item.distance/1000) : ''
 							item.reserveTime = moment(item.reserveDateBegin).format('YYYY-MM-DD') + item.reserveTimeTypeDictValue
 						})
+					} else {
+						this.noDataText = res.message
 					}
 					this.status = 'loadmore'
 					uni.hideLoading()

+ 2 - 2
pages/recoveryTotal/index.vue

@@ -101,8 +101,8 @@
 				recycleOrderReserve({
 					pageNo: this.pageNo,
 					pageSize: this.pageSize,
-					beginRecycleDate: this.searchForm.beginDate?moment(this.searchForm.beginDate).format('YYYY-MM-DD 00:00:00'):'',
-					endRecycleDate: this.searchForm.endDate ? moment(this.searchForm.endDate).format('YYYY-MM-DD 23:59:59'):'',
+					beginDate: this.searchForm.beginDate?moment(this.searchForm.beginDate).format('YYYY-MM-DD 00:00:00'):'',
+					endDate: this.searchForm.endDate ? moment(this.searchForm.endDate).format('YYYY-MM-DD 23:59:59'):'',
 				}).then(res => {
 					if (res.status == 200) {
 						if(this.pageNo>1){