From dacf3c6ae5ede1c0a8a8b4afb24e2a3b62f0e368 Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期二, 21 十一月 2023 15:39:28 +0800 Subject: [PATCH] Merge branch 'wulong' of http://116.62.18.175:6699/r/~yxh/smartor-web into yxh01 --- src/api/patient/homepage.js | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 files changed, 55 insertions(+), 2 deletions(-) diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js index 713159b..8ede6e1 100644 --- a/src/api/patient/homepage.js +++ b/src/api/patient/homepage.js @@ -1,5 +1,5 @@ import request from '@/utils/request' -import { parseStrEmpty } from "@/utils/ruoyi"; +import { parseStrEmpty } from "@/utils/ruoyi";//澶勭悊瀛楃涓�,und,null杞崲涓�''; // 鏌ヨ鎮h�呭垪琛� export function listpatient(query) { @@ -8,4 +8,57 @@ method: 'get', params: query }) -} \ No newline at end of file +}; +// 鐢ㄦ埛淇℃伅鏌ヨ鎮h�呭垪琛� +export function messagelistpatient(data) { + return request({ + url: '/smartor/patarchive/patInfoByContion', + method: 'post', + data: data + }) +}; +// 淇敼鎮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