|
@@ -3,8 +3,8 @@
|
|
* @Version: 1.0
|
|
* @Version: 1.0
|
|
* @Autor: XuTongZhang
|
|
* @Autor: XuTongZhang
|
|
* @Date: 2020-07-28 16:00:46
|
|
* @Date: 2020-07-28 16:00:46
|
|
- * @LastEditors: XuTongZhang
|
|
|
|
- * @LastEditTime: 2020-08-11 15:48:51
|
|
|
|
|
|
+ * @LastEditors : yuanrunwei
|
|
|
|
+ * @LastEditTime : 2021-02-25 14:36:27
|
|
-->
|
|
-->
|
|
<template>
|
|
<template>
|
|
<div class="indexPage">
|
|
<div class="indexPage">
|
|
@@ -29,7 +29,7 @@
|
|
<el-button v-if="index==0" @click="addDomain" type="success">新增</el-button>
|
|
<el-button v-if="index==0" @click="addDomain" type="success">新增</el-button>
|
|
<el-button type="danger" v-else @click.prevent="index === 0 || removeDomain(item)">删除</el-button>
|
|
<el-button type="danger" v-else @click.prevent="index === 0 || removeDomain(item)">删除</el-button>
|
|
</div>
|
|
</div>
|
|
- <el-select v-model="item.videoIdList" multiple filterable :disabled="state === 2" default-first-option placeholder="请选择面试视频">
|
|
|
|
|
|
+ <el-select v-model="item.videoIdList" multiple filterable :disabled="state === 2" default-first-option placeholder="请选择面试视频" @change="param => handleChange(param,item)">
|
|
<el-option v-for="item in downList" :key="item.key || item.id" :label="item.videoName" :value="item.id">
|
|
<el-option v-for="item in downList" :key="item.key || item.id" :label="item.videoName" :value="item.id">
|
|
</el-option>
|
|
</el-option>
|
|
</el-select>
|
|
</el-select>
|
|
@@ -336,6 +336,13 @@ export default {
|
|
callPage (val) {
|
|
callPage (val) {
|
|
this.page = val
|
|
this.page = val
|
|
this.queryData()
|
|
this.queryData()
|
|
|
|
+ },
|
|
|
|
+ handleChange (param, item) {
|
|
|
|
+ if (!item.questionName) {
|
|
|
|
+ const array = this.downList.filter(item => item.id === param[0])
|
|
|
|
+ item.questionName = array[0].videoName
|
|
|
|
+ this.$forceUpdate()
|
|
|
|
+ }
|
|
}
|
|
}
|
|
},
|
|
},
|
|
watch: {
|
|
watch: {
|