From 021f489555f796e1241cc9078648e5913566b2ad Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期四, 31 十月 2024 17:40:38 +0800
Subject: [PATCH] 测试完成

---
 src/views/repositoryai/templateku/configurat/index.vue |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/src/views/repositoryai/templateku/configurat/index.vue b/src/views/repositoryai/templateku/configurat/index.vue
index 704eb28..72eaeb2 100644
--- a/src/views/repositoryai/templateku/configurat/index.vue
+++ b/src/views/repositoryai/templateku/configurat/index.vue
@@ -1801,7 +1801,7 @@
         compileFollowup(this.ruleForm).then((res) => {
           this.$modal.msgSuccess("淇敼鎴愬姛");
           this.confirmillness();
-          this.putbelongDepts();
+          this.putbelongDepts(this.id);
           this.$modal.closeLoading();
           // this.$router.go(-1);
           window.location.reload();
@@ -1875,6 +1875,13 @@
     },
     // 淇濆瓨绉戝/鐥呭尯
     putbelongDepts(id) {
+      this.tempDetpRelevanceslistform.forEach(item=>{
+        if (!item.tempid) item.tempid=id;
+      })
+
+      this.tempbelongWardsform.forEach(item=>{
+        if (!item.tempid) item.tempid=id;
+      })
       if (this.tempDetpRelevanceslistform.length > 0) {
         depthospgetson(this.tempDetpRelevanceslistform).then((res) => {
           if (res.code == 200) {

--
Gitblit v1.9.3