Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
087096f2
提交
087096f2
编写于
6月 23, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
部分bug修改等
上级
c3aa03a8
变更
5
展开全部
显示空白字符变更
内嵌
并排
正在显示
5 个修改的文件
包含
1087 行增加
和
15 行删除
+1087
-15
edit-course-dialog copy.vue
...nts/education/custom-resource/edit-course-dialog copy.vue
+1059
-0
edit-course-dialog.vue
...mponents/education/custom-resource/edit-course-dialog.vue
+25
-12
edit-custom copy 2.vue
src/views/education/edit-custom copy 2.vue
+1
-1
edit-custom copy.vue
src/views/education/edit-custom copy.vue
+1
-1
edit-custom.vue
src/views/education/edit-custom.vue
+1
-1
未找到文件。
src/components/education/custom-resource/edit-course-dialog copy.vue
0 → 100644
浏览文件 @
087096f2
此差异已折叠。
点击以展开。
src/components/education/custom-resource/edit-course-dialog.vue
浏览文件 @
087096f2
...
...
@@ -110,7 +110,7 @@
</li>
<span
v-show=
"needShowUploadProcess"
class=
"upload-process"
:style=
"
{'width': (uploadProgress/100 * 340) + 'px'}">
</span>
</ul>
<div
style=
"color:red;position:absolute;top:60px;"
v-if=
"noLecture && !formData.courseCustomChapterModels[0].courseCustomLectureModelList.length"
>
您还未上传
视频
</div>
<div
style=
"color:red;position:absolute;top:60px;"
v-if=
"noLecture && !formData.courseCustomChapterModels[0].courseCustomLectureModelList.length"
>
请上传课程
视频
</div>
<span
v-if=
"!formData.courseCustomChapterModels[0].courseCustomLectureModelList.length"
v-show=
"needShowUploadProcess"
class=
"upload-process"
:style=
"
{'width': (uploadProgress/100 * 340) + 'px'}">
</span>
</div>
</el-upload>
...
...
@@ -513,6 +513,7 @@ export default {
},
initModify
()
{
this
.
step
=
1
;
this
.
needShowAuditMsg
=
true
;
console
.
log
(
"in initModify"
);
this
.
initOrgCourseInfo
();
...
...
@@ -552,17 +553,28 @@ export default {
// 当选择医生的焦点失去时,要反选医生信息
doctorNameInputBlur
()
{
setTimeout
(()
=>
{
this
.
$nextTick
(
item
=>
{
this
.
isShowDoctorList
=
false
;
this
.
selectDoctorByName
(
this
.
formData
.
courseCustomDoctorModels
[
0
].
courseDoctorName
);
})
},
200
);
},
// 根据姓名反选医生信息
// TODO 尝试找到完全匹配的医生
selectDoctorByName
(
name
)
{
// let lectureObj = {};
let
originDoctorModelList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
orgCourseInfo
.
doctorModelList
));
let
index
=
originDoctorModelList
.
findIndex
(
item
=>
{
return
item
.
courseDoctorName
==
name
;
});
// debugger
if
(
index
>=
0
)
{
this
.
formData
.
courseCustomDoctorModels
[
0
]
=
this
.
orgCourseInfo
.
doctorModelList
[
index
];
}
// this.$forceUpdate();
},
// 选择其中一个
...
...
@@ -705,12 +717,13 @@ export default {
insertOrUpdate
()
{
this
.
POST
(
"contents/course/custom/info/insertOrUpdate"
,
this
.
formData
).
then
(
res
=>
{
if
(
res
.
code
==
"000000"
)
{
if
(
this
.
courseId
==
'0'
)
{
this
.
step
=
2
;
}
else
{
this
.
close
();
this
.
setKind
(
3
);
}
// if(this.courseId == '0') {
// this.step = 2;
// } else {
// this.close();
// this.setKind(3);
// }
}
});
},
...
...
@@ -737,7 +750,7 @@ export default {
deleteLecture
(
index
)
{
let
lectureId
=
this
.
formData
.
courseCustomChapterModels
[
0
].
courseCustomLectureModelList
[
index
].
id
;
if
(
lectureId
)
{
this
.
deleteCustomLectureIds
.
push
(
lectureId
);
this
.
formData
.
deleteCustomLectureIds
.
push
(
lectureId
);
}
this
.
formData
.
courseCustomChapterModels
[
0
].
courseCustomLectureModelList
.
splice
(
index
,
1
);
},
...
...
src/views/education/edit-custom copy 2.vue
浏览文件 @
087096f2
...
...
@@ -175,7 +175,7 @@ export default {
addOrUpdate
:
'add'
,
isPreviewProtocol
:
false
,
protocolId
:
5
,
protocolId
:
22
,
protocolContent
:
''
,
};
},
...
...
src/views/education/edit-custom copy.vue
浏览文件 @
087096f2
...
...
@@ -175,7 +175,7 @@ export default {
addOrUpdate
:
'add'
,
isPreviewProtocol
:
false
,
protocolId
:
5
,
protocolId
:
22
,
protocolContent
:
''
,
};
},
...
...
src/views/education/edit-custom.vue
浏览文件 @
087096f2
...
...
@@ -175,7 +175,7 @@ export default {
courseId
:
'0'
,
isPreviewProtocol
:
false
,
protocolId
:
5
,
protocolId
:
22
,
protocolContent
:
''
,
isFirst
:
true
,
// 是否是第一次(不做更新)
};
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录