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/maternalHealth/detail.vue |   20 +++++++++++++++++++-
 1 files changed, 19 insertions(+), 1 deletions(-)

diff --git a/src/views/patient/archives/maternalHealth/detail.vue b/src/views/patient/archives/maternalHealth/detail.vue
index c654b43..df11566 100644
--- a/src/views/patient/archives/maternalHealth/detail.vue
+++ b/src/views/patient/archives/maternalHealth/detail.vue
@@ -173,6 +173,19 @@
             </el-card>
           </template>
 
+          <!-- 闅忚鍛ㄦ湡锛堝洿缁濈粡鏈烳HI锛� -->
+          <template v-if="archive.subType === 'menopause'">
+            <el-card class="info-card" shadow="never" style="margin-top:14px">
+              <div slot="header" class="card-header"><span>闅忚鍛ㄦ湡</span></div>
+              <EditableTable
+                :data.sync="followupCycle"
+                :editing="editing"
+                :columns="followupColumns"
+                auto-seq="seq"
+              />
+            </el-card>
+          </template>
+
           <!-- ===== 鍥寸粷缁忔湡MHI锛�6 涓噺琛� tab ===== -->
           <template v-if="archive.subType === 'menopause'">
             <el-card class="info-card" shadow="never" style="margin-top:14px">
@@ -404,6 +417,7 @@
     return {
       PREGNANCY_OPTIONS, PREGNANCY_DETAIL_OPTIONS, PREGNANCY_DETAIL_HINTS, UNREGISTERED_REASONS,
       loading: false, archive: null, editing: true, activeTab: "sysQ", mainTab: "detail",
+      followupCycle: [],
       followupColumns: [
         { prop: "seq", label: "搴忓彿", width: 60 },
         { prop: "planDate", label: "鎷熼殢璁挎棩鏈�", width: 180, type: "date" },
@@ -536,6 +550,7 @@
                   if (this.archive.formData[k]) Object.assign(this.form[k], this.archive.formData[k]);
                 });
               }
+              this.followupCycle = this.archive.followupCycle || [];
             }
           }
           if (autoEdit) this.editing = true;
@@ -611,7 +626,10 @@
       if (this.editing) {
         // 鍏堟妸椤甸潰琛ㄥ崟鍥炲~鍒版。妗堝璞★紝鍐嶆暣浣撴彁浜�
         if (this.archive.subType === "pregnancy") this.archive.pregFormData = JSON.parse(JSON.stringify(this.pregForm));
-        if (this.archive.subType === "menopause") this.archive.formData = JSON.parse(JSON.stringify(this.form));
+        if (this.archive.subType === "menopause") {
+          this.archive.formData = JSON.parse(JSON.stringify(this.form));
+          this.archive.followupCycle = JSON.parse(JSON.stringify(this.followupCycle));
+        }
         this.loading = true;
         saveArchive(this.archive)
           .then(() => {

--
Gitblit v1.9.3