From 9ddf303ca99059fac2d6b83829f2d39c04d1cf5f Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期三, 13 九月 2023 18:04:20 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before

---
 src/components/view/technology.vue |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/src/components/view/technology.vue b/src/components/view/technology.vue
index 6fa3369..c0ad40a 100644
--- a/src/components/view/technology.vue
+++ b/src/components/view/technology.vue
@@ -46,6 +46,7 @@
   height: calc(100% - 20px);
   border-right: 3px solid rgb(245, 247, 251);
   padding: 16px;
+	overflow-y: auto;
 }
 
 .thing .left .custom-tree-node span {
@@ -174,7 +175,6 @@
           node-key="name"
           default-expand-all
           @node-click="handleNodeClick"
-          style="height: 500px;overflow-y: auto;"
           :key="upIndex"
           highlight-current
         >
@@ -602,7 +602,7 @@
           }
         )
         .then((res) => {
-          console.log(res);
+					this.$parent.removeAllTab()
           this.selectAllTechNam();
           this.form = {};
         });
@@ -640,17 +640,17 @@
 			},
     //鎵归噺鍒犻櫎
     delAllTech() {
-      console.log(this.delete);
       this.$axios.post(this.$api.url.delAllTech, {
-        ids: this.delete,
+        ids: this.delete
       });
+			this.$parent.removeAllTab()
     },
     //鍒犻櫎
     delTechById() {
-      console.log(this.$api.url.delTechById, this.upData.id);
       this.$axios.post(this.$api.url.delTechById, {
-        id: this.upData.id,
+        id: this.upData.id
       });
+			this.$parent.removeAllTab()
     },
     //缂栬緫
     writeTechById() {
@@ -677,7 +677,7 @@
           }
         )
         .then((res) => {
-          console.log(res);
+					this.$parent.removeAllTab()
         });
     },
 
@@ -789,7 +789,6 @@
         return el.id;
       });
       this.delete = cc.join(",");
-      console.log(this.delete);
       this.delAllTech();
       this.$message.success("鍒犻櫎瀹屾垚");
     },

--
Gitblit v1.9.3