|
|
@ -264,7 +264,7 @@ export default { |
|
|
this.LocalConfig.doctorCheck.queueRoom |
|
|
this.LocalConfig.doctorCheck.queueRoom |
|
|
); |
|
|
); |
|
|
}); |
|
|
}); |
|
|
this.setQueueParams(); |
|
|
|
|
|
|
|
|
//this.setQueueParams(); |
|
|
|
|
|
|
|
|
try { |
|
|
try { |
|
|
let sysParam = await postapi( |
|
|
let sysParam = await postapi( |
|
|
@ -552,38 +552,34 @@ export default { |
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
setQueueParams() { |
|
|
|
|
|
this.queueParams.patientRegisterId = |
|
|
|
|
|
this.dataTransOpts.tableS.patient_register.id; |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
// setQueueParams() { |
|
|
|
|
|
// this.queueParams.patientRegisterId = |
|
|
|
|
|
// this.dataTransOpts.tableS.patient_register.id; |
|
|
|
|
|
// }, |
|
|
|
|
|
|
|
|
// 分诊排队 |
|
|
// 分诊排队 |
|
|
fnQueue() { |
|
|
fnQueue() { |
|
|
|
|
|
console.log('fnQueue.queueParams', this.queueParams) |
|
|
if (!this.queueParams.patientRegisterId) { |
|
|
if (!this.queueParams.patientRegisterId) { |
|
|
this.$message.warning({ showClose: true, message: "未获取到人员信息" }); |
|
|
this.$message.warning({ showClose: true, message: "未获取到人员信息" }); |
|
|
return; |
|
|
return; |
|
|
} |
|
|
} |
|
|
//console.log('fnQueue.queueParams',this.queueParams) |
|
|
//console.log('fnQueue.queueParams',this.queueParams) |
|
|
this.dialogWin.queue2 = true; |
|
|
|
|
|
this.queueParams.queueTimes++ |
|
|
this.queueParams.queueTimes++ |
|
|
|
|
|
this.dialogWin.queue2 = true; |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 选择候诊人员 |
|
|
// 选择候诊人员 |
|
|
rowClickWait(row) { |
|
|
rowClickWait(row) { |
|
|
this.waitRow = row; |
|
|
this.waitRow = row; |
|
|
this.queueParams = { |
|
|
|
|
|
patientRegisterId: row.patientRegisterId, |
|
|
|
|
|
patientName:row.patientName |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
this.queueParams = Object.assign(this.queueParams, row) |
|
|
|
|
|
|
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 选择过号人员 |
|
|
// 选择过号人员 |
|
|
rowClickAlready(row) { |
|
|
rowClickAlready(row) { |
|
|
this.alreadyRow = row; |
|
|
this.alreadyRow = row; |
|
|
this.queueParams = { |
|
|
|
|
|
patientRegisterId: row.patientRegisterId, |
|
|
|
|
|
patientName:row.patientName |
|
|
|
|
|
}; |
|
|
|
|
|
|
|
|
this.queueParams = Object.assign(this.queueParams, row) |
|
|
}, |
|
|
}, |
|
|
|
|
|
|
|
|
// 选择过号人员 |
|
|
// 选择过号人员 |
|
|
@ -593,6 +589,7 @@ export default { |
|
|
|
|
|
|
|
|
// 右击选择人员 |
|
|
// 右击选择人员 |
|
|
rClick(row, column, event) { |
|
|
rClick(row, column, event) { |
|
|
|
|
|
console.log('排队时,右击', row) |
|
|
this.queueParams = Object.assign(this.queueParams, row) |
|
|
this.queueParams = Object.assign(this.queueParams, row) |
|
|
//console.log('rClick.queueParams',this.queueParams,row) |
|
|
//console.log('rClick.queueParams',this.queueParams,row) |
|
|
// this.queueParams = { |
|
|
// this.queueParams = { |
|
|
@ -621,9 +618,16 @@ export default { |
|
|
items.push({ |
|
|
items.push({ |
|
|
label: "取消排队", |
|
|
label: "取消排队", |
|
|
onClick: () => { |
|
|
onClick: () => { |
|
|
postapi('/api/app/QueueRegister/DeleteByPatientRegisterId', { |
|
|
|
|
|
patientRegisterId: this.queueParams.patientRegisterId |
|
|
|
|
|
}).then(res => { |
|
|
|
|
|
|
|
|
// postapi('/api/app/QueueRegister/DeleteByPatientRegisterId', { |
|
|
|
|
|
// patientRegisterId: this.queueParams.patientRegisterId |
|
|
|
|
|
// }).then(res => { |
|
|
|
|
|
// if (res.code > -1) { |
|
|
|
|
|
// this.$message.success({ showClose: true, message: '操作成功!' }) |
|
|
|
|
|
// this.getQueueRegisterList(this.LocalConfig.doctorCheck.queueRoom, this.LocalConfig.doctorCheck.queueItemTypeIds) |
|
|
|
|
|
// } |
|
|
|
|
|
// }) |
|
|
|
|
|
postapi('/api/app/QueueRegister/Delete', { queueRegisterId: this.queueParams.queueRegisterId }) |
|
|
|
|
|
.then(res => { |
|
|
if (res.code > -1) { |
|
|
if (res.code > -1) { |
|
|
this.$message.success({ showClose: true, message: '操作成功!' }) |
|
|
this.$message.success({ showClose: true, message: '操作成功!' }) |
|
|
this.getQueueRegisterList(this.LocalConfig.doctorCheck.queueRoom, this.LocalConfig.doctorCheck.queueItemTypeIds) |
|
|
this.getQueueRegisterList(this.LocalConfig.doctorCheck.queueRoom, this.LocalConfig.doctorCheck.queueItemTypeIds) |
|
|
|