瀏覽代碼

修改面试视频埋点及表单新增选项展示

noob 4 年之前
父節點
當前提交
f39b3cf8ce
共有 3 個文件被更改,包括 33 次插入5 次删除
  1. 4 3
      src/common/api/axios.js
  2. 2 0
      src/views/candidateManage/resume.vue
  3. 27 2
      src/views/companyManage/formManage.vue

+ 4 - 3
src/common/api/axios.js

@@ -1,9 +1,9 @@
 /*
  * @Author       : yuanrunwei
  * @Date         : 2020-05-18 12:05:37
- * @LastEditors: XuTongZhang
- * @LastEditTime: 2020-08-12 11:55:58
- * @FilePath     : \batterycloud-admin\src\common\api\axios.js
+ * @LastEditors  : yuanrunwei
+ * @LastEditTime : 2021-04-08 17:20:07
+ * @FilePath     : \hr-admin\src\common\api\axios.js
  */
 import axios from 'axios'
 import vue from '../../main'
@@ -20,6 +20,7 @@ const fileUpload = ['/upload/uploadImg']
 const service = axios.create({
   baseURL: process.env.VUE_APP_API + '/admin',
   // baseURL: 'http://47.100.59.52:7785',
+  // baseURL: 'https://api.yc1min.com/admin',
   timeout: 90000
 })
 

+ 2 - 0
src/views/candidateManage/resume.vue

@@ -412,6 +412,7 @@ export default {
       this.active = index
       this.$api.post('/question/addUsedVideo', {
         reqdata: {
+          resumeId: item.resumeId,
           videoId: item.id
         }
       })
@@ -441,6 +442,7 @@ export default {
         if (this.info.answerVideoList.length) {
           this.$api.post('/question/addUsedVideo', {
             reqdata: {
+              resumeId: this.info.answerVideoList[0].resumeId,
               videoId: this.info.answerVideoList[0].id
             }
           })

+ 27 - 2
src/views/companyManage/formManage.vue

@@ -3,8 +3,8 @@
  * @Version: 1.0
  * @Autor: XuTongZhang
  * @Date: 2020-07-28 16:24:44
- * @LastEditors: XuTongZhang
- * @LastEditTime: 2020-08-11 17:27:00
+ * @LastEditors  : yuanrunwei
+ * @LastEditTime : 2021-04-08 17:19:06
 -->
 <template>
 <div class="indexPage">
@@ -40,6 +40,31 @@
                           <el-option label="男" value="男"></el-option>
                           <el-option label="女" value="女"></el-option>
                         </el-select>
+                        <el-select class="p10" v-else-if="item.type === 20" v-model="info[item.fieldName]" :placeholder="$t('message.pleaseChoose') + item.configName">
+                          <el-option label="面议" value="面议"></el-option>
+                          <el-option label="1.5K以下" value="1.5K以下"></el-option>
+                          <el-option label="1.5-2K" value="1.5-2K"></el-option>
+                          <el-option label="2-3K" value="2-3K"></el-option>
+                          <el-option label="3-4.5K" value="3-4.5K"></el-option>
+                          <el-option label="4.5-6K" value="4.5-6K"></el-option>
+                          <el-option label="6-8K" value="6-8K"></el-option>
+                          <el-option label="8-10K" value="8-10K"></el-option>
+                          <el-option label="10-12K" value="10-12K"></el-option>
+                          <el-option label="12-15K" value="12-15K"></el-option>
+                          <el-option label="15K以上" value="15K以上"></el-option>
+                        </el-select>
+                        <el-select class="p10" v-else-if="item.type === 21" v-model="info[item.fieldName]" :placeholder="$t('message.pleaseChoose') + item.configName">
+                          <el-option label="互联网" value="互联网"></el-option>
+                          <el-option label="金融" value="金融"></el-option>
+                          <el-option label="贸易" value="贸易"></el-option>
+                          <el-option label="医疗" value="医疗"></el-option>
+                          <el-option label="商业服务" value="商业服务"></el-option>
+                          <el-option label="广告" value="广告"></el-option>
+                          <el-option label="房地产" value="房地产"></el-option>
+                          <el-option label="教育" value="教育"></el-option>
+                          <el-option label="物流" value="物流"></el-option>
+                          <el-option label="能源" value="能源"></el-option>
+                        </el-select>
                         <el-date-picker class="p10" v-else-if="item.type === 3" v-model="info[item.fieldName]" type="date" :placeholder="$t('message.pleaseChoose') + item.configName"></el-date-picker>
                         <el-cascader class="p10" v-else-if="item.type === 4" :props="{value: 'name',  label: 'name'}" v-model="info[item.fieldName]" :options="options" :placeholder="$t('message.pleaseChoose') + item.configName"></el-cascader>
                         <el-cascader class="p10" v-else-if="item.type === 5" :props="{value: 'name',  label: 'name'}" v-model="info[item.fieldName]" :options="city" :placeholder="$t('message.pleaseChoose') + item.configName"></el-cascader>