|
@@ -4,7 +4,7 @@
|
|
|
* @Autor: XuTongZhang
|
|
|
* @Date: 2020-07-28 16:00:46
|
|
|
* @LastEditors : yuanrunwei
|
|
|
- * @LastEditTime : 2021-02-25 14:36:27
|
|
|
+ * @LastEditTime : 2021-02-25 14:51:40
|
|
|
-->
|
|
|
<template>
|
|
|
<div class="indexPage">
|
|
@@ -24,15 +24,15 @@
|
|
|
required: true, validator: validatePass, trigger: 'change'
|
|
|
}">
|
|
|
<div v-if="state!=2">
|
|
|
- <div class="flex">
|
|
|
- <el-input v-model="item.questionName" type="textarea" :rows="2" resize="none" placeholder="请输入面试问题" maxlength="128" show-word-limit></el-input>
|
|
|
- <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>
|
|
|
- </div>
|
|
|
- <el-select v-model="item.videoIdList" multiple filterable :disabled="state === 2" default-first-option placeholder="请选择面试视频" @change="param => handleChange(param,item)">
|
|
|
+ <div>
|
|
|
+ <el-select style="margin-bottom:10px" 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>
|
|
|
</el-select>
|
|
|
+ <el-button style="margin-left:10px" v-if="index==0" @click="addDomain" type="success">新增</el-button>
|
|
|
+ <el-button style="margin-left:10px" type="danger" v-else @click.prevent="index === 0 || removeDomain(item)">删除</el-button>
|
|
|
+ </div>
|
|
|
+ <el-input v-model="item.questionName" type="textarea" :rows="2" resize="none" placeholder="请输入面试问题" maxlength="128" show-word-limit></el-input>
|
|
|
</div>
|
|
|
<div v-else>
|
|
|
<div v-html="item.questionName && item.questionName.replace(/\n/g,'<br/>')">
|