From a4070d0fa8adbb61aaab5ad7af241b28a9aa06ba Mon Sep 17 00:00:00 2001 From: lxd <1004405501@qq.com> Date: Thu, 5 Dec 2024 17:30:27 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=8D=B1=E6=80=A5=E5=80=BC?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=8F=96=E6=B6=88=E7=AB=99=E5=86=85=E4=BF=A1?= =?UTF-8?q?=E5=9B=BE=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/warning/index.ts | 26 ++++++++++------- src/layout/components/Message/src/Message.vue | 2 +- src/views/ECG/ECGWaring/ECGReport.vue | 29 +++++++++++++------ src/views/tblist/patientexamlistECG/index.vue | 6 ++-- 4 files changed, 39 insertions(+), 24 deletions(-) diff --git a/src/api/system/warning/index.ts b/src/api/system/warning/index.ts index 0c53408f..f4c73989 100644 --- a/src/api/system/warning/index.ts +++ b/src/api/system/warning/index.ts @@ -16,9 +16,9 @@ export interface WarningVO { checkDateTime: Date // 确认时间 remark: string // 备注 warningProcess: string // 危急值报告进程:Json格式 - readDateTime:string - receiptDateTime:string - readremark:string + readDateTime: string + receiptDateTime: string + readremark: string } // 危急值记录 API @@ -52,16 +52,20 @@ export const WarningApi = { exportWarning: async (params) => { return await request.download({ url: `/system/warning/export-excel`, params }) }, - // 查询患者危急值记录详情 - getexmidororgiddata: async (examId: String,orgId: String) => { + // 查询患者危急值记录详情 + getexmidororgiddata: async (examId: String, orgId: String) => { return await request.get({ url: `/system/warning/getexmidororgiddata?examID=${examId}&&orgID=${orgId}` }) }, - // 查询患者危急值记录详情 - updateWarningdate: async (id:String,readDateTime: String,receiptDateTime: String) => { - return await request.get({ url: `/system/warning/updateWarningdate?id=${id}&&readDateTime=${readDateTime}&&receiptDateTime=${receiptDateTime}` }) - }, - // 修改危急值记录 - SaveupdateWarning: async (data: WarningVO) => { + // 查询患者危急值记录详情 + updateWarningdate: async (id: String, readDateTime: String, receiptDateTime: String) => { + return await request.get({ url: `/system/warning/updateWarningdate?id=${id}&&readDateTime=${readDateTime}&&receiptDateTime=${receiptDateTime}` }) + }, + // 修改危急值记录 + SaveupdateWarning: async (data: WarningVO) => { return await request.put({ url: `/system/warning/Saveupdate`, data }) }, + // 发送站内消息 + sendMessage: async (userid: String, name: String) => { + return await request.get({ url: `/system/warning/sendMessage?userid=${userid}&&name=${name}` }) + }, } diff --git a/src/layout/components/Message/src/Message.vue b/src/layout/components/Message/src/Message.vue index 6bd7724a..25b56e39 100644 --- a/src/layout/components/Message/src/Message.vue +++ b/src/layout/components/Message/src/Message.vue @@ -56,7 +56,7 @@ onMounted(() => {