修改年龄
This commit is contained in:
parent
d9b89d387e
commit
a62734460d
@ -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')
|
||||
|
||||
@ -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,
|
||||
|
||||
@ -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,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
@ -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,
|
||||
},
|
||||
});
|
||||
},
|
||||
|
||||
@ -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
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user