Browse Source

queue

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

9
src/components/doctorCheck/QueueCheckList.vue

@ -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
})
}
});

Loading…
Cancel
Save