顺序优化
This commit is contained in:
parent
7875e37bd1
commit
ac689b9548
|
|
@ -1565,6 +1565,14 @@ const Meeting: React.FC = () => {
|
||||||
postOpenCamera(!item.enableCamera, item.uid)
|
postOpenCamera(!item.enableCamera, item.uid)
|
||||||
}}
|
}}
|
||||||
>{item.enableCamera ? '关闭视频' : '打开视频'}</Button> : null}
|
>{item.enableCamera ? '关闭视频' : '打开视频'}</Button> : null}
|
||||||
|
{item.uid !== user.uid ? <Button
|
||||||
|
type="primary"
|
||||||
|
className='m-ant-btn'
|
||||||
|
size={'small'}
|
||||||
|
onClick={() => {
|
||||||
|
equipmentManagement(item.uid, item.userName)
|
||||||
|
}}
|
||||||
|
>设备管理</Button> : null}
|
||||||
{item.uid !== user.uid ? <Button
|
{item.uid !== user.uid ? <Button
|
||||||
type="primary"
|
type="primary"
|
||||||
style={{ backgroundColor: '#EC3C3C' }}
|
style={{ backgroundColor: '#EC3C3C' }}
|
||||||
|
|
@ -1574,14 +1582,6 @@ const Meeting: React.FC = () => {
|
||||||
getRoomKickout(state.channelId, item.uid, item.userName)
|
getRoomKickout(state.channelId, item.uid, item.userName)
|
||||||
}}
|
}}
|
||||||
>移出会议</Button> : null}
|
>移出会议</Button> : null}
|
||||||
{item.uid !== user.uid ? <Button
|
|
||||||
type="primary"
|
|
||||||
className='m-ant-btn'
|
|
||||||
size={'small'}
|
|
||||||
onClick={() => {
|
|
||||||
equipmentManagement(item.uid, item.userName)
|
|
||||||
}}
|
|
||||||
>设备管理</Button> : null}
|
|
||||||
</div>
|
</div>
|
||||||
}>
|
}>
|
||||||
<div className={styles.meetingContentOperation}>
|
<div className={styles.meetingContentOperation}>
|
||||||
|
|
@ -1747,23 +1747,23 @@ const Meeting: React.FC = () => {
|
||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
>{item.isRoomManager ? '取消发言人' : '设为发言人'}</Button> : null}
|
>{item.isRoomManager ? '取消发言人' : '设为发言人'}</Button> : null}
|
||||||
<Button
|
|
||||||
type="primary"
|
|
||||||
style={{ backgroundColor: '#EC3C3C', width: '100%' }}
|
|
||||||
size={'small'}
|
|
||||||
onClick={() => {
|
|
||||||
getRoomKickout(state.channelId, item.uid, item.userName)
|
|
||||||
}}
|
|
||||||
>移出会议</Button>
|
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
className='m-ant-btn'
|
className='m-ant-btn'
|
||||||
style={{ marginTop: '10px', width: '100%' }}
|
style={{ width: '100%' }}
|
||||||
size={'small'}
|
size={'small'}
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
equipmentManagement(item.uid, item.userName)
|
equipmentManagement(item.uid, item.userName)
|
||||||
}}
|
}}
|
||||||
>设备管理</Button>
|
>设备管理</Button>
|
||||||
|
<Button
|
||||||
|
type="primary"
|
||||||
|
style={{ backgroundColor: '#EC3C3C', width: '100%', marginTop: '10px' }}
|
||||||
|
size={'small'}
|
||||||
|
onClick={() => {
|
||||||
|
getRoomKickout(state.channelId, item.uid, item.userName)
|
||||||
|
}}
|
||||||
|
>移出会议</Button>
|
||||||
</div>
|
</div>
|
||||||
}>
|
}>
|
||||||
<EllipsisOutlined style={{
|
<EllipsisOutlined style={{
|
||||||
|
|
@ -1887,6 +1887,14 @@ const Meeting: React.FC = () => {
|
||||||
})
|
})
|
||||||
}}
|
}}
|
||||||
>{roomUserItem.enableCamera ? '关闭视频' : '打开视频'}</Button> : null}
|
>{roomUserItem.enableCamera ? '关闭视频' : '打开视频'}</Button> : null}
|
||||||
|
{roomUserItem.uid !== user.uid ? <Button
|
||||||
|
type="primary"
|
||||||
|
className='m-ant-btn'
|
||||||
|
size={'small'}
|
||||||
|
onClick={() => {
|
||||||
|
equipmentManagement(roomUserItem.uid, roomUserItem.userName)
|
||||||
|
}}
|
||||||
|
>设备管理</Button> : null}
|
||||||
{roomUserItem.uid !== user.uid ? <Button
|
{roomUserItem.uid !== user.uid ? <Button
|
||||||
type="primary"
|
type="primary"
|
||||||
style={{ backgroundColor: '#EC3C3C' }}
|
style={{ backgroundColor: '#EC3C3C' }}
|
||||||
|
|
@ -1896,14 +1904,6 @@ const Meeting: React.FC = () => {
|
||||||
getRoomKickout(state.channelId, roomUserItem.uid, roomUserItem.userName)
|
getRoomKickout(state.channelId, roomUserItem.uid, roomUserItem.userName)
|
||||||
}}
|
}}
|
||||||
>移出会议</Button> : null}
|
>移出会议</Button> : null}
|
||||||
{roomUserItem.uid !== user.uid ? <Button
|
|
||||||
type="primary"
|
|
||||||
className='m-ant-btn'
|
|
||||||
size={'small'}
|
|
||||||
onClick={() => {
|
|
||||||
equipmentManagement(roomUserItem.uid, roomUserItem.userName)
|
|
||||||
}}
|
|
||||||
>设备管理</Button> : null}
|
|
||||||
</div> : <div style={{ color: 'white' }}>用户不在房间内</div>
|
</div> : <div style={{ color: 'white' }}>用户不在房间内</div>
|
||||||
}>
|
}>
|
||||||
<div>
|
<div>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue