结束发言二次提醒
This commit is contained in:
parent
411608ce20
commit
beb847d262
|
|
@ -426,7 +426,7 @@ const Meeting: React.FC = () => {
|
||||||
>拒绝</Button>
|
>拒绝</Button>
|
||||||
</div>
|
</div>
|
||||||
</div>,
|
</div>,
|
||||||
duration: 3,
|
duration: 10,
|
||||||
placement: 'bottomRight',
|
placement: 'bottomRight',
|
||||||
showProgress: true,
|
showProgress: true,
|
||||||
pauseOnHover: false,
|
pauseOnHover: false,
|
||||||
|
|
@ -853,13 +853,6 @@ const Meeting: React.FC = () => {
|
||||||
case '申请发言':
|
case '申请发言':
|
||||||
GetApplySpeak(state.channelId)
|
GetApplySpeak(state.channelId)
|
||||||
break;
|
break;
|
||||||
case '结束发言':
|
|
||||||
DeleteRoomManager({
|
|
||||||
roomId: state.roomId,
|
|
||||||
roomNum: state.channelId,
|
|
||||||
userId: userInfo.uid
|
|
||||||
})
|
|
||||||
break;
|
|
||||||
case '会议监控':
|
case '会议监控':
|
||||||
window.electron.oepnWindow({
|
window.electron.oepnWindow({
|
||||||
url: location.origin + '/#/userVideo'
|
url: location.origin + '/#/userVideo'
|
||||||
|
|
@ -1702,7 +1695,6 @@ const Meeting: React.FC = () => {
|
||||||
</div>
|
</div>
|
||||||
</Popover>
|
</Popover>
|
||||||
case '申请发言':
|
case '申请发言':
|
||||||
case '结束发言':
|
|
||||||
if (user.roleId !== '1') {
|
if (user.roleId !== '1') {
|
||||||
return <div className='drag' onClick={() => changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}>
|
return <div className='drag' onClick={() => changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}>
|
||||||
<img src={row.active ? row.iconActive : row.icon} alt="" />
|
<img src={row.active ? row.iconActive : row.icon} alt="" />
|
||||||
|
|
@ -1710,6 +1702,28 @@ const Meeting: React.FC = () => {
|
||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
return null
|
return null
|
||||||
|
case '结束发言':
|
||||||
|
if (user.roleId !== '1') {
|
||||||
|
return <Popconfirm
|
||||||
|
title="提示"
|
||||||
|
description="确定要结束发言吗?"
|
||||||
|
onConfirm={() => {
|
||||||
|
DeleteRoomManager({
|
||||||
|
roomId: state.roomId,
|
||||||
|
roomNum: state.channelId,
|
||||||
|
userId: userInfo.uid
|
||||||
|
})
|
||||||
|
}}
|
||||||
|
okText="确定"
|
||||||
|
cancelText="取消"
|
||||||
|
>
|
||||||
|
<div className='drag' key={rowIndex}>
|
||||||
|
<img src={row.active ? row.iconActive : row.icon} alt="" />
|
||||||
|
<span>{row.title}</span>
|
||||||
|
</div>
|
||||||
|
</Popconfirm>
|
||||||
|
}
|
||||||
|
return null
|
||||||
case '会议监控':
|
case '会议监控':
|
||||||
if (user.roleId === '1') {
|
if (user.roleId === '1') {
|
||||||
return <div className='drag' onClick={() => changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}>
|
return <div className='drag' onClick={() => changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue