From 7d3abf8ef0ca35f431e74f8282d80beda40e535d Mon Sep 17 00:00:00 2001
From: 王震 <10952869+daywangzhen@user.noreply.gitee.com>
Date: 星期四, 14 九月 2023 11:53:09 +0800
Subject: [PATCH] 改bug

---
 src/components/view/laboratoryManagement.vue |   31 ++++++++++++++++++++++++++++---
 1 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/src/components/view/laboratoryManagement.vue b/src/components/view/laboratoryManagement.vue
index f03f361..b099a46 100644
--- a/src/components/view/laboratoryManagement.vue
+++ b/src/components/view/laboratoryManagement.vue
@@ -1,8 +1,8 @@
 <template>
-  <div>
+  <div class="laboratoryMangement">
     <el-row>
       <el-col :span="12" class="top_left_name">璁惧缁存姢</el-col>
-      <el-col :span="12" style="text-align: right;">
+      <el-col :span="12" style="text-align: right;" class="title">
         <el-button
           @click="testItem()"
           type="primary"
@@ -588,6 +588,7 @@
         let one=this.towTree[0]
         console.log(one);
         let name =one.father
+        this.checkTreeNode.father = name
 			  console.log(name);
         this.selectDeviceStart(name)
         });
@@ -696,7 +697,9 @@
     delDeviceById() {
       this.$axios.post(this.$api.url.delDeviceById,{
           id:this.delete.id
-      })
+      }).then(res=>{
+        this.$parent.removeAllTab()
+      });
     },
     handleClick(row) {
       console.log(row);
@@ -995,3 +998,25 @@
   line-height: 14px;
 }
 </style>
+<style>
+	.laboratoryMangement .title *{
+		font-size: 14px;
+	}
+	
+	.laboratoryMangement .table_top_div *{
+		font-size: 14px;
+	}
+	
+	.laboratoryMangement .title .el-button {
+	  height: 32px;
+	  border: 1px solid rgba(190, 190, 190, 0.44);
+	  box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41);
+	  padding: 0 12px;
+	}
+	.laboratoryMangement .table_top_div .el-button {
+	  height: 32px;
+	  border: 1px solid rgba(190, 190, 190, 0.44);
+	  box-shadow: 0px 2px 4px rgba(220, 220, 220, 0.41);
+	  padding: 0 12px;
+	}
+</style>
\ No newline at end of file

--
Gitblit v1.9.3