feat(sis): 设备管理增加楼层选择功能
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
2025-08-05 16:39:25 +08:00
parent 17c7bc0512
commit e0a64edc14
9 changed files with 222 additions and 200 deletions

View File

@@ -1,177 +1,182 @@
import type { BaseEntity, PageQuery } from '#/api/common';
import type { BaseEntity, PageQuery } from '#/api/common'
export interface DeviceManageVO {
/**
* 主键id
*/
id: string | number;
id: string | number
/**
* 设备编码
*/
deviceNo: string;
deviceNo: string
/**
* 设备名称
*/
deviceName: string;
deviceName: string
/**
* 设备ip
*/
deviceIp: string;
deviceIp: string
/**
* 设备端口
*/
devicePort: number;
devicePort: number
/**
* 设备账号
*/
deviceAccount: string;
deviceAccount: string
/**
* 设备密码
*/
devicePwd: string;
devicePwd: string
/**
* 设备
*/
deviceMac: string;
deviceMac: string
/**
* 设备在线状态 0:离线 1:在线 2:未知
*/
deviceStatus: number;
deviceStatus: number
/**
* 父级设备id
*/
parentId: string | number;
parentId: string | number
/**
* 设备通道编号
*/
channelNo: string;
channelNo: string
/**
* 录像机ip
*/
vcrIp: string;
vcrIp: string
/**
* 录像机端口
*/
vcrPort: number;
vcrPort: number
/**
* 录像机账号
*/
vcrAccount: string;
vcrAccount: string
/**
* 录像机密码
*/
vcrPwd: string;
vcrPwd: string
/**
* 门禁id
*/
accessControlId: string | number;
accessControlId: string | number
/**
* 楼层id
*/
floorId: string | number
}
export interface DeviceManageForm extends BaseEntity {
/**
* 主键id
*/
id?: string | number;
id?: string | number
/**
* 设备编码
*/
deviceNo?: string;
deviceNo?: string
/**
* 设备名称
*/
deviceName?: string;
deviceName?: string
/**
* 设备ip
*/
deviceIp?: string;
deviceIp?: string
/**
* 设备端口
*/
devicePort?: number;
devicePort?: number
/**
* 设备账号
*/
deviceAccount?: string;
deviceAccount?: string
/**
* 设备密码
*/
devicePwd?: string;
devicePwd?: string
/**
* 设备
*/
deviceMac?: string;
deviceMac?: string
/**
* 设备在线状态 0:离线 1:在线 2:未知
*/
deviceStatus?: number;
deviceStatus?: number
}
export interface DeviceManageQuery extends PageQuery {
/**
* 设备编码
*/
deviceNo?: string;
deviceNo?: string
/**
* 设备名称
*/
deviceName?: string;
deviceName?: string
/**
* 设备ip
*/
deviceIp?: string;
deviceIp?: string
/**
* 设备端口
*/
devicePort?: number;
devicePort?: number
/**
* 设备账号
*/
deviceAccount?: string;
deviceAccount?: string
/**
* 设备密码
*/
devicePwd?: string;
devicePwd?: string
/**
* 设备
*/
deviceMac?: string;
deviceMac?: string
/**
* 设备在线状态 0:离线 1:在线 2:未知
*/
deviceStatus?: number;
deviceStatus?: number
/**
* 日期范围参数
*/
params?: any;
params?: any
}