eight
2024-09-29 22ffadf5996aa0748cac9c206ccceb57e569da45
src/api/ecg/devmanage/index.ts
@@ -15,7 +15,19 @@
  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 {
@@ -72,6 +84,11 @@
    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 })