From 9a9bd5273a0a5885834ee80dcb7fdd69013450b0 Mon Sep 17 00:00:00 2001
From: WXL <1785969728@qq.com>
Date: 星期五, 01 十一月 2024 18:01:01 +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