From 5ae01e73f76942d1ff48d00ce32984293c5bf104 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Thu, 9 Mar 2023 15:28:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/medicine/index.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/api/medicine/index.js b/api/medicine/index.js index 56ea00c..faff6eb 100644 --- a/api/medicine/index.js +++ b/api/medicine/index.js @@ -1,17 +1,17 @@ import request from "../request.js" //健康咨询 -export function selectDepartment() { +export function selectDepartment(pageNum,pageSize) { return request({ - url: `/nurseApp/healthConsultation/selectDepartment`, + url: `/nurseApp/healthConsultation/selectDepartment?pageNum=${pageNum}&pageSize=${pageSize}`, method: 'GET' }) } //人员 -export function selectHospitalPerson(departmentId) { +export function selectHospitalPerson(pageNum,pageSize,departmentId) { return request({ - url: `/nurseApp/healthConsultation/selectHospitalPerson?departmentId=${departmentId}`, + url: `/nurseApp/healthConsultation/selectHospitalPerson?pageNum=${pageNum}&pageSize=${pageSize}&departmentId=${departmentId}`, method: 'GET' }) } \ No newline at end of file