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

---
 src/components/view/technology.vue |   14 +++++++++++---
 1 files changed, 11 insertions(+), 3 deletions(-)

diff --git a/src/components/view/technology.vue b/src/components/view/technology.vue
index aa700a6..93e60ed 100644
--- a/src/components/view/technology.vue
+++ b/src/components/view/technology.vue
@@ -361,6 +361,7 @@
                 v-model="form.father"
                 allow-create
                 filterable
+                @create=""
                 placeholder="璇烽�夋嫨"
                 style="width: 480px"
               >
@@ -624,8 +625,9 @@
         )
         .then((res) => {
           console.log(res);
-          this.selectAllTechNam();
+          /* this.selectAllTechNam(); */
           this.form = {};
+          this.$parent.removeAllTab()
         });
     },
 
@@ -664,6 +666,8 @@
       console.log(this.delete);
       this.$axios.post(this.$api.url.delAllTech, {
         ids: this.delete,
+      }).then(res=>{
+        this.$parent.removeAllTab()
       });
     },
     //鍒犻櫎
@@ -671,6 +675,8 @@
       console.log(this.$api.url.delTechById, this.upData.id);
       this.$axios.post(this.$api.url.delTechById, {
         id: this.upData.id,
+      }).then(res=>{
+        this.$parent.removeAllTab()
       });
     },
     //缂栬緫
@@ -699,7 +705,8 @@
           }
         )
         .then((res) => {
-          this.selectAllTechNam()
+          /* this.selectAllTechNam(), */
+          this.$parent.removeAllTab()
         });
     },
 
@@ -720,7 +727,8 @@
 		  let one=this.towTree.filter(item=>{
 			return item.children.length>0
 		  })[0]
-		  let name=one.children[0].name
+		  let name=one.children[0].name 
+      this.checkTreeNode.name=name
 		  this.selectAllTechNamStart(name)
           this.selectDataList();
         });

--
Gitblit v1.9.3