From 98b9fdc80abc60b5e57370328ea51cf06365bab0 Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期一, 23 六月 2025 20:31:10 +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 ebe3d70..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/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, + }); } -- Gitblit v1.9.3