|
@@ -4,7 +4,7 @@
|
|
|
* @Autor: XuTongZhang
|
|
|
* @Date: 2020-07-28 16:00:46
|
|
|
* @LastEditors : yuanrunwei
|
|
|
- * @LastEditTime : 2021-02-25 14:51:40
|
|
|
+ * @LastEditTime : 2021-03-10 16:35:07
|
|
|
-->
|
|
|
<template>
|
|
|
<div class="indexPage">
|
|
@@ -59,7 +59,7 @@
|
|
|
required: true, message: '请选择结束视频', trigger: 'blur'
|
|
|
}">
|
|
|
<div v-if="state!=2">
|
|
|
- <el-select v-model="form.endVideoId" filterable :disabled="state === 2" default-first-option placeholder="请选择结束视频" clearable>
|
|
|
+ <el-select v-model="form.endVideoId" filterable :disabled="state === 2" default-first-option placeholder="请选择结束视频" clearable @change="param => handleSetting(param)">
|
|
|
<el-option v-for="item in downList" :key="item.key || item.id" :label="item.videoName" :value="item.id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
@@ -343,6 +343,13 @@ export default {
|
|
|
item.questionName = array[0].videoName
|
|
|
this.$forceUpdate()
|
|
|
}
|
|
|
+ },
|
|
|
+ handleSetting (param) {
|
|
|
+ if (!this.form.ending) {
|
|
|
+ const array = this.downList.filter(item => item.id === param)
|
|
|
+ this.form.ending = array[0].videoName
|
|
|
+ this.$forceUpdate()
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
watch: {
|