From 7b07e33a1c719f9831fa3c5d81522b9f2da45bc4 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期四, 14 九月 2023 16:17:58 +0800
Subject: [PATCH] 	modified:   src/components/view/standard.vue

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

diff --git a/src/components/view/technology.vue b/src/components/view/technology.vue
index 09c9d13..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"
               >
@@ -518,9 +519,9 @@
         elementId: "",
         deviceGroup: "",
       },
-      search: {
-        type: "",
-      },
+      // search: {
+      //   type: "",
+      // },
       delete: [],
       treetrunk: [],
       process: [],
@@ -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