diff --git a/code/VideoAccess-VCMP/web/client/src/sections/offline/containers/carrierpigeon.jsx b/code/VideoAccess-VCMP/web/client/src/sections/offline/containers/carrierpigeon.jsx index e86ffea..7673517 100644 --- a/code/VideoAccess-VCMP/web/client/src/sections/offline/containers/carrierpigeon.jsx +++ b/code/VideoAccess-VCMP/web/client/src/sections/offline/containers/carrierpigeon.jsx @@ -44,7 +44,7 @@ const Carrierpigeon = (props) => { localStorage.getItem(PIGEON) == null ? localStorage.setItem( PIGEON, - JSON.stringify(["manufactor", "type","state","support"]) + JSON.stringify(["manufactor", "type", "state", "support"]) ) : ""; }, []); @@ -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 (
{ }); }} > - + + +
); }, @@ -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) => { }} > - 共{equipmentWarehouseNvr.total}个设备 + 共{equipmentWarehouseNvr.total}条策略