From 12acc86a30e3ea2c696ed3dcbe18f14c0a2910f2 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Mon, 15 Dec 2025 16:37:33 +0800 Subject: [PATCH] seo --- src/components/doctorCheck/QueueCheckList.vue | 53 ++++++++++++++----- .../patientRegister/PatientRegisterList.vue | 1 + 2 files changed, 41 insertions(+), 13 deletions(-) diff --git a/src/components/doctorCheck/QueueCheckList.vue b/src/components/doctorCheck/QueueCheckList.vue index 1e84d58..3512b64 100644 --- a/src/components/doctorCheck/QueueCheckList.vue +++ b/src/components/doctorCheck/QueueCheckList.vue @@ -10,7 +10,7 @@ style="width: 100px" size="small"> - +
刷新
+
已呼人员:
@@ -180,7 +182,12 @@ export default { queue_play_voice_repeate_times: 2, // 语音重复播放次数 queue_play_voice_repeate_interval: 1, // 语音重复播放时间间隔(秒) - isSignIn: "N"//是否签到 + isSignIn: "N", //是否签到 + + // 避免单击事件与双击事件冲突 + clickTime1: 0, + clickTime2: 0, + }; }, @@ -323,7 +330,7 @@ export default { this.$message.warning({ showClose: true, message: "未可操作的数据,或未选择候诊人员", - }); + }); if (this.alreadyCalledDetail.length > 0) prePatientRegisterId = this.alreadyCalledDetail[0].patientRegisterId break; @@ -533,23 +540,43 @@ export default { // 选择候诊人员 rowClickWait(row) { - this.waitRow = row; - this.queueParams = { - patientRegisterId: row.patientRegisterId, - }; + + this.clickTime1 = new Date().getTime() + + setTimeout(() => { + if (this.clickTime1 > this.clickTime2) { + this.waitRow = row; + this.queueParams = { + patientRegisterId: row.patientRegisterId, + }; + } + }, 400); + + + }, // 选择过号人员 rowClickAlready(row) { - this.alreadyRow = row; - this.queueParams = { - patientRegisterId: row.patientRegisterId, - }; + this.clickTime1 = new Date().getTime() + setTimeout(() => { + if (this.clickTime1 > this.clickTime2) { + this.alreadyRow = row; + this.queueParams = { + patientRegisterId: row.patientRegisterId, + }; + } + }, 400); }, // 选择过号人员 - rowClickOver(row) { - this.overRow = row; + rowClickOver(row) { + this.clickTime1 = new Date().getTime() + setTimeout(() => { + if (this.clickTime1 > this.clickTime2) { + this.overRow = row; + } + }, 400); }, }, diff --git a/src/components/patientRegister/PatientRegisterList.vue b/src/components/patientRegister/PatientRegisterList.vue index 983f0aa..01f633b 100644 --- a/src/components/patientRegister/PatientRegisterList.vue +++ b/src/components/patientRegister/PatientRegisterList.vue @@ -683,6 +683,7 @@ export default { dialogRecover: false, patientRegisterNo: '', + // 避免单击事件与双击事件冲突 clickTime1: 0, clickTime2: 0, };