From bc9538a9e071259ca8bbb6de52c60c9d7a55a03b Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期三, 23 九月 2026 14:02:44 +0800
Subject: [PATCH] 测试完成
---
src/api/smartor/patouthosp.js | 25 ++++++++++++++++++-------
1 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/src/api/smartor/patouthosp.js b/src/api/smartor/patouthosp.js
index 8f6ecd6..315c9cc 100644
--- a/src/api/smartor/patouthosp.js
+++ b/src/api/smartor/patouthosp.js
@@ -3,9 +3,20 @@
// 鏌ヨ鎮h�呴棬璇婅褰曞垪琛�
export function listPatouthosp(query) {
return request({
- url: '/smartor/patouthosp/list',
- method: 'get',
- params: query
+ url: '/smartor/patouthosp/selectPatMedOuthospList',
+ method: 'post',
+ data: query
+ })
+}
+// 鏌ヨ寰呭叆闄㈣褰曞垪琛�
+export function listPatMedInhosp(query) {
+ const data = { ...query };
+ // bedSort 涓嶄紶鍗充笉鎸夊簥鍙锋帓搴�
+ if (data.bedSort == null || data.bedSort === "") delete data.bedSort;
+ return request({
+ url: '/smartor/patinhosp/selectPatMedInhospList',
+ method: 'post',
+ data: data
})
}
@@ -29,8 +40,8 @@
// 淇敼鎮h�呴棬璇婅褰�
export function updatePatouthosp(data) {
return request({
- url: '/smartor/patouthosp',
- method: 'put',
+ url: '/smartor/patouthosp/edit',
+ method: 'post',
data: data
})
}
@@ -38,7 +49,7 @@
// 鍒犻櫎鎮h�呴棬璇婅褰�
export function delPatouthosp(id) {
return request({
- url: '/smartor/patouthosp/' + id,
- method: 'delete'
+ url: '/smartor/patouthosp/remove/' + id,
+ method: 'get'
})
}
--
Gitblit v1.9.3