|
|
|
@ -301,6 +301,7 @@ export default { |
|
|
|
}, |
|
|
|
|
|
|
|
btnCall(refRow, completeFlag) { |
|
|
|
let prePatientRegisterId = '' |
|
|
|
let row = Object.assign({}, refRow); |
|
|
|
switch (completeFlag) { |
|
|
|
case "0": // 退回 |
|
|
|
@ -322,7 +323,9 @@ export default { |
|
|
|
this.$message.warning({ |
|
|
|
showClose: true, |
|
|
|
message: "未可操作的数据,或未选择候诊人员", |
|
|
|
}); |
|
|
|
}); |
|
|
|
if (this.alreadyCalledDetail.length > 0) prePatientRegisterId = this.alreadyCalledDetail[0].patientRegisterId |
|
|
|
|
|
|
|
break; |
|
|
|
case "2": // 过号 |
|
|
|
if (!row.queueRegisterId) { |
|
|
|
@ -369,8 +372,8 @@ export default { |
|
|
|
); |
|
|
|
if (this.$peisAPI && completeFlag == "1") this.outShellCall(row); |
|
|
|
|
|
|
|
if (this.queue_after_call == 'Y') return postapi('/api/app/QueueRegister/AutomaticQueuingRoom', { |
|
|
|
patientRegisterId: row.patientRegisterId |
|
|
|
if (this.queue_after_call == 'Y' && prePatientRegisterId) return postapi('/api/app/QueueRegister/AutomaticQueuingRoom', { |
|
|
|
patientRegisterId: prePatientRegisterId |
|
|
|
}) |
|
|
|
} |
|
|
|
}); |
|
|
|
|