From fa0045dec30afff824b1efdafeb437a7b4f21c7e Mon Sep 17 00:00:00 2001
From: rain <167982779@qq.com>
Date: Thu, 16 Jan 2025 10:08:16 +0800
Subject: [PATCH] 打印ws信息
---
src/pages/page-web/projects/project_list/index.vue | 29 +++++++++++++++++++++++++++--
1 files changed, 27 insertions(+), 2 deletions(-)
diff --git a/src/pages/page-web/projects/project_list/index.vue b/src/pages/page-web/projects/project_list/index.vue
index f755835..79f7c7c 100644
--- a/src/pages/page-web/projects/project_list/index.vue
+++ b/src/pages/page-web/projects/project_list/index.vue
@@ -1,6 +1,15 @@
+<!--
+ * @Author: GuLiMmo 2820890765@qq.com
+ * @Date: 2024-03-12 17:59:03
+ * @LastEditors: GuLiMmo 2820890765@qq.com
+ * @LastEditTime: 2024-08-27 16:51:28
+ * @FilePath: /drone-web/src/pages/page-web/projects/project_list/index.vue
+ * @Description:
+ * Copyright (c) 2024 by GuLiMmo, All Rights Reserved.
+-->
<template>
<div class="project_list">
- <div class="left_content">
+ <div :class="[isHidden? 'w50' : 'left_content']">
<router-view />
</div>
<div class="right_content">
@@ -14,6 +23,9 @@
<div class="task-wrapper" v-if="root.$route.name === ERouterName.TASK">
<TaskPanel />
</div>
+ <div class="device-wrapper" v-if="root.$route.name === ERouterName.IMPLEMENT">
+ <Devices />
+ </div>
</div>
</div>
</template>
@@ -23,9 +35,16 @@
import GMap from '/@/components/GMap.vue'
import MediaPanel from '/@/components/MediaPanel.vue'
import TaskPanel from '/@/components/task/TaskPanel.vue'
+import Devices from '/@/pages/page-web/projects/devices.vue'
import { EBizCode, ERouterName } from '/@/types'
import { getRoot } from '/@/root'
+const route = useRoute()
+const isHidden = computed(() => {
+ const flag = !!route.meta?.hidden
+ return flag
+})
const root = getRoot()
+
</script>
<style scoped lang="scss">
@@ -34,7 +53,12 @@
transition: width 0.2s ease;
height: 100%;
width: 100%;
-
+ .w50 {
+ width: 50px;
+ max-height: 100vh;
+ background-color: black;
+ color: $text-white-basic !important;
+ }
.left_content {
width: 370px;
max-height: 100vh;
@@ -52,6 +76,7 @@
}
.media-wrapper,
+ .device-wrapper,
.task-wrapper {
position: absolute;
top: 0;
--
Gitblit v1.9.3