From b80cce9090cbc45030fbb6a2a483acf2a443a0ee Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Mon, 21 Apr 2025 19:34:32 +0800
Subject: [PATCH] feat:setOsdVisibleInfo调用注释
---
src/views/SignMachineNest/MachineLeft/MachineLeft.vue | 78 ++++++++++++++++++++++-----------------
1 files changed, 44 insertions(+), 34 deletions(-)
diff --git a/src/views/SignMachineNest/MachineLeft/MachineLeft.vue b/src/views/SignMachineNest/MachineLeft/MachineLeft.vue
index 417f790..2a477df 100644
--- a/src/views/SignMachineNest/MachineLeft/MachineLeft.vue
+++ b/src/views/SignMachineNest/MachineLeft/MachineLeft.vue
@@ -1,48 +1,58 @@
+<!--
+ * @Author: shuishen 1109946754@qq.com
+ * @Date: 2025-04-21 16:15:34
+ * @LastEditors: shuishen 1109946754@qq.com
+ * @LastEditTime: 2025-04-21 19:31:07
+ * @FilePath: \command-center-dashboard\src\views\SignMachineNest\MachineLeft\MachineLeft.vue
+ * @Description:
+ *
+ * Copyright (c) 2025 by shuishen, All Rights Reserved.
+-->
<template>
- <div class="machine-left">
- <!--时间 天气-->
- <common-weather></common-weather>
- <!-- 机巢数据 -->
- <MachineData></MachineData>
- <div class="do-return" @click="goBack">
- <img src="../../../assets/images/return.png" alt="" />
- </div>
- <!--巡检任务详情-->
- <InspectionRaskDetails></InspectionRaskDetails>
- </div>
+ <div class="machine-left">
+ <!--时间 天气-->
+ <common-weather></common-weather>
+ <!-- 机巢数据 -->
+ <MachineData></MachineData>
+ <div class="do-return" @click="goBack">
+ <img src="../../../assets/images/return.png" alt="" />
+ </div>
+ <!--巡检任务详情-->
+ <InspectionRaskDetails></InspectionRaskDetails>
+ </div>
</template>
<script setup>
-import CommonWeather from '@/components/CommonWeather.vue';
-import MachineData from './MachineData.vue';
-import InspectionRaskDetails from './InspectionRaskDetails.vue';
-import { useRouter } from 'vue-router';
-import { useStore } from 'vuex';
+import CommonWeather from '@/components/CommonWeather.vue'
+import MachineData from './MachineData.vue'
+import InspectionRaskDetails from './InspectionRaskDetails.vue'
+import { useRouter } from 'vue-router'
+import { useStore } from 'vuex'
-const router = useRouter();
+const router = useRouter()
const store = useStore()
const goBack = () => {
- store.commit('setSingleUavHome', {});
- store.commit('setFootActiveIndex', 0);
- store.commit('setOsdVisibleInfo', {});
-};
+ store.commit('setSingleUavHome', {})
+ store.commit('setFootActiveIndex', 0)
+ // store.commit('setOsdVisibleInfo', {});
+}
</script>
<style scoped lang="scss">
.machine-left {
- position: absolute;
- top: 88px;
- color: #e7f5ff;
- .do-return {
- position: absolute;
- top: 40px;
- right: -50px;
- cursor: pointer;
- img {
- width: 60px;
- height: 33px;
- }
- }
+ position: absolute;
+ top: 88px;
+ color: #e7f5ff;
+ .do-return {
+ position: absolute;
+ top: 40px;
+ right: -50px;
+ cursor: pointer;
+ img {
+ width: 60px;
+ height: 33px;
+ }
+ }
}
</style>
--
Gitblit v1.9.3