From f8bdc0196a1b52dc6f4ca676da8f72185c49560b Mon Sep 17 00:00:00 2001 From: yy <11@11.com> Date: Tue, 28 May 2024 22:09:05 +0800 Subject: [PATCH] 11 --- src/api/patient.ts | 15 ++ src/views/remote-manage/remote-control.vue | 275 ++++++++++----------- 2 files changed, 150 insertions(+), 140 deletions(-) diff --git a/src/api/patient.ts b/src/api/patient.ts index bca331d..d1a6068 100644 --- a/src/api/patient.ts +++ b/src/api/patient.ts @@ -1,6 +1,7 @@ import request from "@/utils/request"; const patientInfoUrl = "/admin/medicine/getPatientInfo"; +const patientInfoMUrl = "/admin/medicine/getPatientInfoM"; const getPatientPageUrl = "/admin/medicine/getPatientPage"; const getPatientSurgeryListUrl = "/admin/medicine/getPatientSurgeryList"; const getSurgeryTableDataUrl = "/admin/medicine/getSurgeryTableData"; @@ -19,6 +20,20 @@ export function getPatientInfo(name: string, id: string, date: string): Promise< }); } +export function getPatientInfoM(name: string, id: string, date?: string): Promise { + return new Promise((resolve, reject) => { + request.postForm(patientInfoMUrl, { + patientName: name, + idNum: id, + date: date + }).then((res: any) => { + resolve(res.data); + }).catch(error => { + reject(error); + }); + }); +} + export function getPatientPage(params: { offset: number, limit: number, diff --git a/src/views/remote-manage/remote-control.vue b/src/views/remote-manage/remote-control.vue index e83787a..cd1cb44 100644 --- a/src/views/remote-manage/remote-control.vue +++ b/src/views/remote-manage/remote-control.vue @@ -4,50 +4,51 @@

{{ currentRemote?.taskName }}

+ @exception-event="vitalExcepEvent"> + @exception-event="vitalExcepEvent"> + @exception-event="vitalExcepEvent"> + @exception-event="vitalExcepEvent">
- - + + + :src="heartAlarm ? imgHeartAlarm : imgHeart">
- - - - - - - - - + + + + + + + + +
- - - - - + + + + + 患者信息 已连接 机器人运行正常
- + 返回 @@ -60,29 +61,29 @@
- - - - - - - - - - - - - - + + + + + + + + + + + + + +
  • + :class="{ 'align-right': item.createName == userName }"> {{ item.content }}
- + 发送消息
@@ -91,14 +92,14 @@
- - + +