Browse Source

检测

dev_trial
wenlele 2 years ago
parent
commit
6c9f9f7acc
  1. 4
      code/VideoAccess-VCMP/web/client/src/sections/openness/components/videoScreen.jsx
  2. 2
      code/VideoAccess-VCMP/web/client/src/sections/openness/containers/callService.jsx

4
code/VideoAccess-VCMP/web/client/src/sections/openness/components/videoScreen.jsx

@ -509,9 +509,9 @@ const VideoScreen = ({ treeData, filterGroup, videoPlay, template, headerName, s
{/* 视频 */} {/* 视频 */}
<div id='rearProjection' style={{ flex: 1, height: '100%' }}> <div id='rearProjection' style={{ flex: 1, height: '100%' }}>
<Row style={{ height: `calc( 100% - 90px)` }}> <Row style={{ height: `calc( 100% - 90px)` }}>
{playData?.slice((page - 1) * pageSize, page * pageSize)?.map(v => { {/* {playData?.slice((page - 1) * pageSize, page * pageSize)?.map(v => {
return <VideoCard key={'VideoCard' + v.key} data={v} pageSize={pageSize} showHeader={showHeader} videoPlay={videoPlay} mould={mould} /> return <VideoCard key={'VideoCard' + v.key} data={v} pageSize={pageSize} showHeader={showHeader} videoPlay={videoPlay} mould={mould} />
})} })} */}
</Row> </Row>
<div <div
style={{ style={{

2
code/VideoAccess-VCMP/web/client/src/sections/openness/containers/callService.jsx

@ -20,6 +20,7 @@ const CallService = (props) => {
useEffect(() => { useEffect(() => {
const mid = qs.parse(props.location.search.slice(1))?.mid const mid = qs.parse(props.location.search.slice(1))?.mid
dispatch(actions.openness.getMirrorMid(user?.mid || mid, { check: true })).then((r) => { dispatch(actions.openness.getMirrorMid(user?.mid || mid, { check: true })).then((r) => {
console.log(1111,r);
if (r?.success) { if (r?.success) {
let data = r?.payload?.data || {} let data = r?.payload?.data || {}
let filterGrouplist = data.filterGroup let filterGrouplist = data.filterGroup
@ -45,6 +46,7 @@ const CallService = (props) => {
} }
}) })
}, []) }, [])
return ( return (

Loading…
Cancel
Save