From b4fe2c16274a91fee4fb26d91374f95fbe2dbcec Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 09 十一月 2026 15:28:21 +0800
Subject: [PATCH] 测试完成

---
 src/views/patient/archives/apiAdapter.js |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)

diff --git a/src/views/patient/archives/apiAdapter.js b/src/views/patient/archives/apiAdapter.js
index 3b1ec81..3967ff4 100644
--- a/src/views/patient/archives/apiAdapter.js
+++ b/src/views/patient/archives/apiAdapter.js
@@ -115,6 +115,11 @@
       address: row.parentAddress || "",
     });
   }
+  // 闅忚鍛ㄦ湡锛氳鎯呰〃 followupPeriod 瀛� JSON 鏁扮粍锛岀粺涓�杩樺師鍒� archive.followupCycle
+  // 锛堝垪琛ㄤ富琛ㄨ娌℃湁璇ュ瓧娈碉紝杩欓噷闈欓粯璺宠繃锛�
+  if (row.followupPeriod) {
+    target.followupCycle = unpackJson(row.followupPeriod, []);
+  }
   if (row.sourceType === "1" || row.sourceType === 1) target.sourcePage = "outpatient";
   return target;
 }
@@ -266,6 +271,12 @@
     closeStatus: archive.closeStatus == null ? "0" : String(archive.closeStatus),
   });
 
+  // 闅忚鍛ㄦ湡锛�5 绉嶄笓妗堢粺涓�瀛� followupPeriod锛圝SON 鏁扮粍锛夈��
+  // pregnancy 鐨� followupCycle 鏀惧湪 pregFormData 閲岋紝鐢变笅鏂� pregnancy 鍒嗘敮鍗曠嫭澶勭悊锛岃繖閲屾帓闄や互鍏嶈瑕嗙洊銆�
+  if (key !== "pregnancy") {
+    payload.followupPeriod = packJson(archive.followupCycle || []);
+  }
+
   if (key === "pregnancy") {
     const p = archive.pregFormData || {};
     const reg = p.registration || {};

--
Gitblit v1.9.3