提交 3184d5a8 编写于 作者: guangjun.yang's avatar guangjun.yang

初始化kind参数

上级 dcf8f3fd
......@@ -55,6 +55,7 @@
<!-- :props="{ expandTrigger: 'hover' }" -->
<el-cascader
style="width: 360px"
size="small"
v-model="formData.subjectIdList"
:options="labelOptions"
:props="{ value: 'id', label: 'name', children: 'subList'}"
......@@ -87,7 +88,7 @@
:show-file-list="false"
: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">
<span class="upload-tips">只支持MP4格式,课程视频最多上传100个,单文件最大2G</span>
<ul v-show="formData.courseCustomChapterModels[0].courseCustomLectureModelList.length" class="custom-list">
......@@ -310,7 +311,7 @@
<div class="separator-line">
<span class="line-left"></span>
<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-down.png" />
</div>
......
......@@ -259,6 +259,7 @@ export default {
</script>
<style lang="less" scoped>
.custom-select-wrapper {
font-size: 14px;
// width: 1090px;
user-select: none;
.department-label {
......@@ -321,8 +322,7 @@ export default {
height: 56px;
line-height: 56px;
padding-left: 20px;
// margin: 16px 0 16px 20px;
border-bottom: 1px dotted #e4e7ed;
border-bottom: 1px dashed #e4e7ed;
.title {
display: inline-block;
padding: 0 10px;
......
......@@ -258,6 +258,7 @@ export default {
</script>
<style lang="less" scoped>
.custom-select-wrapper {
font-size: 14px;
// width: 1090px;
user-select: none;
.department-label {
......@@ -273,7 +274,7 @@ export default {
z-index: 1;
display: inline-block;
padding: 0 22px;
font-size: 16px;
font-size: 14px;
color: #666666;
// &::after {
// position: absolute;
......@@ -320,8 +321,7 @@ export default {
height: 56px;
line-height: 56px;
padding-left: 20px;
// margin: 16px 0 16px 20px;
border-bottom: 1px dotted #e4e7ed;
border-bottom: 1px dashed #e4e7ed;
.title {
display: inline-block;
padding: 0 10px;
......@@ -360,7 +360,6 @@ export default {
height: 56px;
line-height: 56px;
padding-left: 20px;
// margin: 16px 0 16px 20px;
border-bottom: 1px dotted #e4e7ed;
.title {
display: inline-block;
......@@ -392,7 +391,6 @@ export default {
box-sizing: content-box;
padding: 10px 20px;
// padding-left: 20px;
// margin: 16px 0 16px 20px;
border-bottom: 1px dashed #e4e7ed;
.title {
height: 56px;
......
......@@ -161,6 +161,9 @@
}
}
.select-course-wrapper {
.el-tabs__item {
font-size: 16px;
}
.el-tabs__nav {
margin-left: 30px;
}
......
......@@ -238,8 +238,8 @@ export default {
},
mounted() {
resizeHeight();
this.getLabelList();
this.initPageParams();
this.getLabelList();
},
methods: {
...mapActions([
......
......@@ -433,7 +433,7 @@ export default {
commonUtil.resizeHeight();
},
methods: {
...mapActions(["updateItemManager"]),
...mapActions(["updateItemManager", "setKind"]),
//跳转到报告详情页
reviewReport(row) {
......@@ -466,6 +466,7 @@ export default {
this.$router.push("template-open?projectType=3&isPreview=" + isPreview);
},
toEditCustomPage(isPreview = 0) {
this.setKind(0);
this.$router.push("edit-custom?projectType=4&isPreview=" + isPreview);
},
toShield(row) {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册