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/childHealth/detail.vue | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/src/views/patient/archives/childHealth/detail.vue b/src/views/patient/archives/childHealth/detail.vue
index 2c13ee6..3fc4b09 100644
--- a/src/views/patient/archives/childHealth/detail.vue
+++ b/src/views/patient/archives/childHealth/detail.vue
@@ -173,6 +173,12 @@
</el-form>
</el-card>
+ <!-- 闅忚鍛ㄦ湡锛堝効淇濅笁绉嶄笓妗堥�氱敤锛� -->
+ <el-card v-if="archive.subType === 'highrisk' || archive.subType === 'nutrition' || archive.subType === 'learning'" 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>
+
</el-tab-pane>
<el-tab-pane label="鏈嶅姟璁板綍" name="service">
@@ -205,6 +211,16 @@
trainDate:"", trainingType:"", trainContent:"", duration:40, trainer:"", progress:"鑹ソ" },
growthData: [], neuroData: [], interventionData: [],
measureData: [], dietData: [], planData: [],
+ followupCycle: [],
+ followupColumns: [
+ { prop:"seq", label:"搴忓彿", width:60 },
+ { prop:"planDate", label:"鎷熼殢璁挎棩鏈�", width:180, type:"date" },
+ { prop:"status", label:"鐘跺喌", width:130, type:"select", options:["宸插畬鎴�","鏈畬鎴�"], default:"鏈畬鎴�" },
+ { prop:"method", label:"闅忚鏂瑰紡", width:110 },
+ { prop:"situation", label:"闅忚鎯呭喌", minWidth:160 },
+ { prop:"followDate", label:"闅忚鏃ユ湡", width:130, type:"date" },
+ { prop:"staff", label:"闅忚浜哄憳", width:110 },
+ ],
growthColumns: [
{ prop:"checkDate", label:"妫�鏌ユ棩鏈�", width:180, type:"date" },{ prop:"monthAge", label:"鏈堥緞", width:80 },
{ prop:"weight", label:"浣撻噸(kg)", width:100, type:"number" },{ prop:"height", label:"韬珮(cm)", width:100, type:"number" },
@@ -297,6 +313,7 @@
this.archive = archive || null;
if (this.archive) {
if (!this.archive.parentInfo) this.archive.parentInfo = {};
+ this.followupCycle = this.archive.followupCycle || [];
if (this.archive.subType === 'highrisk') {
this.activeTab = "growth";
this.growthData = this.archive.growthData || getDefaultGrowthData();
@@ -333,6 +350,7 @@
this.archive.dietData = JSON.parse(JSON.stringify(this.dietData));
this.archive.planData = JSON.parse(JSON.stringify(this.planData));
}
+ this.archive.followupCycle = JSON.parse(JSON.stringify(this.followupCycle));
this.loading = true;
saveArchive(this.archive)
.then(() => {
--
Gitblit v1.9.3