| | |
| | | * 搜索医院 |
| | | * @param {string} keyword 搜索关键词(医院名称、地址、简称、省市区) |
| | | * @param {number} deptId 部门ID(用于根据部门区域配置过滤医院) |
| | | * @param {number} limit 返回结果数量限制(默认50,在前端处理) |
| | | */ |
| | | export function searchHospitals(keyword, deptId) { |
| | | export function searchHospitals(keyword, deptId, limit = 50) { |
| | | return request({ |
| | | url: '/system/hospital/search', |
| | | method: 'get', |
| | | params: { |
| | | keyword: keyword, |
| | | deptId: deptId |
| | | deptId: deptId, |
| | | pageSize: limit |
| | | } |
| | | }) |
| | | } |
| | |
| | | * 获取常用转出医院列表 |
| | | * @param {string} serviceOrdClass 分公司编码(service_order_class) |
| | | * @param {string} region 地域关键词(可选) |
| | | * @param {number} limit 返回结果数量限制(默认50) |
| | | */ |
| | | export function getFrequentOutHospitals(serviceOrdClass, region) { |
| | | export function getFrequentOutHospitals(serviceOrdClass, region, limit = 50) { |
| | | return request({ |
| | | url: '/system/hospital/frequent/out', |
| | | method: 'get', |
| | | params: { |
| | | serviceOrdClass: serviceOrdClass, |
| | | region: region |
| | | region: region, |
| | | pageSize: limit |
| | | } |
| | | }) |
| | | } |
| | |
| | | * 获取常用转入医院列表 |
| | | * @param {string} serviceOrdClass 分公司编码(service_order_class) |
| | | * @param {string} region 地域关键词(可选) |
| | | * @param {number} limit 返回结果数量限制(默认50) |
| | | */ |
| | | export function getFrequentInHospitals(serviceOrdClass, region) { |
| | | export function getFrequentInHospitals(serviceOrdClass, region, limit = 50) { |
| | | return request({ |
| | | url: '/system/hospital/frequent/in', |
| | | method: 'get', |
| | | params: { |
| | | serviceOrdClass: serviceOrdClass, |
| | | region: region |
| | | region: region, |
| | | pageSize: limit |
| | | } |
| | | }) |
| | | } |
| | |
| | | * 根据部门区域配置搜索医院(支持多级区域) |
| | | * @param {string} keyword 搜索关键词 |
| | | * @param {number} deptId 部门ID |
| | | * @param {number} limit 返回结果数量限制(默认50,在前端处理) |
| | | */ |
| | | export function searchHospitalsByDeptRegion(keyword, deptId) { |
| | | export function searchHospitalsByDeptRegion(keyword, deptId, limit = 50) { |
| | | return request({ |
| | | url: '/system/hospital/search/by-dept-region', |
| | | method: 'get', |
| | | params: { |
| | | keyword: keyword, |
| | | deptId: deptId |
| | | deptId: deptId, |
| | | pageSize: limit |
| | | } |
| | | }) |
| | | } |