| | |
| | | }, |
| | | |
| | | // 获取患者设备最近的租赁 |
| | | getLatestRent: async (patId: string, devId: string) => { |
| | | return await request.download({ url: `/ecg/dev-rent/get-latest-rent?pat-id=` + patId + '&dev-id=' + devId }) |
| | | getLatestRent: async (devId: string) => { |
| | | return await request.get({ url: `/ecg/dev-rent/get-latest-rent?&dev-id=` + devId }) |
| | | }, |
| | | |
| | | // 装机 |
| | | devInstall: async (data: DevRentVO) => { |
| | | return await request.post({ url: `/ecg/dev-rent/dev-install`, data }) |
| | | }, |
| | | |
| | | // 拆机 |
| | | devDismantle: async (data: DevRentVO) => { |
| | | return await request.post({ url: `/ecg/dev-rent/dev-dismantle`, data }) |
| | | } |
| | | } |
| | | } |
| | | |