From 8cdaaafadbbdcff3e55da90fc160191d34ec40c7 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 03 Apr 2025 17:14:00 +0800
Subject: [PATCH] feat: 历史任务详情
---
src/views/SignMachineNest/MachineLeft/MachineLeft.vue | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/src/views/SignMachineNest/components/MachineLeft/MachineLeft.vue b/src/views/SignMachineNest/MachineLeft/MachineLeft.vue
similarity index 81%
rename from src/views/SignMachineNest/components/MachineLeft/MachineLeft.vue
rename to src/views/SignMachineNest/MachineLeft/MachineLeft.vue
index 9083755..f746ffc 100644
--- a/src/views/SignMachineNest/components/MachineLeft/MachineLeft.vue
+++ b/src/views/SignMachineNest/MachineLeft/MachineLeft.vue
@@ -5,7 +5,7 @@
<!-- 机巢数据 -->
<MachineData></MachineData>
<div class="do-return" @click="goBack">
- <img src="@/assets/images/signMachineNest/return.png" alt="" />
+ <img src="../../../assets/images/signMachineNest/return.png" alt="" />
</div>
<!--巡检任务详情-->
<InspectionRaskDetails></InspectionRaskDetails>
@@ -17,11 +17,13 @@
import MachineData from './MachineData.vue';
import InspectionRaskDetails from './InspectionRaskDetails.vue';
import { useRouter } from 'vue-router';
+import { useStore } from 'vuex';
const router = useRouter();
+const store = useStore()
const goBack = () => {
- router.push('/index');
+ store.commit('setSingleUavHome', {});
};
</script>
@@ -32,7 +34,7 @@
color: #e7f5ff;
.do-return {
position: absolute;
- top: 56px;
+ top: 50px;
right: -50px;
cursor: pointer;
img {
@@ -41,4 +43,4 @@
}
}
}
-</style>
\ No newline at end of file
+</style>
--
Gitblit v1.9.3