This commit is contained in:
”Rain“ 2024-05-24 21:45:09 +08:00
parent 2e1de42595
commit e919faf285
2 changed files with 7 additions and 5 deletions

View File

@ -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,
},

View File

@ -5,7 +5,7 @@
巡检任务
</view>
<view class="right">
<dateTimePiccker :placeholder="'请选择'" :start="startTime" fields="day" :default-value="condition.date"
<dateTimePiccker :placeholder="'请选择'" fields="day" :default-value="condition.date"
@change="bindPickerChange($event,'startTime')" class="dateTimePiccker">
</dateTimePiccker>
</view>
@ -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));