review:【antd】【iot】设备管理相关

This commit is contained in:
YunaiV
2026-01-05 20:45:39 +08:00
parent a5c76ef89d
commit 17d5d1b889
4 changed files with 9 additions and 17 deletions

View File

@@ -4,6 +4,7 @@ import { requestClient } from '#/api/request';
export namespace IotDeviceApi {
/** 设备新增/修改 Request VO */
// TODO @haohao可以降低一些 VO 哈DeviceSaveReqVO、DeviceRespVO 合并成 Device 就好,类似别的模块
export interface DeviceSaveReqVO {
id?: number; // 设备编号
deviceName: string; // 设备名称
@@ -26,6 +27,7 @@ export namespace IotDeviceApi {
}
/** 设备分页 Request VO */
// TODO @haohao可以不用 DevicePageReqVO直接 PageParam 即可,简洁一点。这里的强类型,收益不大;
export interface DevicePageReqVO extends PageParam {
deviceName?: string; // 设备名称
nickname?: string; // 备注名称