Skip to content
项目
群组
代码片段
帮助
正在加载...
帮助
提交反馈
为 GitLab 提交贡献
登录
切换导航
P
pica.cloud.web-education-admin
项目
项目
详情
动态
版本
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
成员
成员
收起侧边栏
Close sidebar
动态
分支图
统计图
提交
打开侧边栏
com.pica.cloud.education.frontend
pica.cloud.web-education-admin
提交
3184d5a8
提交
3184d5a8
编写于
6月 29, 2020
作者:
guangjun.yang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
初始化kind参数
上级
dcf8f3fd
变更
6
隐藏空白字符变更
内嵌
并排
正在显示
6 个修改的文件
包含
14 行增加
和
11 行删除
+14
-11
edit-course-dialog.vue
...mponents/education/custom-resource/edit-course-dialog.vue
+3
-2
course-select-org.vue
src/components/education/custom/course-select-org.vue
+2
-2
course-select.vue
src/components/education/custom/course-select.vue
+3
-5
global.scss
src/style/global.scss
+3
-0
edit-custom.vue
src/views/education/edit-custom.vue
+1
-1
item-manager.vue
src/views/education/item-manager.vue
+2
-1
未找到文件。
src/components/education/custom-resource/edit-course-dialog.vue
浏览文件 @
3184d5a8
...
@@ -55,6 +55,7 @@
...
@@ -55,6 +55,7 @@
<!-- :props="
{ expandTrigger: 'hover' }" -->
<!-- :props="
{ expandTrigger: 'hover' }" -->
<el-cascader
<el-cascader
style=
"width: 360px"
style=
"width: 360px"
size=
"small"
v-model=
"formData.subjectIdList"
v-model=
"formData.subjectIdList"
:options=
"labelOptions"
:options=
"labelOptions"
:props=
"
{ value: 'id', label: 'name', children: 'subList'}"
:props=
"
{ value: 'id', label: 'name', children: 'subList'}"
...
@@ -87,7 +88,7 @@
...
@@ -87,7 +88,7 @@
:show-file-list="false"
:show-file-list="false"
:disabled="needShowUploadProcess || (formData.courseCustomChapterModels[0].courseCustomLectureModelList.length >= orgCourseInfo.limitModel.maxLimitVideoCount)"
:disabled="needShowUploadProcess || (formData.courseCustomChapterModels[0].courseCustomLectureModelList.length >= orgCourseInfo.limitModel.maxLimitVideoCount)"
>
>
<el-button
slot=
"trigger"
ref=
"uploadFileBtn"
size=
"small"
type=
"primary"
><img
style=
"width:12px;height:12px;position:relative;top:1px;"
src=
"../../../assets/image/phrase3/icon-upload.png"
/>
<span
style=
"font-size:14px;"
>
上传文件
</span></el-button>
<el-button
slot=
"trigger"
ref=
"uploadFileBtn"
type=
"primary"
><img
style=
"width:12px;height:12px;position:relative;top:1px;"
src=
"../../../assets/image/phrase3/icon-upload.png"
/>
<span
style=
"font-size:14px;"
>
上传文件
</span></el-button>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<div
slot=
"tip"
class=
"el-upload__tip"
>
<span
class=
"upload-tips"
>
只支持MP4格式,课程视频最多上传100个,单文件最大2G
</span>
<span
class=
"upload-tips"
>
只支持MP4格式,课程视频最多上传100个,单文件最大2G
</span>
<ul
v-show=
"formData.courseCustomChapterModels[0].courseCustomLectureModelList.length"
class=
"custom-list"
>
<ul
v-show=
"formData.courseCustomChapterModels[0].courseCustomLectureModelList.length"
class=
"custom-list"
>
...
@@ -310,7 +311,7 @@
...
@@ -310,7 +311,7 @@
<div
class=
"separator-line"
>
<div
class=
"separator-line"
>
<span
class=
"line-left"
></span>
<span
class=
"line-left"
></span>
<div
@
click=
"toggleOtherContent"
class=
"center"
>
<div
@
click=
"toggleOtherContent"
class=
"center"
>
<span>
展开更多信息
</span>
<span>
{{
isShowOtherContent
?
'收起更多信息'
:
'展开更多信息'
}}
</span>
<img
v-show=
"isShowOtherContent"
src=
"../../../assets/image/phrase3/arrow-up.png"
/>
<img
v-show=
"isShowOtherContent"
src=
"../../../assets/image/phrase3/arrow-up.png"
/>
<img
v-show=
"!isShowOtherContent"
src=
"../../../assets/image/phrase3/arrow-down.png"
/>
<img
v-show=
"!isShowOtherContent"
src=
"../../../assets/image/phrase3/arrow-down.png"
/>
</div>
</div>
...
...
src/components/education/custom/course-select-org.vue
浏览文件 @
3184d5a8
...
@@ -259,6 +259,7 @@ export default {
...
@@ -259,6 +259,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.custom-select-wrapper {
.custom-select-wrapper {
font-size: 14px;
// width: 1090px;
// width: 1090px;
user-select: none;
user-select: none;
.department-label {
.department-label {
...
@@ -321,8 +322,7 @@ export default {
...
@@ -321,8 +322,7 @@ export default {
height: 56px;
height: 56px;
line-height: 56px;
line-height: 56px;
padding-left: 20px;
padding-left: 20px;
// margin: 16px 0 16px 20px;
border-bottom: 1px dashed #e4e7ed;
border-bottom: 1px dotted #e4e7ed;
.title {
.title {
display: inline-block;
display: inline-block;
padding: 0 10px;
padding: 0 10px;
...
...
src/components/education/custom/course-select.vue
浏览文件 @
3184d5a8
...
@@ -258,6 +258,7 @@ export default {
...
@@ -258,6 +258,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.custom-select-wrapper {
.custom-select-wrapper {
font-size: 14px;
// width: 1090px;
// width: 1090px;
user-select: none;
user-select: none;
.department-label {
.department-label {
...
@@ -273,7 +274,7 @@ export default {
...
@@ -273,7 +274,7 @@ export default {
z-index: 1;
z-index: 1;
display: inline-block;
display: inline-block;
padding: 0 22px;
padding: 0 22px;
font-size: 1
6
px;
font-size: 1
4
px;
color: #666666;
color: #666666;
// &::after {
// &::after {
// position: absolute;
// position: absolute;
...
@@ -320,8 +321,7 @@ export default {
...
@@ -320,8 +321,7 @@ export default {
height: 56px;
height: 56px;
line-height: 56px;
line-height: 56px;
padding-left: 20px;
padding-left: 20px;
// margin: 16px 0 16px 20px;
border-bottom: 1px dashed #e4e7ed;
border-bottom: 1px dotted #e4e7ed;
.title {
.title {
display: inline-block;
display: inline-block;
padding: 0 10px;
padding: 0 10px;
...
@@ -360,7 +360,6 @@ export default {
...
@@ -360,7 +360,6 @@ export default {
height: 56px;
height: 56px;
line-height: 56px;
line-height: 56px;
padding-left: 20px;
padding-left: 20px;
// margin: 16px 0 16px 20px;
border-bottom: 1px dotted #e4e7ed;
border-bottom: 1px dotted #e4e7ed;
.title {
.title {
display: inline-block;
display: inline-block;
...
@@ -392,7 +391,6 @@ export default {
...
@@ -392,7 +391,6 @@ export default {
box-sizing: content-box;
box-sizing: content-box;
padding: 10px 20px;
padding: 10px 20px;
// padding-left: 20px;
// padding-left: 20px;
// margin: 16px 0 16px 20px;
border-bottom: 1px dashed #e4e7ed;
border-bottom: 1px dashed #e4e7ed;
.title {
.title {
height: 56px;
height: 56px;
...
...
src/style/global.scss
浏览文件 @
3184d5a8
...
@@ -161,6 +161,9 @@
...
@@ -161,6 +161,9 @@
}
}
}
}
.select-course-wrapper
{
.select-course-wrapper
{
.el-tabs__item
{
font-size
:
16px
;
}
.el-tabs__nav
{
.el-tabs__nav
{
margin-left
:
30px
;
margin-left
:
30px
;
}
}
...
...
src/views/education/edit-custom.vue
浏览文件 @
3184d5a8
...
@@ -238,8 +238,8 @@ export default {
...
@@ -238,8 +238,8 @@ export default {
},
},
mounted
()
{
mounted
()
{
resizeHeight
();
resizeHeight
();
this
.
getLabelList
();
this
.
initPageParams
();
this
.
initPageParams
();
this
.
getLabelList
();
},
},
methods
:
{
methods
:
{
...
mapActions
([
...
mapActions
([
...
...
src/views/education/item-manager.vue
浏览文件 @
3184d5a8
...
@@ -433,7 +433,7 @@ export default {
...
@@ -433,7 +433,7 @@ export default {
commonUtil
.
resizeHeight
();
commonUtil
.
resizeHeight
();
},
},
methods
:
{
methods
:
{
...
mapActions
([
"updateItemManager"
]),
...
mapActions
([
"updateItemManager"
,
"setKind"
]),
//跳转到报告详情页
//跳转到报告详情页
reviewReport
(
row
)
{
reviewReport
(
row
)
{
...
@@ -466,6 +466,7 @@ export default {
...
@@ -466,6 +466,7 @@ export default {
this
.
$router
.
push
(
"template-open?projectType=3&isPreview="
+
isPreview
);
this
.
$router
.
push
(
"template-open?projectType=3&isPreview="
+
isPreview
);
},
},
toEditCustomPage
(
isPreview
=
0
)
{
toEditCustomPage
(
isPreview
=
0
)
{
this
.
setKind
(
0
);
this
.
$router
.
push
(
"edit-custom?projectType=4&isPreview="
+
isPreview
);
this
.
$router
.
push
(
"edit-custom?projectType=4&isPreview="
+
isPreview
);
},
},
toShield
(
row
)
{
toShield
(
row
)
{
...
...
写
预览
Markdown
格式
0%
请重试
or
附加一个文件
附加文件
取消
您添加了
0
人
到此讨论。请谨慎行事。
先完成此消息的编辑!
取消
想要评论请
注册
或
登录