You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1011 B
30 lines
1011 B
import React, { useState, useEffect } from 'react';
|
|
import { connect } from 'react-redux';
|
|
import { getAssess, delAssess, editAssess } from '../actions/assess';
|
|
import ProTable from '@ant-design/pro-table';
|
|
import AssessModal from '../components/assessModal';
|
|
import { Form, Space, DatePicker, Button, Select, Popconfirm } from 'antd'
|
|
import moment from 'moment';
|
|
|
|
function VideoCenter (props) {
|
|
const { dispatch, vcmpWebUrl, vcmpMirrorId } = props;
|
|
|
|
useEffect(() => {
|
|
return () => { };
|
|
}, []);
|
|
|
|
return (
|
|
<div>
|
|
<iframe allowFullScreen src={`${vcmpWebUrl}/callService?mid=${vcmpMirrorId}`} style={{ height: 'calc(100vh - 142px)', width: '100%', display: 'block' }} frameBorder={0}></iframe>
|
|
</div>
|
|
);
|
|
}
|
|
function mapStateToProps (state) {
|
|
const { auth, global } = state
|
|
return {
|
|
user: auth.user,
|
|
vcmpWebUrl: global.vcmpWebUrl,
|
|
vcmpMirrorId: global.vcmpMirrorId,
|
|
}
|
|
}
|
|
export default connect(mapStateToProps)(VideoCenter);
|