徐桐章 преди 4 години
родител
ревизия
153868749b
променени са 3 файла, в които са добавени 21 реда и са изтрити 12 реда
  1. 13 6
      src/views/candidateManage/resume.vue
  2. 6 4
      src/views/candidateManage/resumeList.vue
  3. 2 2
      src/views/companyManage/formManage.vue

+ 13 - 6
src/views/candidateManage/resume.vue

@@ -4,29 +4,28 @@
  * @Autor: XuTongZhang
  * @Date: 2020-07-30 10:32:00
  * @LastEditors: XuTongZhang
- * @LastEditTime: 2020-08-11 17:18:52
+ * @LastEditTime: 2020-08-11 17:27:52
 -->
 <template>
   <div>
     <el-dialog
       :visible.sync="dialogFormVisible"
-      :width="info.filePath?'1400px':'700px'"
+      :width="'1400px'"
       :before-close="close"
       :close-on-click-modal="false"
     >
       <div class="flex">
         <div class="left">
-          <div class="top" v-if="info.answerVideoList && info.answerVideoList.length">
+          <div class="top">
             <div class="title">{{info.delivererName}}的面试视频:</div>
             <div class="video">
               <video
                 width="100%"
                 controls
-                v-if="info.answerVideoList && info.answerVideoList.length"
-                :src="$img + info.answerVideoList[active].answerVideoPath"
+                :src="info.answerVideoList && info.answerVideoList.length ? $img + info.answerVideoList[active].answerVideoPath : ''"
               ></video>
             </div>
-            <div class="list">
+            <div class="list" v-if="info.answerVideoList && info.answerVideoList.length">
               <div
                 v-for="(item, index) in info.answerVideoList"
                 :key="item.id"
@@ -35,6 +34,7 @@
                 :class="active === index ? 'is-active' : ''"
               >第{{index + 1}}段</div>
             </div>
+            <div v-else class="prompt">无视频</div>
           </div>
           <div class="center">
             <div class="title">简历备注:</div>
@@ -177,4 +177,11 @@ export default {
     }
   }
 }
+.prompt {
+  text-align: center;
+  height: 30px;
+  line-height: 40px;
+  font-size: 20px;
+  color: #888;
+}
 </style>

+ 6 - 4
src/views/candidateManage/resumeList.vue

@@ -4,7 +4,7 @@
  * @Autor: XuTongZhang
  * @Date: 2020-07-30 09:53:19
  * @LastEditors: XuTongZhang
- * @LastEditTime: 2020-08-11 17:17:36
+ * @LastEditTime: 2020-08-11 17:41:15
 -->
 <template>
   <div class="indexPage">
@@ -242,7 +242,8 @@ export default {
           },
           {
             label: '简历来源',
-            props: ''
+            props: 'resumeFrom',
+            options: ['51job', '智联招聘', '58同城']
           },
           {
             label: '简历投递时间',
@@ -250,7 +251,8 @@ export default {
           },
           {
             label: '当前状态',
-            props: 'status'
+            props: 'interviewStatus',
+            options: ['未面试', '已面试']
           },
           {
             label: '简历投递职位',
@@ -262,7 +264,7 @@ export default {
           },
           {
             label: '学历',
-            props: ''
+            props: 'delivererEducation'
           },
           {
             label: '联系电话',

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

@@ -4,7 +4,7 @@
  * @Autor: XuTongZhang
  * @Date: 2020-07-28 16:24:44
  * @LastEditors: XuTongZhang
- * @LastEditTime: 2020-08-11 15:49:07
+ * @LastEditTime: 2020-08-11 17:27:00
 -->
 <template>
   <div class="indexPage">
@@ -40,7 +40,7 @@
       </el-form>
       <div slot="footer" class="dialog-footer">
         <el-button @click="close">取 消</el-button>
-        <el-button type="primary" v-if="state!==2" @click="determine">确 定</el-button>
+        <el-button type="primary" v-if="state!==2" @click="determine">生成表单</el-button>
       </div>
     </el-dialog>
   </div>