Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-live
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-live
Commits
cada09d0
提交
cada09d0
authored
4月 22, 2021
作者:
pengxiaohui
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
修改会议回填管理员
上级
3dbb2223
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
29 行增加
和
14 行删除
+29
-14
index.vue
src/pages/meeting/tencent-meeting/index.vue
+29
-14
没有找到文件。
src/pages/meeting/tencent-meeting/index.vue
浏览文件 @
cada09d0
...
@@ -130,7 +130,7 @@
...
@@ -130,7 +130,7 @@
<el-select
<el-select
style=
"width: 100%"
style=
"width: 100%"
v-model=
"form.managers"
v-model=
"form.managers"
placeholder=
"
选择管理员
"
placeholder=
"
请输入关键字搜索
"
size=
"small"
size=
"small"
multiple
multiple
filterable
filterable
...
@@ -229,7 +229,6 @@ export default {
...
@@ -229,7 +229,6 @@ export default {
const
nowDate
=
getYMDByDate
(
now
)
const
nowDate
=
getYMDByDate
(
now
)
const
startDateChecked
=
(
rule
,
value
,
callback
)
=>
{
const
startDateChecked
=
(
rule
,
value
,
callback
)
=>
{
if
(
value
)
{
if
(
value
)
{
console
.
log
(
value
)
const
timestamp
=
Date
.
parse
(
value
)
const
timestamp
=
Date
.
parse
(
value
)
if
(
timestamp
<
Date
.
now
()
-
DAY_TIMESTAMP
)
{
if
(
timestamp
<
Date
.
now
()
-
DAY_TIMESTAMP
)
{
callback
(
new
Error
(
'开始时间必须大于当前时间'
))
callback
(
new
Error
(
'开始时间必须大于当前时间'
))
...
@@ -273,6 +272,7 @@ export default {
...
@@ -273,6 +272,7 @@ export default {
until_type
:
0
,
until_type
:
0
,
until_date
:
''
,
until_date
:
''
,
until_count
:
7
,
until_count
:
7
,
managers
:
[],
hasPwd
:
false
,
hasPwd
:
false
,
password
:
''
,
password
:
''
,
auto_in_waiting_room
:
false
,
auto_in_waiting_room
:
false
,
...
@@ -636,6 +636,11 @@ export default {
...
@@ -636,6 +636,11 @@ export default {
this
.
form
.
live_password
=
liveConfig
.
live_password
this
.
form
.
live_password
=
liveConfig
.
live_password
this
.
form
.
enable_live_im
=
liveConfig
.
enable_live_im
this
.
form
.
enable_live_im
=
liveConfig
.
enable_live_im
}
}
if
(
Array
.
isArray
(
details
.
managers
)
&&
details
.
managers
.
length
>
0
)
{
const
_managers
=
details
.
managers
.
map
(
it
=>
it
.
user_id
)
this
.
form
.
managers
=
_managers
;
this
.
userList
=
details
.
managers
}
}
,
}
,
async
showMeetingDetails
(
obj
)
{
async
showMeetingDetails
(
obj
)
{
const
loading
=
this
.
$loading
({
const
loading
=
this
.
$loading
({
...
@@ -671,10 +676,17 @@ export default {
...
@@ -671,10 +676,17 @@ export default {
}
).
catch
()
}
).
catch
()
}
,
}
,
fetchUserList
(
val
)
{
fetchUserList
(
val
)
{
if
(
val
)
{
if
(
!
val
)
return
const
params
=
{
let
params
=
{
}
;
if
(
typeof
val
===
'string'
)
{
params
=
{
nickname
:
val
}
}
else
{
params
=
{
nickname
:
val
nickname
:
val
}
}
}
this
.
searchUsersloading
=
true
this
.
searchUsersloading
=
true
searchUserList
(
params
)
searchUserList
(
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
@@ -684,7 +696,6 @@ export default {
...
@@ -684,7 +696,6 @@ export default {
}
}
}
)
}
)
.
catch
(()
=>
{
}
)
.
catch
(()
=>
{
}
)
}
}
,
}
,
getSubmitParams
()
{
getSubmitParams
()
{
const
form
=
this
.
form
const
form
=
this
.
form
...
@@ -696,12 +707,6 @@ export default {
...
@@ -696,12 +707,6 @@ export default {
end_time
:
dateFormat
(
this
.
endTimestamp
),
end_time
:
dateFormat
(
this
.
endTimestamp
),
password
:
form
.
password
,
password
:
form
.
password
,
meeting_type
:
form
.
meeting_type
,
meeting_type
:
form
.
meeting_type
,
recurring_rule
:
{
recurring_type
:
form
.
recurring_type
,
until_type
:
form
.
until_type
,
until_date
:
form
.
until_type
?
undefined
:
parseInt
(
form
.
until_date
/
1000
),
until_count
:
form
.
until_type
?
form
.
until_count
:
undefined
}
,
settings
:
{
settings
:
{
mute_enable_join
:
form
.
mute_enable_join
,
mute_enable_join
:
form
.
mute_enable_join
,
auto_in_waiting_room
:
form
.
auto_in_waiting_room
,
auto_in_waiting_room
:
form
.
auto_in_waiting_room
,
...
@@ -709,14 +714,24 @@ export default {
...
@@ -709,14 +714,24 @@ export default {
auto_record_type
:
form
.
auto_record
?
form
.
auto_record_type
:
'none'
auto_record_type
:
form
.
auto_record
?
form
.
auto_record_type
:
'none'
}
,
}
,
enable_live
:
form
.
enable_live
,
enable_live
:
form
.
enable_live
,
live_config
:
{
managers
:
form
.
managers
.
length
>
0
?
form
.
managers
:
[
this
.
user
.
id
]
}
if
(
form
.
meeting_type
===
1
)
{
params
.
recurring_rule
=
{
recurring_type
:
form
.
recurring_type
,
until_type
:
form
.
until_type
,
until_date
:
form
.
until_type
?
undefined
:
parseInt
(
form
.
until_date
/
1000
),
until_count
:
form
.
until_type
?
form
.
until_count
:
undefined
}
}
if
(
form
.
enable_live
)
{
params
.
live_config
=
{
live_subject
:
form
.
live_subject
,
live_subject
:
form
.
live_subject
,
live_summary
:
form
.
live_summary
,
live_summary
:
form
.
live_summary
,
enable_live_password
:
form
.
enable_live_password
,
enable_live_password
:
form
.
enable_live_password
,
live_password
:
form
.
enable_live_password
?
form
.
live_password
:
undefined
,
live_password
:
form
.
enable_live_password
?
form
.
live_password
:
undefined
,
enable_live_im
:
form
.
enable_live_im
enable_live_im
:
form
.
enable_live_im
}
,
}
managers
:
form
.
managers
.
length
>
0
?
form
.
managers
:
[
this
.
user
.
id
]
}
}
return
params
return
params
}
,
}
,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论