From d187f73bc191dfffef5eda8f463eceb1572646ce Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Fri, 19 Dec 2025 16:00:42 +0800
Subject: [PATCH] Merge branch 'feature/v9.0/9.0.3' of http://139.196.74.78:10010/r/drone/drone-app into feature/v9.0/9.0.3
---
/dev/null | 18 ------------------
src/pages.json | 30 +++---------------------------
src/components/WebViewPlus.vue | 7 +++++++
src/subPackages/taskDetail/inProgress/index.vue | 0
src/pages/inspectionTask/index.vue | 2 +-
5 files changed, 11 insertions(+), 46 deletions(-)
diff --git a/src/components/WebViewPlus.vue b/src/components/WebViewPlus.vue
index 437b7a8..a6ca687 100644
--- a/src/components/WebViewPlus.vue
+++ b/src/components/WebViewPlus.vue
@@ -33,6 +33,13 @@
}
}
+
+onLoad((obj) => {
+ // const h5Params = obj?.cs && JSON.parse(obj?.cs)
+ // console.log('h5Params', h5Params)
+ // h5Params && viewMessage({detail: {data: [h5Params.data]}})
+})
+
onShow(() => {
if (window && window.addEventListener)
window.addEventListener("message", messageFun);
diff --git a/src/pages.json b/src/pages.json
index 96aae35..6ce2a2c 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -44,12 +44,6 @@
}
},
{
- "path": "pages/placeholder/placeholder",
- "style": {
- "navigationBarTitleText": "占位页面"
- }
- },
- {
"path": "pages/dispatcher/index",
"style": {
"navigationStyle": "custom"
@@ -65,24 +59,6 @@
"style": {
"navigationBarTitleText": "404",
"navigationStyle": "custom"
- }
- },
- {
- "path": "theme/index",
- "style": {
- "navigationBarTitleText": "主题设置"
- }
- },
- {
- "path": "taskDetail/index",
- "style": {
- "navigationBarTitleText": "任务详情"
- }
- },
- {
- "path": "inProgress/index",
- "style": {
- "navigationBarTitleText": "任务详情"
}
},
{
@@ -105,9 +81,9 @@
}
},
{
- "path": "taskDetail/inExecution/index",
+ "path": "taskDetail/inProgress/index",
"style": {
- "navigationBarTitleText": "执行中"
+ "navigationBarTitleText": "任务详情"
}
},
{
@@ -207,4 +183,4 @@
"navigationBarBackgroundColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
}
-}
\ No newline at end of file
+}
diff --git a/src/pages/inspectionTask/index.vue b/src/pages/inspectionTask/index.vue
index 3dcd60e..bccef03 100644
--- a/src/pages/inspectionTask/index.vue
+++ b/src/pages/inspectionTask/index.vue
@@ -40,7 +40,7 @@
// #ifndef MP-WEIXIN
if ([1, 2].includes(data.rowItem.status)) {
uni.navigateTo({
- url: `/subPackages/inProgress/index?wayLineJobInfoId=${data.rowItem.id}`,
+ url: `/subPackages/taskDetail/inProgress/index?wayLineJobInfoId=${data.rowItem.id}`,
});
} else {
uni.navigateTo({
diff --git a/src/subPackages/taskDetail/inExecution/index.vue b/src/subPackages/taskDetail/inExecution/index.vue
deleted file mode 100644
index e05ae39..0000000
--- a/src/subPackages/taskDetail/inExecution/index.vue
+++ /dev/null
@@ -1,8 +0,0 @@
-<!-- 执行中-直播画面 -->
-<template>
- <view> 基础 </view>
-</template>
-
-<script setup></script>
-
-<style lang="scss" scoped></style>
diff --git a/src/subPackages/inProgress/index.vue b/src/subPackages/taskDetail/inProgress/index.vue
similarity index 100%
rename from src/subPackages/inProgress/index.vue
rename to src/subPackages/taskDetail/inProgress/index.vue
diff --git a/src/subPackages/taskDetail/index.vue b/src/subPackages/taskDetail/index.vue
deleted file mode 100644
index 632f947..0000000
--- a/src/subPackages/taskDetail/index.vue
+++ /dev/null
@@ -1,18 +0,0 @@
-<!--
- * @Author : yuan
- * @Date : 2025-09-29 10:58:31
- * @LastEditors : yuan
- * @LastEditTime : 2025-09-29 11:38:21
- * @FilePath : \src\subPackages\taskDetail\index.vue
- * @Description :
- * Copyright 2025 OBKoro1, All Rights Reserved.
- * 2025-09-29 10:58:31
--->
-<!-- 任务详情-执行中 -->
-<template>
- <view> 基础 </view>
-</template>
-
-<script setup></script>
-
-<style lang="scss" scoped></style>
--
Gitblit v1.9.3