eight
2024-09-10 96cc62fd7c5957ff15e7eb7b897a038b029d83fa
src/api/ecg/devrent/index.ts
@@ -2,7 +2,7 @@
// 装机拆机 VO
export interface DevRentVO {
  id: number // id
  id: number | null // id
  devId: string // 设备编号
  patId: string // 患者编号
  patName: string // 患者名称
@@ -44,5 +44,10 @@
  // 导出装机拆机 Excel
  exportDevRent: async (params) => {
    return await request.download({ url: `/ecg/dev-rent/export-excel`, params })
  },
  // 获取患者设备最近的租赁
  getLatestRent: async (patId: string, devId: string) => {
    return await request.download({ url: `/ecg/dev-rent/get-latest-rent?pat-id=` + patId + '&dev-id=' + devId })
  }
}