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

初始化kind参数

上级 dcf8f3fd
...@@ -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>
......
...@@ -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;
......
...@@ -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: 16px; font-size: 14px;
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;
......
...@@ -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;
} }
......
...@@ -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([
......
...@@ -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 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册