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