|
|
|
@ -1115,12 +1115,24 @@ export default { |
|
|
|
if (this.patientRegister.query.phone) |
|
|
|
body.phone = this.patientRegister.query.phone; |
|
|
|
|
|
|
|
if (this.patientRegister.query.idCardNo) |
|
|
|
if (this.patientRegister.query.idCardNo) { |
|
|
|
body.idNo = this.patientRegister.query.idCardNo; |
|
|
|
|
|
|
|
try { |
|
|
|
let sysParmId = "patient_register_query_idno" |
|
|
|
let sysParam = await postapi('/api/app/SysParmValue/GetSysParmValueBySysParmId', { sysParmId }) |
|
|
|
// console.log('sysParam', sysParam) |
|
|
|
if (sysParam.data != 'N') { |
|
|
|
body = { |
|
|
|
idNo: this.patientRegister.query.idCardNo, |
|
|
|
skipCount: this.loadOpts.skipCount, |
|
|
|
maxResultCount: this.loadOpts.maxResultCount |
|
|
|
}; |
|
|
|
} |
|
|
|
} catch (error) { |
|
|
|
console.log(error) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (this.patientRegister.query.patientNo) |
|
|
|
body = { |
|
|
|
|