|
|
|
@ -276,6 +276,8 @@ export default { |
|
|
|
let body = {} |
|
|
|
|
|
|
|
console.log(`this.patientRegister.query`, this.patientRegister.query) |
|
|
|
|
|
|
|
body = deepCopy(this.patientRegister.query) |
|
|
|
if (this.patientRegister.query.customerOrgFlag) { |
|
|
|
if (this.patientRegister.query.CustomerOrgParentId) { |
|
|
|
body.customerOrgId = this.patientRegister.query.CustomerOrgParentId |
|
|
|
@ -284,11 +286,7 @@ export default { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (this.patientRegister.query.sex) body.sexId = this.patientRegister.query.sex |
|
|
|
|
|
|
|
if (this.patientRegister.query.patientName) body.patientName = this.patientRegister.query.patientName |
|
|
|
|
|
|
|
if (this.patientRegister.query.completeFlag) body.completeFlag = this.patientRegister.query.completeFlag |
|
|
|
if (this.patientRegister.query.sex) body.sexId = this.patientRegister.query.sex |
|
|
|
|
|
|
|
//StartDate EndDate |
|
|
|
if (this.patientRegister.query.dateRange) { |
|
|
|
@ -296,6 +294,7 @@ export default { |
|
|
|
body.endDate = moment(new Date(this.patientRegister.query.dateRange[1])).format("yyyy-MM-DD") |
|
|
|
} |
|
|
|
|
|
|
|
console.log('body',body) |
|
|
|
|
|
|
|
if (this.patientRegister.query.idCardNo) body = { idNo: this.patientRegister.query.idCardNo } |
|
|
|
|
|
|
|
@ -363,6 +362,9 @@ export default { |
|
|
|
if (this.patientRegister.query.isAudit) body.isAudit = this.patientRegister.query.isAudit |
|
|
|
if (this.patientRegister.query.reportPrintTimes >= 0) body.isReportPrint = this.patientRegister.query.reportPrintTimes |
|
|
|
if (this.patientRegister.query.isUpload) body.isUpload = this.patientRegister.query.isUpload |
|
|
|
if (this.patientRegister.query.medicalTypeId) body.medicalTypeId = this.patientRegister.query.medicalTypeId |
|
|
|
if (this.patientRegister.query.personnelTypeId) body.personnelTypeId = this.patientRegister.query.personnelTypeId |
|
|
|
|
|
|
|
//console.log('/api/app/peisreport/getpatientregisterreport',body) |
|
|
|
|
|
|
|
postapi('/api/app/peisreport/getpatientregisterreport', body).then(res => { |
|
|
|
|