diff --git a/src/assets/images/patroLog/full-src.png b/src/assets/images/patroLog/full-src.png new file mode 100644 index 0000000..ad22a00 --- /dev/null +++ b/src/assets/images/patroLog/full-src.png Binary files differ diff --git a/src/assets/images/patroLog/full-src.png b/src/assets/images/patroLog/full-src.png new file mode 100644 index 0000000..ad22a00 --- /dev/null +++ b/src/assets/images/patroLog/full-src.png Binary files differ diff --git a/src/assets/images/patroLog/play.png b/src/assets/images/patroLog/play.png new file mode 100644 index 0000000..788f95d --- /dev/null +++ b/src/assets/images/patroLog/play.png Binary files differ diff --git a/src/assets/images/patroLog/full-src.png b/src/assets/images/patroLog/full-src.png new file mode 100644 index 0000000..ad22a00 --- /dev/null +++ b/src/assets/images/patroLog/full-src.png Binary files differ diff --git a/src/assets/images/patroLog/play.png b/src/assets/images/patroLog/play.png new file mode 100644 index 0000000..788f95d --- /dev/null +++ b/src/assets/images/patroLog/play.png Binary files differ diff --git a/src/views/xuncha/components/inspection.vue b/src/views/xuncha/components/inspection.vue index 4f8309a..6408fb8 100644 --- a/src/views/xuncha/components/inspection.vue +++ b/src/views/xuncha/components/inspection.vue @@ -125,7 +125,7 @@ // 结束巡查关闭 const TaskCancelPatrol = () => { getCurrentPositon((lng, lat, address) => { - console.log('获取安卓定位参数--', address); + // console.log('获取安卓定位参数--', address); // 获取当前巡检任务的所有轨迹信息 // patrolTaskId(route.query.id).then((res) => { // if (res && res.code == 200) { @@ -196,6 +196,7 @@ refid: AllData.patrolLogId, userName: pinias.userName, }; + console.log(AllData.PostionValue, 'AllData.PostionValue'); }); }; /** @@ -204,21 +205,17 @@ const getInspectionInfo = (id) => { PatrolTaskID(id).then((res) => { if (res && res.code == 200) { + AllData.gujiData = res.data.patrolPathLngLat; // 保存当前巡检ID AllData.taskID = res.data.id; - console.log(AllData.taskID, 'AllData.taskID'); // 保存当前巡查段编号 // AllData.patrolSectionId = res.data.patrolSectionId; + // console.log(AllData.patrolSectionId, '2 '); // 保存日志编号 - // AllData.patrolLogId = res.data.patrolLogId; + AllData.patrolLogId = res.data.patrolLogId; // 保存巡检记录 - // AllData.patrolPathLngLat = res.data.patrolPathLngLat; + AllData.patrolPathLngLat = res.data.patrolPathLngLat; // AllData.patrolLogId = '1630380590036803588' - // 标题时间内容拼接 - let d = new Date(); - AllData.NoticeFont = `${d.getFullYear()}年${d.getMonth() + 1}月${d.getDate()}日开始${ - res.data.taskName - }的巡查工作`; startGetPosition(); //开始获取原生定位 sendSocketMessage(); //安卓、ios原生发送websocket } @@ -238,7 +235,7 @@ refid: AllData.patrolLogId, userName: pinias.userName, }; - console.log('安卓发送websocket---', initObj); + console.log('安卓发送websocket111---', initObj); //给Android发送参数,通知给后端发送websocket window.android.initwebSocket(JSON.stringify(initObj)); } else if (systems == 'IOS') {