From 66223fb36c73a4060b80f96b1d1596726a230f9c Mon Sep 17 00:00:00 2001 From: heimawl <1785969728@qq.com> Date: 星期一, 07 八月 2023 10:09:57 +0800 Subject: [PATCH] 11 --- src/api/patient/homepage.js | 65 +++++++++++++++++++++++++++++--- 1 files changed, 59 insertions(+), 6 deletions(-) diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js index 713159b..dadf02b 100644 --- a/src/api/patient/homepage.js +++ b/src/api/patient/homepage.js @@ -1,11 +1,64 @@ import request from '@/utils/request' -import { parseStrEmpty } from "@/utils/ruoyi"; +import { parseStrEmpty } from "@/utils/ruoyi";//澶勭悊瀛楃涓�,und,null杞崲涓�''; // 鏌ヨ鎮h�呭垪琛� -export function listpatient(query) { +// export function listpatient(query) { +// return request({ +// url: '/smartor/patarchive/list', +// method: 'get', +// params: query +// }) +// }; +// 鐢ㄦ埛淇℃伅鏌ヨ鎮h�呭垪琛� +export function messagelistpatient(data) { return request({ - url: '/smartor/patarchive/list', - method: 'get', - params: query + url: '/smartor/patarchive/patInfoByContion', + method: 'post', + data: data }) -} \ No newline at end of file +}; +// 淇敼鎮h�呮。妗� +export function alterpatient(data) { + return request({ + url: '/smartor/patarchive', + method: 'put', + data: data + }) +}; +// 鏂板鎮h�� +export function addpatient(data) { + return request({ + url: '/smartor/patarchive', + method: 'post', + data: data + }) +}; +// 鎮h�呰鎯� +export function particularpatient(userId) { + return request({ + url: '/smartor/patarchive/' + userId, + method: 'get', + }) +}; +// 鍒犻櫎鎮h�呭垪琛� +export function deletepatient(userId) { + return request({ + url: '/smartor/patarchive/' + userId, + method: 'delete', + }) +}; + +// 瀵煎嚭鎮h�呴敊璇俊鎭� +export function Exporterrorpatient(userId) { + return request({ + url: '/smartor/patarchive/patTagByContion/'+userId, + method: 'get', + }) +}; +// 瀵煎叆鎮h�呮枃浠跺鐞� +export function toleadpatient(userId) { + return request({ + url: '/smartor/patarchive/patTagByContion/'+userId, + method: 'get', + }) +}; -- Gitblit v1.9.3