Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
C
center-resource
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
center-resource
Commits
e293bb5e
提交
e293bb5e
authored
7月 06, 2022
作者:
matian
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
updates
上级
01b5c5a9
隐藏空白字符变更
内嵌
并排
正在显示
3 个修改的文件
包含
3 行增加
和
5 行删除
+3
-5
AddLiveDialog.vue
...rse/create/components/stepTwoComponents/AddLiveDialog.vue
+1
-4
AddSectionDialog.vue
.../create/components/stepTwoComponents/AddSectionDialog.vue
+1
-1
StepTwo.vue
src/modules/course/create/views/StepTwo.vue
+1
-0
没有找到文件。
src/modules/course/create/components/stepTwoComponents/AddLiveDialog.vue
浏览文件 @
e293bb5e
...
...
@@ -72,10 +72,8 @@ const handleConfirm = () => {
}
const
loading
=
ref
(
false
)
// 直播选中的值
// const lecturerValue = ref('')
// 所有被搜索出来的值
const
allLecturers
:
any
=
ref
([])
const
handleLiveList
=
(
query
:
string
)
=>
{
if
(
query
)
{
loading
.
value
=
true
...
...
@@ -104,7 +102,6 @@ const changeLive = (val: any) => {
<
template
>
<el-dialog
:model-value=
"isShowLiveDialog"
draggable
:before-close=
"handleCancel"
width=
"30%"
title=
"添加直播"
>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"ruleFormRef"
label-width=
"120px"
>
{{
form
.
resource_id
}}
<el-form-item
props=
"form.resource_id"
label=
"直播名称:"
>
<el-select
v-model=
"form.resource_id"
...
...
@@ -114,7 +111,7 @@ const changeLive = (val: any) => {
placeholder=
"请输入直播名称或者直播id"
:remote-method=
"handleLiveList"
:loading=
"loading"
style=
"width: 2
0
0px"
style=
"width: 2
3
0px"
@
change=
"changeLive"
>
<el-option
v-for=
"item in liveList"
:key=
"item.id"
:label=
"item.subject"
:value=
"item.id"
/>
...
...
src/modules/course/create/components/stepTwoComponents/AddSectionDialog.vue
浏览文件 @
e293bb5e
...
...
@@ -76,7 +76,7 @@ onMounted(() => {
draggable
:before-close=
"handleCancel"
width=
"25%"
:title=
"props.isEdit ? '编辑:节' : '新增:节'"
:title=
"props.isEdit
=== true
? '编辑:节' : '新增:节'"
>
<el-form
:model=
"form"
:rules=
"rules"
ref=
"ruleFormRef"
label-width=
"80px"
>
<el-form-item
label=
"所属章:"
prop=
"chapterName"
>
...
...
src/modules/course/create/views/StepTwo.vue
浏览文件 @
e293bb5e
...
...
@@ -82,6 +82,7 @@ const handleAddSection = (node: any) => {
chapterName
.
value
=
node
.
label
chapterID
.
value
=
node
.
key
isShowSectionDialog
.
value
=
true
isEdit
.
value
=
false
}
//编辑章节
const
handleEdit
=
(
node
:
any
)
=>
{
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论