罗广辉
2025-12-20 6c82498f976b8fc7649c76c29a5adde8fb7002e2
src/subPackages/taskDetail/inProgress/index.vue
@@ -1,13 +1,3 @@
<!--
 * @Author       : yuan
 * @Date         : 2025-12-05 11:32:36
 * @LastEditors  : yuan
 * @LastEditTime : 2025-12-19 15:56:31
 * @FilePath     : \src\subPackages\inProgress\index.vue
 * @Description  :
 * Copyright 2025 OBKoro1, All Rights Reserved.
 * 2025-12-05 11:32:36
-->
<template>
  <WebViewPlus
    v-if="showComponent"
@@ -22,6 +12,7 @@
import { onHide, onLoad, onShow } from "@dcloudio/uni-app";
const wayLineJobInfoId = ref(null);
const batchNo = ref(null)
const viewUrl = ref("");
const showComponent = ref(false);
function onPostMessage(data) {
@@ -35,14 +26,15 @@
    });
  } else if (data.type === "control") {
    uni.navigateTo({
      url: `/subPackages/droneConsole/index?wayLineJobInfoId=${wayLineJobInfoId.value}&dockSn=${data.dockSn}`,
      url: `/subPackages/droneConsole/index?wayLineJobInfoId=${wayLineJobInfoId.value}&dockSn=${data.dockSn}&batchNo=${batchNo.value}`,
    });
  }
  // #endif
}
onLoad((options) => {
  wayLineJobInfoId.value = options.wayLineJobInfoId;
onLoad((queryParams) => {
  wayLineJobInfoId.value = queryParams.wayLineJobInfoId;
  batchNo.value = queryParams.batchNo
  viewUrl.value = getWebViewUrl("/TaskInProgress", {
    wayLineJobInfoId: wayLineJobInfoId.value,
  });