| | |
| | | brand: string // 品牌 |
| | | model: string // 型号 |
| | | purchaseDate: number // 采购日期 |
| | | lost: number //遗失标记 |
| | | state: number //状态 |
| | | } |
| | | |
| | | // 设备统计 VO |
| | | export interface DeviceStatisticVO { |
| | | id: number // id |
| | | devId: string // 设备编号 |
| | | category: string // 分类名 |
| | | brand: string // 品牌 |
| | | model: string // 型号 |
| | | purchaseDate: number // 采购日期 |
| | | state: number // 状态 |
| | | devCount: number // 统计数量 |
| | | } |
| | | |
| | | export interface OptionsVO { |
| | |
| | | return await request.get({ url: `/ecg/device/page`, params }) |
| | | }, |
| | | |
| | | // 设备统计 |
| | | deviceStatistic: async (params: any) => { |
| | | return await request.get({ url: `/ecg/device/dev-statistic`, params }) |
| | | }, |
| | | |
| | | // 查询设备详情 |
| | | getDevice: async (id: number) => { |
| | | return await request.get({ url: `/ecg/device/get?id=` + id }) |