From a045b23a9a24ec46f927959b28507232406b6da3 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Mon, 15 Dec 2025 22:30:27 +0800 Subject: [PATCH 1/4] seo --- .../customerOrg/customerOrgEdit.vue | 10 +- src/components/doctorCheck/QueueCheckList.vue | 132 +++++++++++---- src/components/occDisease/CheckDetails.vue | 2 +- .../patientRegister/PatientRegisterItem.vue | 8 +- .../patientRegisterAsbItem.vue | 4 +- src/components/queue/Queue.vue | 159 ++++++++++-------- src/components/report/BtnReport.vue | 57 ++++++- .../report/PatientRegisterListNobtn.vue | 25 +-- .../sumDoctorCheck/CheckDetails.vue | 36 ++-- src/components/sumDoctorCheck/SumHistory.vue | 2 +- src/components/sumDoctorCheck/SumItems.vue | 4 +- src/views/user-list/UserList.vue | 1 + 12 files changed, 290 insertions(+), 150 deletions(-) diff --git a/src/components/customerOrg/customerOrgEdit.vue b/src/components/customerOrg/customerOrgEdit.vue index e170cf4..9b6ef25 100644 --- a/src/components/customerOrg/customerOrgEdit.vue +++ b/src/components/customerOrg/customerOrgEdit.vue @@ -93,7 +93,7 @@ - + @@ -108,6 +108,11 @@ + + + + + @@ -258,7 +263,8 @@ export default { salesPerson: "", salesPersonPhone: "", medicalTypeId:'', - personnelTypeId:'' + personnelTypeId:'', + isRecommend:'N', }, //初始化 单位 记录 目前新增与更新是一致 formInit: {}, rules: { diff --git a/src/components/doctorCheck/QueueCheckList.vue b/src/components/doctorCheck/QueueCheckList.vue index 3512b64..b3924f3 100644 --- a/src/components/doctorCheck/QueueCheckList.vue +++ b/src/components/doctorCheck/QueueCheckList.vue @@ -48,9 +48,9 @@ --> -
+
+ :row-style="{ height: '28px' }" :height="Math.floor((tableHeight - 72) / 3)" @row-contextmenu="rClick"> @@ -63,7 +63,7 @@
- 呼叫
@@ -83,8 +83,8 @@
已呼人员:
-
- + @@ -104,9 +104,9 @@
过号人员:
-
+
+ :row-style="{ height: '28px' }" :height="Math.floor((tableHeight - 72) / 3)" @row-contextmenu="rClick"> @@ -323,14 +323,17 @@ export default { }); break; case "1": // 呼叫 + // 未选中时,自动选第1个 if (!row.queueRegisterId) { if (this.waitDetail.length > 0) row = this.waitDetail[0]; } + if (!row.queueRegisterId) this.$message.warning({ showClose: true, message: "未可操作的数据,或未选择候诊人员", }); + if (this.alreadyCalledDetail.length > 0) prePatientRegisterId = this.alreadyCalledDetail[0].patientRegisterId break; @@ -373,6 +376,11 @@ export default { completeFlag, }).then((res) => { if (res.code > -1) { + if(completeFlag == '1'){ + this.waitRow = {} + } + + // 刷新排队列表 this.getQueueRegisterList( this.LocalConfig.doctorCheck.queueRoom, this.LocalConfig.doctorCheck.queueItemTypeIds @@ -478,8 +486,17 @@ export default { .then((res) => { if (res.code > -1) { this.waitDetail = res.data.waitDetail; + this.waitDetail.forEach(e => { + e.state = 'wait' + }); this.alreadyCalledDetail = res.data.alreadyCalledDetail; + this.alreadyCalledDetail.forEach(e => { + e.state = 'alreadyCall' + }); this.overNumberDetail = res.data.overNumberDetail; + this.overNumberDetail.forEach(e => { + e.state = 'over' + }); resolve(res); } else { @@ -540,44 +557,85 @@ export default { // 选择候诊人员 rowClickWait(row) { - - this.clickTime1 = new Date().getTime() - - setTimeout(() => { - if (this.clickTime1 > this.clickTime2) { - this.waitRow = row; - this.queueParams = { - patientRegisterId: row.patientRegisterId, - }; - } - }, 400); - - - + this.waitRow = row; + this.queueParams = { + patientRegisterId: row.patientRegisterId, + }; }, // 选择过号人员 rowClickAlready(row) { - this.clickTime1 = new Date().getTime() - setTimeout(() => { - if (this.clickTime1 > this.clickTime2) { - this.alreadyRow = row; - this.queueParams = { - patientRegisterId: row.patientRegisterId, - }; - } - }, 400); + this.alreadyRow = row; + this.queueParams = { + patientRegisterId: row.patientRegisterId, + }; }, // 选择过号人员 - rowClickOver(row) { - this.clickTime1 = new Date().getTime() - setTimeout(() => { - if (this.clickTime1 > this.clickTime2) { - this.overRow = row; - } - }, 400); + rowClickOver(row) { + this.overRow = row; + }, + + // 右击选择人员 + rClick(row, column, event) { + this.queueParams = { + patientRegisterId: row.patientRegisterId, + state: row.state, + queueRegisterId: row.queueRegisterId + }; }, + + // 右击 + onContextmenu(event) { + if (!this.queueParams.patientRegisterId) return false + + //菜单项 + let items = []; + + if (this.queueParams.state == 'wait') { + items.push({ + label: "呼叫", + onClick: () => { + this.btnCall(this.queueParams, '1') + }, + }) + + items.push({ + label: "取消排队", + onClick: () => { + 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) + } + }) + }, + }) + } + + + items.push({ + label: "排队", + onClick: () => { + this.fnQueue() + }, + }) + + this.$contextmenu({ + items, + event, + x: event.clientX, + y: event.clientY, + customClass: "custom-class", + zIndex: 3, + minWidth: 80, + }); + + return false; + }, + }, //监听事件 diff --git a/src/components/occDisease/CheckDetails.vue b/src/components/occDisease/CheckDetails.vue index 2b3e0a3..96edf7a 100644 --- a/src/components/occDisease/CheckDetails.vue +++ b/src/components/occDisease/CheckDetails.vue @@ -82,7 +82,7 @@ export default { } }) .catch((err) => { - this.$message({ type: "error", message: `操作失败,原因:${err}` }); + this.$message({ type: "error", message: `操作失败,原因(/api/app/OccupationalDisease/GetDetailResults):${err}` }); }); }, diff --git a/src/components/patientRegister/PatientRegisterItem.vue b/src/components/patientRegister/PatientRegisterItem.vue index 23f2344..711a632 100644 --- a/src/components/patientRegister/PatientRegisterItem.vue +++ b/src/components/patientRegister/PatientRegisterItem.vue @@ -116,7 +116,7 @@
- + - - + + diff --git a/src/components/patientRegister/patientRegisterAsbItem.vue b/src/components/patientRegister/patientRegisterAsbItem.vue index 57604c1..1aa24fb 100644 --- a/src/components/patientRegister/patientRegisterAsbItem.vue +++ b/src/components/patientRegister/patientRegisterAsbItem.vue @@ -45,9 +45,9 @@ - + diff --git a/src/components/queue/Queue.vue b/src/components/queue/Queue.vue index 19d3921..8ab5252 100644 --- a/src/components/queue/Queue.vue +++ b/src/components/queue/Queue.vue @@ -9,62 +9,68 @@
-
-
未分诊组合项目:
- - - - - -
已分诊科室:
- - - - - - - - - - - -
-
-
房间:
- - - -
- 人工分诊排队 -
-
- AI智能分诊 -
-
当前人员:
-
- {{ queueRegister.patientName }} -
-
当前排队房间:
-
- {{ queueRegister.roomName }} +
+
+
+
未分诊组合项目:
+ + + + +
+
+
房间:
+ + + +
-
当前候诊人数:
-
- {{ queueRegister.queueCount }} + +
+
已分诊科室:
+
当前人员:{{ queueRegister.patientName }}
+
排队房间:{{ queueRegister.roomName }}
+
候诊人数:{{ queueRegister.queueCount }}
-
- 关闭 +
+ + + + + + + + + + + +
+ +
+ 人工分诊排队 +
+
+ AI智能分诊 +
+
+ 取消排队 +
+
+ 关闭 +
+
+