From 3a7caf4344d5911a3ee68d232e53887d6cc2ff6b Mon Sep 17 00:00:00 2001 From: WXL <1785969728@qq.com> Date: 星期三, 15 一月 2025 15:41:25 +0800 Subject: [PATCH] 测试完成 --- src/api/patient/homepage.js | 40 +++++++++++++++++++++++++++++++++++++++- 1 files changed, 39 insertions(+), 1 deletions(-) diff --git a/src/api/patient/homepage.js b/src/api/patient/homepage.js index 82592c9..19cb4a3 100644 --- a/src/api/patient/homepage.js +++ b/src/api/patient/homepage.js @@ -29,7 +29,7 @@ // 鏂板鎮h�� export function addpatient(data) { return request({ - url: '/smartor/patarchive', + url: '/smartor/patarchive/add', method: 'post', data: data }) @@ -136,3 +136,41 @@ method: 'get', }) }; +// 鎮h�呰繃婊ゅ垪琛� +export function listfiltration(data) { + return request({ + url: '/smartor/filterlist/list', + method: 'get', + params:data + }) +}; +// 鍒犻櫎鎮h�呰繃婊� +export function delfiltration(userId) { + return request({ + url: '/smartor/filterlist/remove/'+userId, + method: 'get', + }) +}; +// 淇敼杩囨护鎮h�� +export function editfiltration(data) { + return request({ + url: '/smartor/filterlist/edit', + method: 'post', + data:data + }) +}; +// 淇敼杩囨护鎮h�� +export function addfiltration(data) { + return request({ + url: '/smartor/filterlist/add', + method: 'post', + data:data + }) +}; +// 鏌ヨ杩囨护鎮h�呰鎯� +export function infofiltration(userId) { + return request({ + url: '/smartor/filterlist/getInfo/'+userId, + method: 'get', + }) +}; -- Gitblit v1.9.3