This commit is contained in:
61
apps/web-antd/src/api/sis/accessControl/index.ts
Normal file
61
apps/web-antd/src/api/sis/accessControl/index.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import type { AccessControlVO, AccessControlForm, AccessControlQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询门禁管理列表
|
||||
* @param params
|
||||
* @returns 门禁管理列表
|
||||
*/
|
||||
export function accessControlList(params?: AccessControlQuery) {
|
||||
return requestClient.get<PageResult<AccessControlVO>>('/sis/accessControl/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出门禁管理列表
|
||||
* @param params
|
||||
* @returns 门禁管理列表
|
||||
*/
|
||||
export function accessControlExport(params?: AccessControlQuery) {
|
||||
return commonExport('/sis/accessControl/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询门禁管理详情
|
||||
* @param id id
|
||||
* @returns 门禁管理详情
|
||||
*/
|
||||
export function accessControlInfo(id: ID) {
|
||||
return requestClient.get<AccessControlVO>(`/sis/accessControl/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增门禁管理
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlAdd(data: AccessControlForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/accessControl', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新门禁管理
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlUpdate(data: AccessControlForm) {
|
||||
return requestClient.putWithMsg<void>('/sis/accessControl', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除门禁管理
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function accessControlRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/sis/accessControl/${id}`);
|
||||
}
|
234
apps/web-antd/src/api/sis/accessControl/model.d.ts
vendored
Normal file
234
apps/web-antd/src/api/sis/accessControl/model.d.ts
vendored
Normal file
@@ -0,0 +1,234 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface AccessControlVO {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp: string;
|
||||
|
||||
/**
|
||||
* 端口
|
||||
*/
|
||||
accessPort: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType: number;
|
||||
|
||||
/**
|
||||
* 工厂编码
|
||||
*/
|
||||
factoryCode: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState: number;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue: string;
|
||||
|
||||
}
|
||||
|
||||
export interface AccessControlForm extends BaseEntity {
|
||||
/**
|
||||
* 主键
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName?: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp?: string;
|
||||
|
||||
/**
|
||||
* 端口
|
||||
*/
|
||||
accessPort?: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType?: number;
|
||||
|
||||
/**
|
||||
* 工厂编码
|
||||
*/
|
||||
factoryCode?: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType?: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode?: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface AccessControlQuery extends PageQuery {
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName?: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp?: string;
|
||||
|
||||
/**
|
||||
* 端口
|
||||
*/
|
||||
accessPort?: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType?: number;
|
||||
|
||||
/**
|
||||
* 工厂编码
|
||||
*/
|
||||
factoryCode?: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType?: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode?: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 搜索值
|
||||
*/
|
||||
searchValue?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
271
apps/web-antd/src/api/sis/accessControl/types.ts
Normal file
271
apps/web-antd/src/api/sis/accessControl/types.ts
Normal file
@@ -0,0 +1,271 @@
|
||||
export interface AccessControlVO {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
accessPort: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType: number;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
factoryCode: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createEmpId: string | number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime: string;
|
||||
|
||||
}
|
||||
|
||||
export interface AccessControlForm extends BaseEntity {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName?: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp?: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
accessPort?: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType?: number;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
factoryCode?: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType?: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode?: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createEmpId?: string | number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
}
|
||||
|
||||
export interface AccessControlQuery extends PageQuery {
|
||||
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 门禁设备编码
|
||||
*/
|
||||
accessCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁名称
|
||||
*/
|
||||
accessName?: string;
|
||||
|
||||
/**
|
||||
* 园区编码
|
||||
*/
|
||||
communityCode?: string;
|
||||
|
||||
/**
|
||||
* 建筑编码
|
||||
*/
|
||||
buildingCode?: string;
|
||||
|
||||
/**
|
||||
* 门禁设备ip
|
||||
*/
|
||||
accessIp?: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
accessPort?: number;
|
||||
|
||||
/**
|
||||
* 门禁设备类型
|
||||
*/
|
||||
accssType?: number;
|
||||
|
||||
/**
|
||||
* 工程编号
|
||||
*/
|
||||
factoryCode?: string;
|
||||
|
||||
/**
|
||||
* 控制卡类型:1-系统,2-E8
|
||||
*/
|
||||
controlType?: number;
|
||||
|
||||
/**
|
||||
* 控制卡类型编码
|
||||
*/
|
||||
controlCode?: string;
|
||||
|
||||
/**
|
||||
* 外部编码
|
||||
*/
|
||||
outCode?: string;
|
||||
|
||||
/**
|
||||
* 组织编码
|
||||
*/
|
||||
orgCode?: string;
|
||||
|
||||
/**
|
||||
* 数据状态:1有效,0无效
|
||||
*/
|
||||
dataState?: number;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
createTime?: string;
|
||||
|
||||
/**
|
||||
* 创建人
|
||||
*/
|
||||
createEmpId?: string | number;
|
||||
|
||||
/**
|
||||
* 修改时间
|
||||
*/
|
||||
modifyTime?: string;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
||||
|
||||
|
||||
|
61
apps/web-antd/src/api/sis/authRecord/index.ts
Normal file
61
apps/web-antd/src/api/sis/authRecord/index.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import type { AuthRecordVO, AuthRecordForm, AuthRecordQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询授权记录列表
|
||||
* @param params
|
||||
* @returns 授权记录列表
|
||||
*/
|
||||
export function authRecordList(params?: AuthRecordQuery) {
|
||||
return requestClient.get<PageResult<AuthRecordVO>>('/sis/authRecord/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出授权记录列表
|
||||
* @param params
|
||||
* @returns 授权记录列表
|
||||
*/
|
||||
export function authRecordExport(params?: AuthRecordQuery) {
|
||||
return commonExport('/sis/authRecord/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询授权记录详情
|
||||
* @param id id
|
||||
* @returns 授权记录详情
|
||||
*/
|
||||
export function authRecordInfo(id: ID) {
|
||||
return requestClient.get<AuthRecordVO>(`/sis/authRecord/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增授权记录
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function authRecordAdd(data: AuthRecordForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/authRecord', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新授权记录
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function authRecordUpdate(data: AuthRecordForm) {
|
||||
return requestClient.putWithMsg<void>('/sis/authRecord', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除授权记录
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function authRecordRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/sis/authRecord/${id}`);
|
||||
}
|
54
apps/web-antd/src/api/sis/authRecord/model.d.ts
vendored
Normal file
54
apps/web-antd/src/api/sis/authRecord/model.d.ts
vendored
Normal file
@@ -0,0 +1,54 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface AuthRecordVO {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 人像id
|
||||
*/
|
||||
imgId: string | number;
|
||||
|
||||
/**
|
||||
* 门禁id
|
||||
*/
|
||||
acdId: string | number;
|
||||
|
||||
}
|
||||
|
||||
export interface AuthRecordForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 人像id
|
||||
*/
|
||||
imgId?: string | number;
|
||||
|
||||
/**
|
||||
* 门禁id
|
||||
*/
|
||||
acdId?: string | number;
|
||||
|
||||
}
|
||||
|
||||
export interface AuthRecordQuery extends PageQuery {
|
||||
/**
|
||||
* 人像id
|
||||
*/
|
||||
imgId?: string | number;
|
||||
|
||||
/**
|
||||
* 门禁id
|
||||
*/
|
||||
acdId?: string | number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
61
apps/web-antd/src/api/sis/deviceManage/index.ts
Normal file
61
apps/web-antd/src/api/sis/deviceManage/index.ts
Normal file
@@ -0,0 +1,61 @@
|
||||
import type { DeviceManageVO, DeviceManageForm, DeviceManageQuery } from './model';
|
||||
|
||||
import type { ID, IDS } from '#/api/common';
|
||||
import type { PageResult } from '#/api/common';
|
||||
|
||||
import { commonExport } from '#/api/helper';
|
||||
import { requestClient } from '#/api/request';
|
||||
|
||||
/**
|
||||
* 查询设备管理列表
|
||||
* @param params
|
||||
* @returns 设备管理列表
|
||||
*/
|
||||
export function deviceManageList(params?: DeviceManageQuery) {
|
||||
return requestClient.get<PageResult<DeviceManageVO>>('/sis/deviceManage/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
* 导出设备管理列表
|
||||
* @param params
|
||||
* @returns 设备管理列表
|
||||
*/
|
||||
export function deviceManageExport(params?: DeviceManageQuery) {
|
||||
return commonExport('/sis/deviceManage/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
* 查询设备管理详情
|
||||
* @param id id
|
||||
* @returns 设备管理详情
|
||||
*/
|
||||
export function deviceManageInfo(id: ID) {
|
||||
return requestClient.get<DeviceManageVO>(`/sis/deviceManage/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
* 新增设备管理
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function deviceManageAdd(data: DeviceManageForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/deviceManage', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 更新设备管理
|
||||
* @param data
|
||||
* @returns void
|
||||
*/
|
||||
export function deviceManageUpdate(data: DeviceManageForm) {
|
||||
return requestClient.putWithMsg<void>('/sis/deviceManage', data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 删除设备管理
|
||||
* @param id id
|
||||
* @returns void
|
||||
*/
|
||||
export function deviceManageRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/sis/deviceManage/${id}`);
|
||||
}
|
249
apps/web-antd/src/api/sis/deviceManage/model.d.ts
vendored
Normal file
249
apps/web-antd/src/api/sis/deviceManage/model.d.ts
vendored
Normal file
@@ -0,0 +1,249 @@
|
||||
import type { PageQuery, BaseEntity } from '#/api/common';
|
||||
|
||||
export interface DeviceManageVO {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id: string | number;
|
||||
|
||||
/**
|
||||
* 设备编码
|
||||
*/
|
||||
deviceNo: string;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
deviceName: string;
|
||||
|
||||
/**
|
||||
* 设备ip
|
||||
*/
|
||||
deviceIp: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
devicePort: number;
|
||||
|
||||
/**
|
||||
* 设备账号
|
||||
*/
|
||||
deviceAccount: string;
|
||||
|
||||
/**
|
||||
* 设备密码
|
||||
*/
|
||||
devicePwd: string;
|
||||
|
||||
/**
|
||||
* 设备
|
||||
*/
|
||||
deviceMac: string;
|
||||
|
||||
/**
|
||||
* 设备在线状态 0:离线 1:在线 2:未知
|
||||
*/
|
||||
deviceStatus: number;
|
||||
|
||||
/**
|
||||
* 父级设备id
|
||||
*/
|
||||
parentId: string | number;
|
||||
|
||||
/**
|
||||
* 设备通道编号
|
||||
*/
|
||||
channelNo: string;
|
||||
|
||||
/**
|
||||
* 录像机ip
|
||||
*/
|
||||
vcrIp: string;
|
||||
|
||||
/**
|
||||
* 录像机端口
|
||||
*/
|
||||
vcrPort: number;
|
||||
|
||||
/**
|
||||
* 录像机账号
|
||||
*/
|
||||
vcrAccount: string;
|
||||
|
||||
/**
|
||||
* 录像机密码
|
||||
*/
|
||||
vcrPwd: string;
|
||||
|
||||
/**
|
||||
* 门禁id
|
||||
*/
|
||||
accessControlId: string | number;
|
||||
|
||||
}
|
||||
|
||||
export interface DeviceManageForm extends BaseEntity {
|
||||
/**
|
||||
* 主键id
|
||||
*/
|
||||
id?: string | number;
|
||||
|
||||
/**
|
||||
* 设备编码
|
||||
*/
|
||||
deviceNo?: string;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
deviceName?: string;
|
||||
|
||||
/**
|
||||
* 设备ip
|
||||
*/
|
||||
deviceIp?: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
devicePort?: number;
|
||||
|
||||
/**
|
||||
* 设备账号
|
||||
*/
|
||||
deviceAccount?: string;
|
||||
|
||||
/**
|
||||
* 设备密码
|
||||
*/
|
||||
devicePwd?: string;
|
||||
|
||||
/**
|
||||
* 设备
|
||||
*/
|
||||
deviceMac?: string;
|
||||
|
||||
/**
|
||||
* 设备在线状态 0:离线 1:在线 2:未知
|
||||
*/
|
||||
deviceStatus?: number;
|
||||
|
||||
/**
|
||||
* 父级设备id
|
||||
*/
|
||||
parentId?: string | number;
|
||||
|
||||
/**
|
||||
* 设备通道编号
|
||||
*/
|
||||
channelNo?: string;
|
||||
|
||||
/**
|
||||
* 录像机ip
|
||||
*/
|
||||
vcrIp?: string;
|
||||
|
||||
/**
|
||||
* 录像机端口
|
||||
*/
|
||||
vcrPort?: number;
|
||||
|
||||
/**
|
||||
* 录像机账号
|
||||
*/
|
||||
vcrAccount?: string;
|
||||
|
||||
/**
|
||||
* 录像机密码
|
||||
*/
|
||||
vcrPwd?: string;
|
||||
|
||||
/**
|
||||
* 门禁id
|
||||
*/
|
||||
accessControlId?: string | number;
|
||||
|
||||
}
|
||||
|
||||
export interface DeviceManageQuery extends PageQuery {
|
||||
/**
|
||||
* 设备编码
|
||||
*/
|
||||
deviceNo?: string;
|
||||
|
||||
/**
|
||||
* 设备名称
|
||||
*/
|
||||
deviceName?: string;
|
||||
|
||||
/**
|
||||
* 设备ip
|
||||
*/
|
||||
deviceIp?: string;
|
||||
|
||||
/**
|
||||
* 设备端口
|
||||
*/
|
||||
devicePort?: number;
|
||||
|
||||
/**
|
||||
* 设备账号
|
||||
*/
|
||||
deviceAccount?: string;
|
||||
|
||||
/**
|
||||
* 设备密码
|
||||
*/
|
||||
devicePwd?: string;
|
||||
|
||||
/**
|
||||
* 设备
|
||||
*/
|
||||
deviceMac?: string;
|
||||
|
||||
/**
|
||||
* 设备在线状态 0:离线 1:在线 2:未知
|
||||
*/
|
||||
deviceStatus?: number;
|
||||
|
||||
/**
|
||||
* 父级设备id
|
||||
*/
|
||||
parentId?: string | number;
|
||||
|
||||
/**
|
||||
* 设备通道编号
|
||||
*/
|
||||
channelNo?: string;
|
||||
|
||||
/**
|
||||
* 录像机ip
|
||||
*/
|
||||
vcrIp?: string;
|
||||
|
||||
/**
|
||||
* 录像机端口
|
||||
*/
|
||||
vcrPort?: number;
|
||||
|
||||
/**
|
||||
* 录像机账号
|
||||
*/
|
||||
vcrAccount?: string;
|
||||
|
||||
/**
|
||||
* 录像机密码
|
||||
*/
|
||||
vcrPwd?: string;
|
||||
|
||||
/**
|
||||
* 门禁id
|
||||
*/
|
||||
accessControlId?: string | number;
|
||||
|
||||
/**
|
||||
* 日期范围参数
|
||||
*/
|
||||
params?: any;
|
||||
}
|
@@ -39,7 +39,7 @@ export function personLibImgInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function personLibImgAdd(data: PersonLibImgForm) {
|
||||
return requestClient.postWithMsg<void>('/sis/personLibImg', data);
|
||||
return requestClient.postWithMsg<void>('/sis/personLibImg/add', data);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user