From e3c2cd23253f3501be7d31e03955fbb6f4aa3556 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Fri, 15 May 2026 16:30:04 +0800
Subject: [PATCH] Merge branch 'refs/heads/feature/v9.0/9.0.4' into prod
---
src/subPackages/droneConsole/index.vue | 17 +++++------------
1 files changed, 5 insertions(+), 12 deletions(-)
diff --git a/src/subPackages/droneConsole/index.vue b/src/subPackages/droneConsole/index.vue
index a947943..b296006 100644
--- a/src/subPackages/droneConsole/index.vue
+++ b/src/subPackages/droneConsole/index.vue
@@ -6,21 +6,10 @@
import {onHide, onLoad, onShow} from "@dcloudio/uni-app";
import WebViewPlus from "@/components/WebViewPlus.vue";
import {getEnvObj, getWebViewUrl} from "@/utils/index.js";
-import Recorder from "js-audio-recorder";
-import dayjs from "dayjs";
import {useUserStore} from "@/store/index.js";
-
-const queryParams = ref({})
-
-const viewUrl = computed(() => {
- return getWebViewUrl('/DroneConsole', queryParams.value)
-})
function onPostMessage(data) {
if (data.type === 'back'){
- // uni.navigateTo({
- // url: `/subPackages/inProgress/index?wayLineJobInfoId=${data.taskDetails.id}`
- // });
// #ifdef H5
window.history.back()
// #endif
@@ -87,8 +76,12 @@
})
}
+const viewUrl = ref("");
onLoad((options) => {
- queryParams.value = options
+ viewUrl.value = getWebViewUrl("/DroneConsole", {
+ wayLineJobInfoId: options.wayLineJobInfoId,
+ dockSn: options.dockSn,
+ });
})
--
Gitblit v1.9.3