yangjie #41

Merged
yangqiang merged 20 commits from yangjie into master 2024-12-11 14:52:08 +08:00
1 changed files with 39 additions and 20 deletions
Showing only changes of commit cb1593a76f - Show all commits

View File

@ -435,27 +435,31 @@ const Meeting: React.FC = () => {
if (!data) {
setIsScreenCapture(bool => {
if (!bool) {
confirm({
title: '提示',
icon: <ExclamationCircleFilled />,
content: `是否录制本次会议?`,
centered: true,
okText: '确定',
cancelText: '取消',
async onOk() {
if (stateInfo) {
changeStatusList({
title: '录制'
}, 1, 3)
} else {
message.error('当前不在会议室!')
if (role.ID.includes(userInfo.roleId)) {
confirm({
title: '提示',
icon: <ExclamationCircleFilled />,
content: `是否录制本次会议?`,
centered: true,
okText: '确定',
cancelText: '取消',
async onOk() {
if (stateInfo) {
changeStatusList({
title: '录制'
}, 1, 3)
} else {
message.error('当前不在会议室!')
}
showSingIn()
},
onCancel() {
showSingIn()
}
showSingIn()
},
onCancel() {
showSingIn()
}
})
})
} else {
showSingIn()
}
}
return bool
})
@ -2851,6 +2855,21 @@ const Meeting: React.FC = () => {
</label>
<span>{row.title}</span>
</div>
case '录制':
case '录制中':
if (role.ID.includes(user.roleId)) {
return <div
className='drag'
onClick={() => changeStatusList(row, itemIndex, rowIndex)}
onMouseDown={() => changeFooterListSelect(row, itemIndex, rowIndex, true)}
onMouseUp={() => changeFooterListSelect(row, itemIndex, rowIndex, false)}
onMouseLeave={() => changeFooterListSelect(row, itemIndex, rowIndex, false)}
key={rowIndex}>
{row.select ? <img src={row.iconSelect} alt="" /> : <img src={row.active ? row.iconActive : row.icon} alt="" />}
<span>{row.title}</span>
</div>
}
return null
default:
return <div
className='drag'