hookehuyr

fix: 在打卡跳转时添加id和marker_id参数

1 <!-- 1 <!--
2 * @Date: 2024-09-15 22:08:49 2 * @Date: 2024-09-15 22:08:49
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2025-09-03 17:18:12 4 + * @LastEditTime: 2025-09-03 17:21:26
5 * @FilePath: /map-demo/src/views/checkin/info.vue 5 * @FilePath: /map-demo/src/views/checkin/info.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -530,7 +530,7 @@ const checkIn = async () => { // 打卡 ...@@ -530,7 +530,7 @@ const checkIn = async () => { // 打卡
530 confirmButtonText: '去上传图片', 530 confirmButtonText: '去上传图片',
531 }).then(() => { 531 }).then(() => {
532 // 后续上传图片页面 532 // 后续上传图片页面
533 - wx.miniProgram.navigateTo({ url: '/pages/UploadMedia/index' }); 533 + wx.miniProgram.navigateTo({ url: '/pages/UploadMedia/index?from=checkin&id=' + $route.query.id + '&marker_id=' + $route.query.marker_id });
534 }); 534 });
535 535
536 // 判断用户时候在范围内 536 // 判断用户时候在范围内
...@@ -551,7 +551,7 @@ const checkIn = async () => { // 打卡 ...@@ -551,7 +551,7 @@ const checkIn = async () => { // 打卡
551 confirmButtonText: '去上传图片', 551 confirmButtonText: '去上传图片',
552 }).then(() => { 552 }).then(() => {
553 // 后续上传图片页面 553 // 后续上传图片页面
554 - wx.miniProgram.navigateTo({ url: '/pages/UploadMedia/index?from=checkin' }); 554 + wx.miniProgram.navigateTo({ url: '/pages/UploadMedia/index?from=checkin&id=' + $route.query.id + '&marker_id=' + $route.query.marker_id });
555 }); 555 });
556 } else { 556 } else {
557 show_toast.value = true; 557 show_toast.value = true;
......