From 99b062eeca471bdcbfcacd88e308fab9972cd6ec Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期二, 19 八月 2025 14:21:33 +0800
Subject: [PATCH] 展示优化
---
src/api/smartor/patouthosp.js | 60 +++++++++++++++++++++++++++++++++++++++++-------------------
1 files changed, 41 insertions(+), 19 deletions(-)
diff --git a/src/api/smartor/patouthosp.js b/src/api/smartor/patouthosp.js
index 42e6809..5471003 100644
--- a/src/api/smartor/patouthosp.js
+++ b/src/api/smartor/patouthosp.js
@@ -1,44 +1,66 @@
-import request from '@/utils/request'
+import request from "@/utils/request";
// 鏌ヨ鎮h�呴棬璇婅褰曞垪琛�
export function listPatouthosp(query) {
return request({
- url: '/smartor/patouthosp/list',
- method: 'get',
- params: query
- })
+ url: "/smartor/patouthosp/selectPatMedOuthospList",
+ method: "post",
+ data: query,
+ });
}
// 鏌ヨ鎮h�呴棬璇婅褰曡缁�
export function getPatouthosp(id) {
return request({
- url: '/smartor/patouthosp/' + id,
- method: 'get'
- })
+ url: "/smartor/patouthosp/" + id,
+ method: "get",
+ });
}
// 鏂板鎮h�呴棬璇婅褰�
export function addPatouthosp(data) {
return request({
- url: '/smartor/patouthosp',
- method: 'post',
- data: data
- })
+ url: "/smartor/patouthosp",
+ method: "post",
+ data: data,
+ });
}
// 淇敼鎮h�呴棬璇婅褰�
export function updatePatouthosp(data) {
return request({
- url: '/smartor/patouthosp/edit',
- method: 'post',
- data: data
- })
+ url: "/smartor/patouthosp/edit",
+ method: "post",
+ data: data,
+ });
}
// 鍒犻櫎鎮h�呴棬璇婅褰�
export function delPatouthosp(id) {
return request({
- url: '/smartor/patouthosp/remove/' + id,
- method: 'get'
- })
+ url: "/smartor/patouthosp/remove/" + id,
+ method: "get",
+ });
+}
+// 鏌ヨ鏂扮敓鍎挎暟鎹�
+export function newborninfo(id) {
+ return request({
+ url: "/smartor/growth/getInfo/" + id,
+ method: "get",
+ });
+}
+export function newborninfolist(data) {
+ return request({
+ url: "/smartor/growth/dateLine",
+ method: "post",
+ data: data,
+ });
+}
+
+export function newborninfoadd(data) {
+ return request({
+ url: "/smartor/growth/add",
+ method: "post",
+ data: data,
+ });
}
--
Gitblit v1.9.3