diff --git a/pages/projectEnd/InspectionRoute/inspecteddetail.vue b/pages/projectEnd/InspectionRoute/inspecteddetail.vue index 0c2ac424..2d0c4dbd 100644 --- a/pages/projectEnd/InspectionRoute/inspecteddetail.vue +++ b/pages/projectEnd/InspectionRoute/inspecteddetail.vue @@ -115,7 +115,7 @@ this.projectSn = JSON.parse(uni.getStorageSync('projectDetail')).projectSn; console.log(options); this.getcheckingList(); - this.getcheckingInfo(); + }, //上拉触底时间 onReachBottom() { @@ -139,6 +139,8 @@ success: res => { console.log(res.result.records); that.checkingList = res.result.records; + this.checkingInfoDetail = res.result.records[0]; + this.getcheckingInfo(); } }) }, @@ -158,9 +160,9 @@ method: 'post', data: { projectSn: this.projectSn, - // xzCheckingRouteTaskId: this.info.id, + xzCheckingRouteTaskId: this.info.id, checkingPointId:this.checkingInfoDetail.id, - // checkingPointUserId: this.info.xzCheckingRoute.inspectUserIds, + // checkingPointUserId: this.checkingInfoDetail.inspectUserIds, pageNo: that.pageNo, pageSize: that.pageSize, }, diff --git a/pages/projectEnd/InspectionRoute/inspectedstay.vue b/pages/projectEnd/InspectionRoute/inspectedstay.vue index 28ff5e34..300a0587 100644 --- a/pages/projectEnd/InspectionRoute/inspectedstay.vue +++ b/pages/projectEnd/InspectionRoute/inspectedstay.vue @@ -5,7 +5,7 @@ 巡检任务 - @@ -144,7 +144,6 @@ methods: { //获取进度数据 getListData() { - let that = this; this.sendRequest({ url: 'xmgl/xzCheckingRouteTask/page', @@ -152,6 +151,7 @@ data: { ...that.condition, isInspect: that.tabIndex, + date:this.condition.date, }, success: res => { let arr = JSON.parse(JSON.stringify(this.listData));