This commit is contained in:
parent
75a142d3be
commit
f6539d30f8
|
|
@ -434,7 +434,7 @@ const Meeting: React.FC = () => {
|
|||
reader.onload = async () => {
|
||||
const setting = await JSON.parse(storage.getItem('setting') as string)
|
||||
const buffer = Buffer.from(reader.result);
|
||||
await fs.writeFile(`会议录制_${setting.recordingFilesPath}${state.roomName}_${state.channelId}_${+new Date()}.mp4`, buffer, {});
|
||||
await fs.writeFile(`${setting.recordingFilesPath}会议录制_${state.roomName}_${state.channelId}_${+new Date()}.mp4`, buffer, {});
|
||||
confirm({
|
||||
title: '提示',
|
||||
icon: <ExclamationCircleFilled />,
|
||||
|
|
@ -1538,12 +1538,12 @@ const Meeting: React.FC = () => {
|
|||
</div>
|
||||
{
|
||||
(statusList.userList || statusList.userChatList) ? (
|
||||
<div className={styles.meetingContentBodyRight}>
|
||||
<div className={`${styles.meetingContentBodyRight} drag`}>
|
||||
{statusList.userList ?
|
||||
<div className={styles.meetingUserList}>
|
||||
<div className={styles.meetingUserListTitle}>
|
||||
<span>成员列表</span>
|
||||
<img src={ImageUrl.icon18} alt="" className='drag' onClick={() => {
|
||||
<img src={ImageUrl.icon18} alt="" onClick={() => {
|
||||
setStatusList({
|
||||
userList: false,
|
||||
userChatList: false,
|
||||
|
|
@ -1553,7 +1553,6 @@ const Meeting: React.FC = () => {
|
|||
<div style={{ padding: '0 14px', boxSizing: 'border-box' }}>
|
||||
<Input
|
||||
placeholder="请输入用户名"
|
||||
className='drag'
|
||||
prefix={<SearchOutlined style={{ color: 'white' }} />}
|
||||
value={userSearchValue}
|
||||
onChange={(e) => {
|
||||
|
|
@ -1577,7 +1576,7 @@ const Meeting: React.FC = () => {
|
|||
<div className={styles.meetingUserListContent}>
|
||||
{roomUserList.map((item: any, index: number) => {
|
||||
return (
|
||||
item.isShow && item.isRoom ? <div key={index + item.uid} className='drag'>
|
||||
item.isShow && item.isRoom ? <div key={index + item.uid}>
|
||||
<div>
|
||||
<div><Avatar name={item.userName} /></div>
|
||||
<span>
|
||||
|
|
@ -1602,7 +1601,7 @@ const Meeting: React.FC = () => {
|
|||
</div> : null}
|
||||
{item.uid !== user.uid && user.roleId === '1' ? <div>
|
||||
<Popover placement="left" title={''} content={
|
||||
<div className='drag'>
|
||||
<div>
|
||||
{item.roleId !== '1' ? <Button
|
||||
type="primary"
|
||||
className='m-ant-btn'
|
||||
|
|
@ -1646,7 +1645,7 @@ const Meeting: React.FC = () => {
|
|||
}
|
||||
)}
|
||||
</div>
|
||||
<div className={`${styles.meetingUserListFooter} drag`}>
|
||||
<div className={`${styles.meetingUserListFooter}`}>
|
||||
<div onClick={async () => {
|
||||
await getUserRoomInfo().then(async (res) => {
|
||||
if (res) {
|
||||
|
|
@ -1663,7 +1662,7 @@ const Meeting: React.FC = () => {
|
|||
<div className={styles.meetingUserChat} id='meetingUserChat'>
|
||||
<div className={styles.meetingUserChatTitle}>
|
||||
<span>聊天</span>
|
||||
<img src={ImageUrl.icon18} alt="" className='drag' onClick={() => {
|
||||
<img src={ImageUrl.icon18} alt="" onClick={() => {
|
||||
setStatusList({
|
||||
userList: false,
|
||||
userChatList: false,
|
||||
|
|
@ -1674,7 +1673,7 @@ const Meeting: React.FC = () => {
|
|||
{chatList.map((item: any, index: number) =>
|
||||
<div
|
||||
key={index}
|
||||
className={`${item.uid !== user.uid ? styles.meetingUserChatContentLeft : styles.meetingUserChatContentRight} drag`}>
|
||||
className={`${item.uid !== user.uid ? styles.meetingUserChatContentLeft : styles.meetingUserChatContentRight}`}>
|
||||
{user.roleId === '1' ? <Popover
|
||||
placement="bottom"
|
||||
title={''}
|
||||
|
|
@ -1784,7 +1783,7 @@ const Meeting: React.FC = () => {
|
|||
</div>
|
||||
)}
|
||||
</div>
|
||||
<div className={`${styles.meetingUserChatButton} drag`}>
|
||||
<div className={`${styles.meetingUserChatButton}`}>
|
||||
{
|
||||
commonlyChatList.map((item: string, index: number) => {
|
||||
return <Button
|
||||
|
|
@ -1798,7 +1797,7 @@ const Meeting: React.FC = () => {
|
|||
})
|
||||
}
|
||||
</div>
|
||||
<div className={`${styles.meetingUserChatInput} drag`}>
|
||||
<div className={`${styles.meetingUserChatInput}`}>
|
||||
<Input.TextArea placeholder="请输入消息" value={textMsg} style={{ flexGrow: 1 }} onChange={(e) => {
|
||||
setTextMsg(e.target.value)
|
||||
}}></Input.TextArea>
|
||||
|
|
|
|||
Loading…
Reference in New Issue