增加视频监控页面
Some checks are pending
Gitea Actions Demo / Explore-Gitea-Actions (push) Waiting to run

This commit is contained in:
15683799673
2025-07-19 09:09:14 +08:00
parent 5f19bb22a8
commit 2bb661e32b
14 changed files with 896 additions and 143 deletions

View File

@@ -15,6 +15,11 @@ export const querySchema: FormSchemaGetter = () => [
fieldName: 'deviceIp',
label: '设备ip',
},
{
component: 'Input',
fieldName: 'deviceType',
label: '设备类型',
},
{
fieldName: 'deviceStatus',
label: '在线状态',
@@ -34,6 +39,14 @@ export const columns: VxeGridProps['columns'] = [
title: '设备名称',
field: 'deviceName',
},
{
title: '厂商编号',
field: 'factoryNo',
},
{
title: '设备类型',
field: 'device_type',
},
{
title: '设备ip',
field: 'deviceIp',
@@ -43,30 +56,13 @@ export const columns: VxeGridProps['columns'] = [
field: 'devicePort',
},
{
title: '设备',
title: '设备mac',
field: 'deviceMac',
},
{
title: '在线状态',
field: 'deviceStatus',
},
{
title: '通道编号',
field: 'channelNo',
},
{
title: '录像机ip',
field: 'vcrIp',
},
{
title: '录像机端口',
field: 'vcrPort',
},
/*{
title: '门禁id',
field: 'accessControlId',
},*/
{
field: 'action',
fixed: 'right',
@@ -92,6 +88,18 @@ export const modalSchema: FormSchemaGetter = () => [
component: 'Input',
rules: 'required',
},
{
label: '设备厂商',
fieldName: 'facrotyNo',
component: 'Input',
rules: 'required',
},
{
label: '设备类型',
fieldName: 'deviceType',
component: 'Input',
rules: 'required',
},
{
label: '设备ip',
fieldName: 'deviceIp',
@@ -116,53 +124,10 @@ export const modalSchema: FormSchemaGetter = () => [
component: 'Input',
rules: 'required',
},
{
label: '设备Mac',
fieldName: 'deviceMac',
component: 'Input',
},
{
label: '通道编号',
fieldName: 'channelNo',
component: 'Input',
},
{
label: '录像机ip',
fieldName: 'vcrIp',
component: 'Input',
},
{
label: '录像机端口',
fieldName: 'vcrPort',
component: 'Input',
},
{
label: '录像机账号',
fieldName: 'vcrAccount',
component: 'Input',
},
{
label: '录像机密码',
fieldName: 'vcrPwd',
component: 'Input',
},
/*{
label: '绑定门禁',
fieldName: 'accessControlId',
component: 'ApiSelect',
componentProps: {
// mode: 'multiple', // 关键属性,启用多选模式
resultField: 'list', // 根据API返回结构调整
labelField: 'accessName',
valueField: 'accessCode',
api: async () => {
const params: AccessControlQuery = {
pageNum: 1,
pageSize: 500,
};
const res = await accessControlList(params);
return res.rows;
},
},
},*/
];