|
|
@ -1296,6 +1296,7 @@ export default { |
|
|
this.dialogEditMedicalStartDate = true |
|
|
this.dialogEditMedicalStartDate = true |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
// 批量修改体检日期 |
|
|
btnEditMedicalStartDate() { |
|
|
btnEditMedicalStartDate() { |
|
|
let body = { |
|
|
let body = { |
|
|
//"completeFlag": "string", |
|
|
//"completeFlag": "string", |
|
|
@ -1305,7 +1306,7 @@ export default { |
|
|
this.multipleSelection.forEach(e => { |
|
|
this.multipleSelection.forEach(e => { |
|
|
body.patientRegisterIds.push(e.id) |
|
|
body.patientRegisterIds.push(e.id) |
|
|
}); |
|
|
}); |
|
|
postapi('/api/app/patientregister/updatepatientregistercompleteflagormedicalstartdate',body) |
|
|
|
|
|
|
|
|
postapi('/api/app/PatientRegister/UpdatePatientRegisterMedicalStartDate',body) |
|
|
.then(res => { |
|
|
.then(res => { |
|
|
if(res.code > -1){ |
|
|
if(res.code > -1){ |
|
|
let lfind = 0 |
|
|
let lfind = 0 |
|
|
@ -1314,7 +1315,7 @@ export default { |
|
|
lfind = arrayExistObj(this.tableData,'id',e.id) |
|
|
lfind = arrayExistObj(this.tableData,'id',e.id) |
|
|
if(lfind > -1) this.tableData.medicalStartDate = body.medicalStartDate |
|
|
if(lfind > -1) this.tableData.medicalStartDate = body.medicalStartDate |
|
|
}); |
|
|
}); |
|
|
this.editMedicalStartDate = false |
|
|
|
|
|
|
|
|
this.dialogEditMedicalStartDate = false |
|
|
} |
|
|
} |
|
|
}) |
|
|
}) |
|
|
}, |
|
|
}, |
|
|
|