diff --git a/pages/projectEnd/InspectionRoute/editInspectionPoint.vue b/pages/projectEnd/InspectionRoute/editInspectionPoint.vue index 93addaa2..200ff865 100644 --- a/pages/projectEnd/InspectionRoute/editInspectionPoint.vue +++ b/pages/projectEnd/InspectionRoute/editInspectionPoint.vue @@ -101,7 +101,7 @@ return { editId: "", coordType: "gcj02", - standOptions: [30, 50, 100, 200, 300], + standOptions: [5, 10, 20, 30, 50, 100, 200, 300], mobileTopHeight: 0, projectSn: '', userInfo: {}, diff --git a/pages/projectEnd/InspectionRoute/inspecteddetail.vue b/pages/projectEnd/InspectionRoute/inspecteddetail.vue index 8b8597c0..dd57acdc 100644 --- a/pages/projectEnd/InspectionRoute/inspecteddetail.vue +++ b/pages/projectEnd/InspectionRoute/inspecteddetail.vue @@ -28,7 +28,7 @@ - {{item.checkingPointName}} + {{item.checkingPointName}} - 巡检图片: + 巡检图片: - - + + + 扫码巡检 @@ -134,6 +156,30 @@ // this.getcheckingInfo(); }, methods: { + markTap() { + console.log('ccccccc') + console.log(this.checkingInfoDetail.latitude, this.checkingInfoDetail.longitude) + console.log('ccccccc') + uni.openLocation({ + // 目标位置的经纬度 + latitude: parseFloat(this.checkingInfoDetail.latitude), + longitude: parseFloat(this.checkingInfoDetail.longitude), + name: this.checkingInfoDetail.checkingPointName, + // 调用成功时的回调函数 + success: function(res) { + console.log('调用成功:', res) + }, + // 调用失败时的回调函数 + fail: function(res) { + console.log('调用失败:', res) + }, + // 调用完成时的回调函数 + complete: function(res) { + console.log('调用完成:', res) + } + }) + + }, getcheckingList() { let that = this; //获取我整改的巡查记录数量 @@ -164,10 +210,10 @@ }, getcheckingInfo() { let that = this; - + let url = this.checkingInfoDetail.inspectStatus == 0 ? 'xmgl/checkingPoint/getTaskDetailPage' : 'xmgl/checkingPointInfo/selectPage'; //获取我整改的巡查记录详情 this.sendRequest({ - url: 'xmgl/checkingPointInfo/selectPage', + url: url, method: 'post', data: { projectSn: this.projectSn, @@ -231,6 +277,24 @@