|
|
@ -93,7 +93,7 @@ const Carrierpigeon = (props) => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "设备名称", |
|
|
|
title: "策略名称", |
|
|
|
dataIndex: "name", |
|
|
|
render: (_, r, index) => { |
|
|
|
console.log(r); |
|
|
@ -101,10 +101,19 @@ const Carrierpigeon = (props) => { |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "SIP地址", |
|
|
|
title: "监听设备数量", |
|
|
|
dataIndex: "owner", |
|
|
|
render: (_, r, index) => { |
|
|
|
return r?.gbNvr?.sipip |
|
|
|
console.log(r); |
|
|
|
return r.name |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "累计推送次数", |
|
|
|
dataIndex: "owner", |
|
|
|
render: (_, r, index) => { |
|
|
|
console.log(r); |
|
|
|
return (r.name + '次') |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
@ -115,7 +124,7 @@ const Carrierpigeon = (props) => { |
|
|
|
return ( |
|
|
|
<div style={{ display: "flex" }}> |
|
|
|
<Button theme="borderless"> |
|
|
|
启用 |
|
|
|
修改 |
|
|
|
</Button> |
|
|
|
<Button |
|
|
|
theme="borderless" |
|
|
@ -124,7 +133,7 @@ const Carrierpigeon = (props) => { |
|
|
|
setRowId(row.id); |
|
|
|
}} |
|
|
|
> |
|
|
|
释义 |
|
|
|
禁用 |
|
|
|
</Button> |
|
|
|
<Popconfirm |
|
|
|
title="删除NVR会删除端口下的所有摄像头,是否确定删除?" |
|
|
@ -141,8 +150,14 @@ const Carrierpigeon = (props) => { |
|
|
|
}); |
|
|
|
}} |
|
|
|
> |
|
|
|
<Button theme="borderless">方案</Button> |
|
|
|
<Button theme="borderless">删除</Button> |
|
|
|
</Popconfirm> |
|
|
|
<Button theme="borderless"> |
|
|
|
复制 |
|
|
|
</Button> |
|
|
|
<Button theme="borderless"> |
|
|
|
日志 |
|
|
|
</Button> |
|
|
|
</div> |
|
|
|
); |
|
|
|
}, |
|
|
@ -157,7 +172,7 @@ const Carrierpigeon = (props) => { |
|
|
|
|
|
|
|
const column = [ |
|
|
|
{ |
|
|
|
title: "设备厂家", |
|
|
|
title: "策略类型", |
|
|
|
dataIndex: "venderId", |
|
|
|
key: "manufactor", |
|
|
|
render: (_, r, index) => { |
|
|
@ -184,7 +199,7 @@ const Carrierpigeon = (props) => { |
|
|
|
key: "port", |
|
|
|
}, |
|
|
|
{ |
|
|
|
title: "设备状态", |
|
|
|
title: "推送机制", |
|
|
|
dataIndex: "size", |
|
|
|
key: "state", |
|
|
|
render: (_, r, index) => { |
|
|
@ -519,7 +534,7 @@ const Carrierpigeon = (props) => { |
|
|
|
}} |
|
|
|
> |
|
|
|
<span style={{ lineHeight: "30px" }}> |
|
|
|
共{equipmentWarehouseNvr.total}个设备 |
|
|
|
共{equipmentWarehouseNvr.total}条策略 |
|
|
|
</span> |
|
|
|
<Pagination |
|
|
|
total={equipmentWarehouseNvr.total} |
|
|
|