Browse Source

queue

master
pengjun 11 months ago
parent
commit
1f629f0d42
  1. 7
      src/components/doctorCheck/QueueCheckList.vue

7
src/components/doctorCheck/QueueCheckList.vue

@ -301,6 +301,7 @@ export default {
}, },
btnCall(refRow, completeFlag) { btnCall(refRow, completeFlag) {
let prePatientRegisterId = ''
let row = Object.assign({}, refRow); let row = Object.assign({}, refRow);
switch (completeFlag) { switch (completeFlag) {
case "0": // 退 case "0": // 退
@ -323,6 +324,8 @@ export default {
showClose: true, showClose: true,
message: "未可操作的数据,或未选择候诊人员", message: "未可操作的数据,或未选择候诊人员",
}); });
if (this.alreadyCalledDetail.length > 0) prePatientRegisterId = this.alreadyCalledDetail[0].patientRegisterId
break; break;
case "2": // case "2": //
if (!row.queueRegisterId) { if (!row.queueRegisterId) {
@ -369,8 +372,8 @@ export default {
); );
if (this.$peisAPI && completeFlag == "1") this.outShellCall(row); 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
}) })
} }
}); });

Loading…
Cancel
Save