From ab77cf83de3f6978909e6f1f3b6e0d28db456681 Mon Sep 17 00:00:00 2001
From: WXL (wul) <wl_5969728@163.com>
Date: 星期一, 10 十一月 2025 08:58:27 +0800
Subject: [PATCH] 测试完成
---
src/api/smartor/patouthosp.js | 73 +++++++++++++++++++++++++++---------
1 files changed, 54 insertions(+), 19 deletions(-)
diff --git a/src/api/smartor/patouthosp.js b/src/api/smartor/patouthosp.js
index ebe3d70..666ce1f 100644
--- a/src/api/smartor/patouthosp.js
+++ b/src/api/smartor/patouthosp.js
@@ -1,44 +1,79 @@
-import request from '@/utils/request'
+import request from "@/utils/request";
// 鏌ヨ鎮h�呴棬璇婅褰曞垪琛�
export function listPatouthosp(query) {
return request({
- url: '/smartor/patouthosp/selectPatMedOuthospList',
- method: 'post',
- data: 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,
+ });
+}
+export function newborninfoedit(data) {
+ return request({
+ url: "/smartor/growth/edit",
+ method: "post",
+ data: data,
+ });
+}
+export function newborninforemove(tagids) {
+ return request({
+ url: '/smartor/growth/remove/' + tagids,
+ method: 'get',
+ })
+ };
--
Gitblit v1.9.3