|
|
@@ -215,6 +215,7 @@
|
|
|
:videoUrl.sync="videoUrl"
|
|
|
:fileName.sync="form.fileName"
|
|
|
:line_2.sync="form.lineTwo"
|
|
|
+ :line_1.sync="form.lineOne"
|
|
|
:thumbnail.sync="form.thumbnail"
|
|
|
:uploadType.sync="form.uploadType"
|
|
|
:isTranscode.sync="form.isTranscode"
|
|
|
@@ -229,12 +230,12 @@
|
|
|
v-model="form.startTime"
|
|
|
@change="timeChange"
|
|
|
type="datetime"
|
|
|
- format="yyyy-MM-dd HH:mm"
|
|
|
+ format="yyyy-MM-dd HH:mm:ss"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
:picker-options="{
|
|
|
timePickerOptions: {
|
|
|
- selectableRange: '00:00 - 23:59',
|
|
|
- format: 'HH:mm'
|
|
|
+ selectableRange: '00:00:00 - 23:59:59',
|
|
|
+ format: 'HH:mm:ss'
|
|
|
}
|
|
|
}"
|
|
|
placeholder="选择开始时间">
|
|
|
@@ -244,12 +245,12 @@
|
|
|
<el-date-picker size="small"
|
|
|
v-model="form.finishTime"
|
|
|
type="datetime"
|
|
|
- format="yyyy-MM-dd HH:mm"
|
|
|
+ format="yyyy-MM-dd HH:mm:ss"
|
|
|
value-format="yyyy-MM-dd HH:mm:ss"
|
|
|
:picker-options="{
|
|
|
timePickerOptions: {
|
|
|
- selectableRange: '00:00 - 23:59',
|
|
|
- format: 'HH:mm'
|
|
|
+ selectableRange: '00:00:00 - 23:59:59',
|
|
|
+ format: 'HH:mm:ss'
|
|
|
}
|
|
|
}"
|
|
|
placeholder="视屏播放结束">
|
|
|
@@ -342,7 +343,7 @@ export default {
|
|
|
},
|
|
|
// 表单参数
|
|
|
form: {
|
|
|
- uploadType: 2,
|
|
|
+ uploadType: 1,
|
|
|
isTranscode:0,
|
|
|
transcodeFileKey:null
|
|
|
},
|
|
|
@@ -405,16 +406,9 @@ export default {
|
|
|
handleVideoDuration(duration) {
|
|
|
this.form.duration = duration;
|
|
|
},
|
|
|
- handleVideoChange(){
|
|
|
- console.log(this.videoUrl)
|
|
|
- if(this.form.uploadType==1){
|
|
|
- this.videoUrl = this.form.lineOne;
|
|
|
- }else if(this.form.uploadType==2){
|
|
|
- this.videoUrl = this.form.lineTwo;
|
|
|
- this.form.videoUrl = this.form.lineTwo;
|
|
|
- }else if(this.form.uploadType==3){
|
|
|
- this.videoUrl = this.form.lineThree;
|
|
|
- }
|
|
|
+ handleVideoChange(videoUrl,lineOne){
|
|
|
+ this.videoUrl = videoUrl;
|
|
|
+ this.form.videoUrl = videoUrl;
|
|
|
console.log(this.videoUrl)
|
|
|
},
|
|
|
showLivingUrl(row){
|
|
|
@@ -582,6 +576,7 @@ export default {
|
|
|
showType: 1,
|
|
|
liveType: 2,
|
|
|
isShow: 1,
|
|
|
+ uploadType:1,
|
|
|
isTranscode:0,
|
|
|
transcodeFileKey:null
|
|
|
};
|