Commit dd921d77 authored by qzhxx's avatar qzhxx

测试迭代

parent 0a8bcea6
...@@ -463,6 +463,7 @@ export default { ...@@ -463,6 +463,7 @@ export default {
}, },
// 请填写驳回原因关闭 // 请填写驳回原因关闭
close() { close() {
this.editForm = {}
this.FormVisible = false; this.FormVisible = false;
// for (let key in this.classForm) { // for (let key in this.classForm) {
// this.classForm[key] = null; // this.classForm[key] = null;
......
...@@ -140,8 +140,7 @@ ...@@ -140,8 +140,7 @@
<el-dialog <el-dialog
custom-class="party-dialog" custom-class="party-dialog"
title="视频详情" title="视频详情"
height="200px" width="400px"
width="800px"
:visible.sync="FormVisible" :visible.sync="FormVisible"
:before-close="close" :before-close="close"
> >
...@@ -199,7 +198,7 @@ export default { ...@@ -199,7 +198,7 @@ export default {
muteStatus: "", muteStatus: "",
isMute: true, isMute: true,
isPlay: false, isPlay: false,
width: "350px", // 设置视频播放器的显示宽度(以像素为单位) width: "320px", // 设置视频播放器的显示宽度(以像素为单位)
height: "200px", // 设置视频播放器的显示高度(以像素为单位) height: "200px", // 设置视频播放器的显示高度(以像素为单位)
preload: "auto", // 建议浏览器是否应在<video>加载元素后立即开始下载视频数据。 preload: "auto", // 建议浏览器是否应在<video>加载元素后立即开始下载视频数据。
controls: true, // 确定播放器是否具有用户可以与之交互的控件。没有控件,启动视频播放的唯一方法是使用autoplay属性或通过Player API。 controls: true, // 确定播放器是否具有用户可以与之交互的控件。没有控件,启动视频播放的唯一方法是使用autoplay属性或通过Player API。
...@@ -406,13 +405,10 @@ export default { ...@@ -406,13 +405,10 @@ export default {
}, },
// 请填写驳回原因关闭 // 请填写驳回原因关闭
close() { close() {
// 为防止关闭后继续播放
this.videoList = []
this.FormVisible = false; this.FormVisible = false;
// for (let key in this.classForm) {
// this.classForm[key] = null;
// }
// this.$refs["classForm"].resetFields();
// this.FormVisible = false;
// this.$refs["editform"].resetFields();
}, },
// 新增关闭 // 新增关闭
close1() { close1() {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<el-dialog <el-dialog
custom-class="party-dialog" custom-class="party-dialog"
title="视频详情" title="视频详情"
width="800px" width="400px"
:visible.sync="dialogVisible" :visible.sync="dialogVisible"
:before-close="close" :before-close="close"
> >
...@@ -37,7 +37,7 @@ export default { ...@@ -37,7 +37,7 @@ export default {
muteStatus: "", muteStatus: "",
isMute: true, isMute: true,
isPlay: false, isPlay: false,
width: "350", // 设置视频播放器的显示宽度(以像素为单位) width: "320", // 设置视频播放器的显示宽度(以像素为单位)
height: "200", // 设置视频播放器的显示高度(以像素为单位) height: "200", // 设置视频播放器的显示高度(以像素为单位)
preload: "auto", // 建议浏览器是否应在<video>加载元素后立即开始下载视频数据。 preload: "auto", // 建议浏览器是否应在<video>加载元素后立即开始下载视频数据。
controls: true, // 确定播放器是否具有用户可以与之交互的控件。没有控件,启动视频播放的唯一方法是使用autoplay属性或通过Player API。 controls: true, // 确定播放器是否具有用户可以与之交互的控件。没有控件,启动视频播放的唯一方法是使用autoplay属性或通过Player API。
...@@ -47,6 +47,8 @@ export default { ...@@ -47,6 +47,8 @@ export default {
methods: { methods: {
// 新增关闭 // 新增关闭
close() { close() {
// 为防止关闭后继续播放
this.videoList = []
this.dialogVisible = false; this.dialogVisible = false;
}, },
}, },
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class="info-wrapper"> <div class="info-wrapper">
<div class="pageTips"> <div class="pageTips">
<strong>页面说明:</strong> <strong>页面说明:</strong>
可新建视频。“*”为必填项。若没有对应的视频版权方或视频分类可点击图标快速新建 创建展板内容,“*”为必填项,音频资料支持汉语、蒙语、藏语、维吾尔语、英语五种言音频上传,参考资料支持多文件上传
</div> </div>
<el-collapse v-model="activeNames"> <el-collapse v-model="activeNames">
<el-collapse-item title="展板基本信息" name="1"> <el-collapse-item title="展板基本信息" name="1">
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<div class="info-wrapper"> <div class="info-wrapper">
<div class="pageTips"> <div class="pageTips">
<strong>页面说明:</strong> <strong>页面说明:</strong>
可新建版权方信息。“*”为必填项。预设展板分类中没有合适的选项,可点击“新建视频分类”在弹框中新建分类 可新建版权方信息。“*”为必填项。预设展板分类中没有合适的选项,可点击“新建展板分类”在弹框中新建展板分类。
</div> </div>
<el-form <el-form
:model="ruleForm" :model="ruleForm"
...@@ -124,6 +124,7 @@ export default { ...@@ -124,6 +124,7 @@ export default {
}, },
value1: [], value1: [],
ruleForm: { ruleForm: {
value1:[],
boardCatIdList: [], boardCatIdList: [],
name: "", name: "",
ownerType: "EXHIBITION_BOARD" ownerType: "EXHIBITION_BOARD"
...@@ -194,7 +195,16 @@ export default { ...@@ -194,7 +195,16 @@ export default {
.then(res => { .then(res => {
let data = res.data.data; let data = res.data.data;
this.ruleForm = data; this.ruleForm = data;
this.ruleForm.value1 = [data.expireDateStart, data.expireDateEnd];
let arr = []
arr = [data.expireDateStart, data.expireDateEnd];
this.ruleForm.value1 = arr
this.ruleForm = {...this.ruleForm}
// this.ruleForm.value1 = [data.expireDateStart, data.expireDateEnd];
// this.ruleForm.value1[0] = data.expireDateStart + ''
// this.ruleForm.value1[1] = data.expireDateEnd + ''
}) })
.catch(function(err) { .catch(function(err) {
console.log(err); console.log(err);
......
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
<div class="info-header">{{ type === 'Update'?'修改':'新建'}}学习内容</div> <div class="info-header">{{ type === 'Update'?'修改':'新建'}}学习内容</div>
<div class="info-container"> <div class="info-container">
<div class="info-wrapper"> <div class="info-wrapper">
<div class="pageTips">
<strong>页面说明:</strong>
“*”为必填项。展板类别及版权方支持多选。展板备选清单中可预览备选展板详情及展板内包含的视频。
</div>
<el-form <el-form
:model="ruleForm" :model="ruleForm"
:rules="rules" :rules="rules"
......
...@@ -3,6 +3,10 @@ ...@@ -3,6 +3,10 @@
<div class="info-header">学习内容详情</div> <div class="info-header">学习内容详情</div>
<div class="info-container"> <div class="info-container">
<div class="info-wrapper"> <div class="info-wrapper">
<div class="pageTips">
<strong>页面说明:</strong>
可查看学习内容包含的宣传图及展板列表,可手动调整展板播放顺序,调整后即刻生效。
</div>
<el-collapse v-model="activeNames" @change="handleChange"> <el-collapse v-model="activeNames" @change="handleChange">
<el-collapse-item title="审核意见" name="1"> <el-collapse-item title="审核意见" name="1">
<el-form <el-form
......
...@@ -187,7 +187,11 @@ export default { ...@@ -187,7 +187,11 @@ export default {
.then(res => { .then(res => {
let data = res.data.data; let data = res.data.data;
this.ruleForm = data; this.ruleForm = data;
this.ruleForm.value1 = [data.expireDateStart, data.expireDateEnd]; let arr = []
arr = [data.expireDateStart, data.expireDateEnd];
this.ruleForm.value1 = arr
this.ruleForm = {...this.ruleForm}
// this.ruleForm.value1 = [data.expireDateStart, data.expireDateEnd];
}) })
.catch(function(err) { .catch(function(err) {
console.log(err); console.log(err);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment