From 071f4eb48aee319bdbadd397f80547514ea115a9 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BC=A0=E4=BD=B3=E7=82=9C?= <1503983799@qq.com>
Date: Tue, 18 Feb 2025 16:57:52 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BD=93=E6=A3=80=E7=BB=93=E6=9E=9C=E6=B1=87?=
=?UTF-8?q?=E6=80=BB---=E5=88=9D=E6=AD=A5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/api/summary/index.ts | 55 +++++++
src/views/summary/audit/index.vue | 170 +++++++++++++++++++++
src/views/summary/examination/index.vue | 189 ++++++++++++++++++++++++
3 files changed, 414 insertions(+)
create mode 100644 src/api/summary/index.ts
create mode 100644 src/views/summary/audit/index.vue
create mode 100644 src/views/summary/examination/index.vue
diff --git a/src/api/summary/index.ts b/src/api/summary/index.ts
new file mode 100644
index 0000000..44c2e18
--- /dev/null
+++ b/src/api/summary/index.ts
@@ -0,0 +1,55 @@
+import request from '@/config/axios'
+
+export interface SummaryResultVO {
+ id: number
+ inspectionOpinion: string
+ auditStatus: number
+ medicalSn: string
+ summaryResult: string
+
+}
+export interface AnalyseVO {
+ id: number
+ itemName: string
+ itemResult: string
+ analyse: string
+ medicalSn: string
+
+}
+
+// 根据条码获取患者信息
+export const getPatient = (medicalSn: String) => {
+ return request.get({ url: '/checkup/result/getPatient?medicalSn=' + medicalSn })
+}
+
+// 根据条码获取患者检查项
+export const getPatientItems = (medicalSn: String) => {
+ return request.get({ url: '/checkup/result/getPatientItems?medicalSn=' + medicalSn })
+}
+
+// 更新患者汇总结果分析
+export const updatePatient = (data: SummaryResultVO) => {
+ return request.put({ url: '/checkup/result/updatePatient', data })
+}
+
+// 审核
+export const updateAudit = (medicalSn: String, auditStatus: number, inspectionOpinion: String) => {
+ return request.put({ url: '/checkup/result/updateAudit?medicalSn=' + medicalSn + '&auditStatus=' + auditStatus + '&inspectionOpinion=' + inspectionOpinion})
+}
+
+// 更新检查项目汇总结果分析
+export const updateItemsAnalyse = (data: AnalyseVO[]) => {
+ return request.post({ url: '/checkup/result/updateItemsAnalyse', data })
+}
+
+
+// 用户密码重置
+export const resetUserPwd = (id: number, password: string) => {
+ const data = {
+ id,
+ password
+ }
+ return request.put({ url: '/system/user/update-password', data: data })
+}
+
+
diff --git a/src/views/summary/audit/index.vue b/src/views/summary/audit/index.vue
new file mode 100644
index 0000000..809b022
--- /dev/null
+++ b/src/views/summary/audit/index.vue
@@ -0,0 +1,170 @@
+
+
+
+
+
+
+
+ 通过
+ 驳回
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 全部选中
+
+
+
+ 自动编码
+
+
+ 清除编码
+
+
+
+
+
+
+ -
+ {{ analyseFlag ? '【' : '' }} {{ item.itemResult }} {{ analyseFlag ? '】' : '' }}
+
+
+
+
+
+
+
+
diff --git a/src/views/summary/examination/index.vue b/src/views/summary/examination/index.vue
new file mode 100644
index 0000000..b9b7529
--- /dev/null
+++ b/src/views/summary/examination/index.vue
@@ -0,0 +1,189 @@
+
+
+
+
+
+
+
+ 汇总保存
+ 提交
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ -
+ 全部选中
+
+
+ -
+ 自动编码
+
+ -
+ 清除编码
+
+
+
+
+
+
+
+ -
+ {{ analyseFlag ? '【' : '' }} {{ item.itemResult }} {{ analyseFlag ? '】' : '' }}
+
+
+
+
+
+
+
+