This commit is contained in:
zhuangyuanke 2024-12-12 09:27:53 +08:00
commit 235d6bba30
5 changed files with 6 additions and 6 deletions

View File

@ -831,7 +831,7 @@ export default {
birthDate: row.birthDate, birthDate: row.birthDate,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : "", age: row.age,
}, },
}); });
}, },
@ -841,7 +841,7 @@ export default {
this.queryParams.patientType = "OUTPATIENT_DISCHARGE"; this.queryParams.patientType = "OUTPATIENT_DISCHARGE";
listPatientInfo(this.queryParams).then((response) => { listPatientInfo(this.queryParams).then((response) => {
response.rows.forEach((e) => { response.rows.forEach((e) => {
e.birthDate ? (e.age = getAge(e.birthDate)) : ""; e.birthDate ? (e.age = getAge(e.birthDate)) : e.age;
}); });
this.patientInfoList = response.rows; this.patientInfoList = response.rows;
console.log(this.patientInfoList,'this.patientInfoList') console.log(this.patientInfoList,'this.patientInfoList')

View File

@ -1320,7 +1320,7 @@ export default {
address: row.address, address: row.address,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : "", age: row.birthDate ? getAge(row.birthDate) :row.age,
manageRouteId: row.manageRouteId, manageRouteId: row.manageRouteId,
manageRouteNodeId: row.manageRouteNodeId, manageRouteNodeId: row.manageRouteNodeId,
visitRecordId: row.visitRecordId, visitRecordId: row.visitRecordId,

View File

@ -211,7 +211,7 @@ export default {
birthDate: row.birthDate, birthDate: row.birthDate,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : "", age: row.birthDate ? getAge(row.birthDate) :row.age,
}, },
}); });
}, },

View File

@ -355,7 +355,7 @@ export default {
address: row.address, address: row.address,
patientSource: row.patientSource, patientSource: row.patientSource,
createTime: row.createTime, createTime: row.createTime,
age: row.birthDate ? getAge(row.birthDate) : "", age: row.birthDate ? getAge(row.birthDate) : row.age,
}, },
}); });
}, },

View File

@ -445,7 +445,7 @@ export default {
patientName: row.patientName, patientName: row.patientName,
patientPhone: row.patientPhone, patientPhone: row.patientPhone,
sex: row.sex, sex: row.sex,
age: row.birthDate ? getAge(row.birthDate) : '', age: row.birthDate ? getAge(row.birthDate) :row.age,
hospitalAgencyId: row.hospitalAgencyId, hospitalAgencyId: row.hospitalAgencyId,
hospitalAgencyName: row.hospitalAgencyName hospitalAgencyName: row.hospitalAgencyName
}, },