From 376fce588c5662012e0ebafbf91dbf22ec5e4bc5 Mon Sep 17 00:00:00 2001
From: chenyc <501753378@qq.com>
Date: 星期三, 16 十月 2024 13:18:58 +0800
Subject: [PATCH] gx
---
src/api/Patients/index.ts | 38 +++++++++++++++++++++++++++++++++++++-
1 files changed, 37 insertions(+), 1 deletions(-)
diff --git a/src/api/Patients/index.ts b/src/api/Patients/index.ts
index b5df8c4..92151b2 100644
--- a/src/api/Patients/index.ts
+++ b/src/api/Patients/index.ts
@@ -14,4 +14,40 @@
},
params
});
-}
\ No newline at end of file
+}
+
+
+export function getPatData(params: object) {
+ return request({
+ url: '/nutrition/getPatData',
+ method: 'post',
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded'
+ },
+ params
+ });
+}
+/**
+ *
+ * @param params
+ * @returns 患者检验结果
+ */
+export function getLisResults(params: object) {
+ return request({
+ url: '/lis/report/getLatestReportByPat',
+ method: 'post',
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded'
+ },
+ params
+ });
+}
+export function update(params: Object) {
+ return request({
+ url: '/patient/info/update',
+ method: 'post',
+ data: params,
+ });
+}
+
+
--
Gitblit v1.8.0