From 65712e46c1139507a07f26239e25b4ae240870ff Mon Sep 17 00:00:00 2001 From: yj <1336058017@qq.com> Date: Wed, 21 Aug 2024 17:05:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=9A=E8=AE=AE=E7=9B=91=E6=8E=A7&=E5=8F=91?= =?UTF-8?q?=E8=A8=80=E6=9D=83=E9=99=90=E6=8E=A7=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/Meeting/index.tsx | 30 ++++++++++++++++++++++++------ 1 file changed, 24 insertions(+), 6 deletions(-) diff --git a/src/page/Meeting/index.tsx b/src/page/Meeting/index.tsx index 4e93763..6161a01 100644 --- a/src/page/Meeting/index.tsx +++ b/src/page/Meeting/index.tsx @@ -1558,9 +1558,9 @@ const Meeting: React.FC = () => { return (
{item.map((row, rowIndex) => { - return ( - row.title === '结束' ? - {user.roleId === '1' ? @@ -1594,8 +1594,26 @@ const Meeting: React.FC = () => { {row.title}
- : -
changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}> + + case '申请发言': + case '结束发言': + if (user.roleId !== '1') { + return
changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}> + + {row.title} +
+ } + return null + case '会议监控': + if (user.roleId === '1') { + return
changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}> + + {row.title} +
+ } + return null + default: + return
changeStatusList(row, itemIndex, rowIndex)} key={rowIndex}> {row.title} {row.title === '成员列表' ?
{roomUserList.filter((item: any) => item.isRoom).length}
: null} @@ -1606,7 +1624,7 @@ const Meeting: React.FC = () => { }} >{noViewChatList}
: null}
- ) + } })} )