年龄
This commit is contained in:
parent
fd9da6c1fb
commit
d9b89d387e
@ -264,12 +264,11 @@
|
|||||||
registrationNo: row.registrationNo,
|
registrationNo: row.registrationNo,
|
||||||
registrationDate: row.registrationDate,
|
registrationDate: row.registrationDate,
|
||||||
appointmentDate: row.appointmentDate,
|
appointmentDate: row.appointmentDate,
|
||||||
|
|
||||||
sex: row.sex,
|
sex: row.sex,
|
||||||
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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -305,7 +304,7 @@
|
|||||||
createTime: row.createTime,
|
createTime: row.createTime,
|
||||||
hospitalAgencyName: row.hospitalAgencyName,
|
hospitalAgencyName: row.hospitalAgencyName,
|
||||||
mainDiagnosis: row.mainDiagnosis,
|
mainDiagnosis: row.mainDiagnosis,
|
||||||
age: row.birthDate ? getAge(row.birthDate) : "",
|
age: row.age,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -321,7 +320,7 @@
|
|||||||
});
|
});
|
||||||
getPatientList(this.queryParams).then((response) => {
|
getPatientList(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;
|
||||||
});
|
});
|
||||||
response.rows.forEach((e) => {
|
response.rows.forEach((e) => {
|
||||||
e.Timeimport=this.$route.query.Timeimport
|
e.Timeimport=this.$route.query.Timeimport
|
||||||
|
|||||||
@ -283,7 +283,7 @@
|
|||||||
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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -320,7 +320,7 @@
|
|||||||
createTime: row.createTime,
|
createTime: row.createTime,
|
||||||
hospitalAgencyName: row.hospitalAgencyName,
|
hospitalAgencyName: row.hospitalAgencyName,
|
||||||
mainDiagnosis: row.mainDiagnosis,
|
mainDiagnosis: row.mainDiagnosis,
|
||||||
age: row.birthDate ? getAge(row.birthDate) : "",
|
age: row.age,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -336,7 +336,7 @@
|
|||||||
});
|
});
|
||||||
getPatientList(this.queryParams).then((response) => {
|
getPatientList(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;
|
||||||
|
|||||||
@ -290,7 +290,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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -312,7 +312,7 @@ export default {
|
|||||||
createTime: row.createTime,
|
createTime: row.createTime,
|
||||||
hospitalAgencyName: row.hospitalAgencyName,
|
hospitalAgencyName: row.hospitalAgencyName,
|
||||||
mainDiagnosis: row.mainDiagnosis,
|
mainDiagnosis: row.mainDiagnosis,
|
||||||
age: row.birthDate ? getAge(row.birthDate) : "",
|
age: row.age,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -328,7 +328,7 @@ export default {
|
|||||||
});
|
});
|
||||||
getPatientList(this.queryParams).then((response) => {
|
getPatientList(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;
|
||||||
|
|||||||
@ -669,7 +669,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,
|
||||||
|
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
@ -702,7 +702,7 @@ export default {
|
|||||||
this.queryParams.patientType = 'PRE_HOSPITALIZED_PATIENT'
|
this.queryParams.patientType = 'PRE_HOSPITALIZED_PATIENT'
|
||||||
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;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
|
|||||||
@ -623,7 +623,7 @@ export default {
|
|||||||
departmentName: row.departmentName,
|
departmentName: row.departmentName,
|
||||||
paymentStatus: row.paymentStatus,
|
paymentStatus: row.paymentStatus,
|
||||||
sex: row.sex,
|
sex: row.sex,
|
||||||
age: row.birthDate ? getAge(row.birthDate) : "",
|
age: row.birthDate ? getAge(row.birthDate) : row.age,
|
||||||
patientId: row.patientId,
|
patientId: row.patientId,
|
||||||
createTime: row.createTime,
|
createTime: row.createTime,
|
||||||
},
|
},
|
||||||
@ -765,7 +765,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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -785,7 +785,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,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|||||||
@ -703,7 +703,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
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
@ -753,7 +753,7 @@ export default {
|
|||||||
this.queryParams.patientType = 'IN_HOSPITAL_PATIENT'
|
this.queryParams.patientType = 'IN_HOSPITAL_PATIENT'
|
||||||
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;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
|
|||||||
@ -766,7 +766,7 @@ export default {
|
|||||||
departmentName: row.departmentName,
|
departmentName: row.departmentName,
|
||||||
paymentStatus: row.paymentStatus,
|
paymentStatus: row.paymentStatus,
|
||||||
sex: row.sex,
|
sex: row.sex,
|
||||||
age: row.birthDate ? getAge(row.birthDate) : "",
|
age: row.age,
|
||||||
patientId: row.patientId,
|
patientId: row.patientId,
|
||||||
createTime: row.createTime,
|
createTime: row.createTime,
|
||||||
},
|
},
|
||||||
@ -844,6 +844,8 @@ export default {
|
|||||||
e.birthDate ? (e.age = getAge(e.birthDate)) : "";
|
e.birthDate ? (e.age = getAge(e.birthDate)) : "";
|
||||||
});
|
});
|
||||||
this.patientInfoList = response.rows;
|
this.patientInfoList = response.rows;
|
||||||
|
console.log(this.patientInfoList,'this.patientInfoList')
|
||||||
|
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
|
|||||||
@ -127,7 +127,7 @@ export default {
|
|||||||
this.queryParams.params = {};
|
this.queryParams.params = {};
|
||||||
satisfactionSurvey(this.queryParams).then(response => {
|
satisfactionSurvey(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;
|
||||||
this.total = response.total;
|
this.total = response.total;
|
||||||
@ -155,7 +155,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.age,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
// })
|
// })
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user