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