From a62734460dcf0ad9c450bd9c004e6ba7dab0d4a8 Mon Sep 17 00:00:00 2001 From: shidongli Date: Thu, 12 Dec 2024 09:26:11 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B9=B4=E9=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/manage/visitout/index.vue | 4 ++-- src/views/system/followup/index.vue | 2 +- src/views/system/questionnaireinquiry/index.vue | 2 +- src/views/system/taskExecuteRecord/index.vue | 2 +- src/views/unitconfig/patientConfiguration/index.vue | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/views/manage/visitout/index.vue b/src/views/manage/visitout/index.vue index 15f4fcf..0f4a6df 100644 --- a/src/views/manage/visitout/index.vue +++ b/src/views/manage/visitout/index.vue @@ -831,7 +831,7 @@ export default { birthDate: row.birthDate, patientSource: row.patientSource, createTime: row.createTime, - age: row.birthDate ? getAge(row.birthDate) : "", + age: row.age, }, }); }, @@ -841,7 +841,7 @@ export default { this.queryParams.patientType = "OUTPATIENT_DISCHARGE"; listPatientInfo(this.queryParams).then((response) => { response.rows.forEach((e) => { - e.birthDate ? (e.age = getAge(e.birthDate)) : ""; + e.birthDate ? (e.age = getAge(e.birthDate)) : e.age; }); this.patientInfoList = response.rows; console.log(this.patientInfoList,'this.patientInfoList') diff --git a/src/views/system/followup/index.vue b/src/views/system/followup/index.vue index f0bf958..24652d1 100644 --- a/src/views/system/followup/index.vue +++ b/src/views/system/followup/index.vue @@ -1320,7 +1320,7 @@ export default { address: row.address, patientSource: row.patientSource, createTime: row.createTime, - age: row.birthDate ? getAge(row.birthDate) : "", + age: row.birthDate ? getAge(row.birthDate) :row.age, manageRouteId: row.manageRouteId, manageRouteNodeId: row.manageRouteNodeId, visitRecordId: row.visitRecordId, diff --git a/src/views/system/questionnaireinquiry/index.vue b/src/views/system/questionnaireinquiry/index.vue index a2a4fc4..bfc35db 100644 --- a/src/views/system/questionnaireinquiry/index.vue +++ b/src/views/system/questionnaireinquiry/index.vue @@ -211,7 +211,7 @@ export default { birthDate: row.birthDate, patientSource: row.patientSource, createTime: row.createTime, - age: row.birthDate ? getAge(row.birthDate) : "", + age: row.birthDate ? getAge(row.birthDate) :row.age, }, }); }, diff --git a/src/views/system/taskExecuteRecord/index.vue b/src/views/system/taskExecuteRecord/index.vue index 5fce10b..0a33bdf 100644 --- a/src/views/system/taskExecuteRecord/index.vue +++ b/src/views/system/taskExecuteRecord/index.vue @@ -355,7 +355,7 @@ export default { address: row.address, patientSource: row.patientSource, createTime: row.createTime, - age: row.birthDate ? getAge(row.birthDate) : "", + age: row.birthDate ? getAge(row.birthDate) : row.age, }, }); }, diff --git a/src/views/unitconfig/patientConfiguration/index.vue b/src/views/unitconfig/patientConfiguration/index.vue index 3fd8e05..130c691 100644 --- a/src/views/unitconfig/patientConfiguration/index.vue +++ b/src/views/unitconfig/patientConfiguration/index.vue @@ -445,7 +445,7 @@ export default { patientName: row.patientName, patientPhone: row.patientPhone, sex: row.sex, - age: row.birthDate ? getAge(row.birthDate) : '', + age: row.birthDate ? getAge(row.birthDate) :row.age, hospitalAgencyId: row.hospitalAgencyId, hospitalAgencyName: row.hospitalAgencyName },