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