|
|
@ -138,7 +138,7 @@ const DetailForm = (props) => { |
|
|
|
{ |
|
|
|
data[obj.name] && data[obj.name] instanceof Array ? data[obj.name].map(videoUrl => { |
|
|
|
return <div style={{ width: '44%', margin: 6 }}> |
|
|
|
<video width={'100%'} style={{ marginBottom: 4 }} > |
|
|
|
<video controls width={'100%'} style={{ marginBottom: 4 }} > |
|
|
|
<source src={qndmn + '/' + videoUrl} type="video/mp4" /> |
|
|
|
</video> |
|
|
|
</div> |
|
|
@ -856,7 +856,7 @@ const PatrolTable = (props) => { |
|
|
|
); |
|
|
|
}; |
|
|
|
|
|
|
|
function mapStateToProps(state) { |
|
|
|
function mapStateToProps (state) { |
|
|
|
const { auth, depMessage, userList, reportList, reportDetail, global, allDepUsers } = state; |
|
|
|
const pakData = (dep) => { |
|
|
|
return dep.map((d) => { |
|
|
|