diff --git a/web/client/src/components/index.js b/web/client/src/components/index.js index bc7bb060..1971df6c 100644 --- a/web/client/src/components/index.js +++ b/web/client/src/components/index.js @@ -4,7 +4,6 @@ import Upload from './Upload'; import NoResource from './no-resource'; import LimitTextArea from './limit-textarea'; -import ProcessForm from './process_form' import FlowRecordTable from './flowRecordTable' import Table from './table' import Search from './search' @@ -16,7 +15,6 @@ export { Upload, NoResource, LimitTextArea, - ProcessForm, FlowRecordTable, Table, Search, diff --git a/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js b/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js index 6b708e43..c73ad5a4 100644 --- a/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js +++ b/web/client/src/sections/quanju/containers/footer/conserve/right/right-top.js @@ -69,7 +69,7 @@ const RightTop = (props) => { setNum() }}> {beijing == index ? : ""} - {beijing == index ? : ""} + {beijing == index ? : ""}
{item?.user?.name || '--'}
{item.road ? item.road : "--"}
@@ -84,7 +84,16 @@ const RightTop = (props) => {
diff --git a/web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js b/web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js index 3b76e4bf..872032b3 100644 --- a/web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js +++ b/web/client/src/sections/quanju/containers/footer/leadership/left/left-center.js @@ -2,10 +2,10 @@ import React, { useEffect, useState } from 'react' import Module from '../../../public/module' import Lunbo from "../right/lunbo" import { connect } from 'react-redux' +import { YSIframePlayer } from '../../../../../../components' // import "./left.less" const Leftcenter = ({ videoCenterList }) => { - console.log(videoCenterList); const style = { height: "30%", marginTop: "5%" } // const hualun = "auto" const [num, setNum] = useState(1); @@ -31,10 +31,10 @@ const Leftcenter = ({ videoCenterList }) => { const timer = setInterval(() => { if (num == list.length) { setNum(1); - setTu(list[0].img); + // setTu(list[0].img); } else { setNum(num + 1); - setTu(list[num].img); + // setTu(list[num].img); } }, 2000 * 10); return () => clearInterval(timer); @@ -77,10 +77,24 @@ const Leftcenter = ({ videoCenterList }) => {
-
{item.name}
-{item.name}
-{item.deviceName}
+{item.deviceSerial}
+ +监控总数
129
-在线率
88.87%
-监控总数
{videoCenterList.length}
+在线率
+ { + videoCenterList.length ? + ((videoCenterList.filter(v => v.status == 1).length / videoCenterList.length) * 100).toFixed(0) : '100' + }%
+{title || ''}
*/} + + 离线详情 + +{title || ''}
*/} - - 离线详情 - -