xtz 4 years ago
parent
commit
bbac620ed2

+ 3 - 3
src/components/vNav/vNav.scss

@@ -38,7 +38,7 @@
     min-width: 80px !important;
   }
   .el-menu-item.is-active{
-    background-color:rgb(136, 223, 238) !important;
+    background-color:#2493a7 !important;
     color:#fff;
     width:180px;
     min-width: 80px;
@@ -46,10 +46,10 @@
   }
   .el-menu-item{
     &:hover{
-        background:rgb(108, 212, 238) !important;
+        background:#2493a7 !important;
     }
     &:active,&:visited{
-        background:rgb(108, 212, 238) !important;
+        background:#2493a7 !important;
     }
   }
   .logo{

+ 202 - 203
src/views/candidateManage/candidateAll.vue

@@ -7,84 +7,50 @@
  * @LastEditTime: 2020-08-17 15:57:05
 -->
 <template>
-  <div class="indexPage">
+<div class="indexPage">
     <v-input :btn="btn" :list="list" @search="search" @exports="exports"></v-input>
-    <v-table
-      :table="table"
-      :tableList="tableList"
-      :sortType="true"
-      :queryData="queryData"
-      :form="searchForm"
-      @details="details"
-      @update="update"
-    ></v-table>
+    <v-table :table="table" :tableList="tableList" :sortType="true" :queryData="queryData" :form="searchForm" @details="details" @update="update"></v-table>
     <v-pager @page="callPage" :total="totalrecords"></v-pager>
     <resume :dialogFormVisible="dialogFormVisible" :close="close" :info="info" :searchForm="searchForm" :queryData="queryData"></resume>
-    <el-dialog
-      :visible.sync="dialogVisible"
-      width="600px"
-      :before-close="closeDia"
-      :close-on-click-modal="false"
-      >
-      <el-form :model="form" ref="uform" label-width="140px" :rules="rules" label-position="right">
-        <el-form-item label="姓名" prop="delivererName">
-          <el-input placeholder="请输入姓名" v-model="form.delivererName"></el-input>
-        </el-form-item>
-        <el-form-item label="性别" prop="delivererSex">
-          <el-select
-          v-model="form.delivererSex"
-          class="select"
-          placeholder="请选择性别">
-            <el-option
-            v-for="item in [{ value: 0, label: '女' }, { value: 1, label: '男' }]"
-            :key="item.value"
-            :label="item.label"
-            :value="item.value">
-            </el-option>
-          </el-select>
-        </el-form-item>
-        <el-form-item label="简历投递职位" prop="positionApplied">
-          <el-input placeholder="请输入投递职位" v-model="form.positionApplied"></el-input>
-        </el-form-item>
-        <el-form-item label="工作年限" prop="delivererWorkExp">
-          <el-input placeholder="请输入工作年限" v-model="form.delivererWorkExp"></el-input>
-        </el-form-item>
-        <el-form-item label="学历" prop="delivererEducation">
-          <el-select
-          class="select"
-          v-model="form.delivererEducation"
-          placeholder="请选择学历">
-            <el-option
-            v-for="item in ['大专', '本科', '研究生', '博士', '其他']"
-            :key="item"
-            :label="item"
-            :value="item">
-            </el-option>
-          </el-select>
-        </el-form-item>
-        <el-form-item label="联系电话" prop="delivererPhone">
-          <el-input placeholder="请输入联系电话" v-model="form.delivererPhone"></el-input>
-        </el-form-item>
-        <el-form-item label="面试应聘职位" prop="desiredPositionId">
-          <el-select
-          class="select"
-          v-model="form.desiredPositionId"
-          placeholder="请选择应聘职位">
-            <el-option
-            v-for="item in positionList"
-            :key="item.value"
-            :label="item.label"
-            :value="item.value">
-            </el-option>
-          </el-select>
-        </el-form-item>
-        <el-form-item>
-          <el-button @click="closeDia">取 消</el-button>
-          <el-button type="primary" @click="submit">修 改</el-button>
-        </el-form-item>
-      </el-form>
+    <el-dialog :visible.sync="dialogVisible" width="600px" :before-close="closeDia" :close-on-click-modal="false">
+        <el-form :model="form" ref="uform" label-width="140px" :rules="rules" label-position="right">
+            <el-form-item label="姓名" prop="delivererName">
+                <el-input placeholder="请输入姓名" v-model="form.delivererName"></el-input>
+            </el-form-item>
+            <el-form-item label="性别" prop="delivererSex">
+                <el-select v-model="form.delivererSex" class="select" placeholder="请选择性别">
+                    <el-option v-for="item in [{ value: 0, label: '女' }, { value: 1, label: '男' }]" :key="item.value" :label="item.label" :value="item.value">
+                    </el-option>
+                </el-select>
+            </el-form-item>
+            <el-form-item label="简历投递职位" prop="positionApplied">
+                <el-input placeholder="请输入投递职位" v-model="form.positionApplied"></el-input>
+            </el-form-item>
+            <el-form-item label="工作年限" prop="delivererWorkExp">
+                <el-input placeholder="请输入工作年限" v-model="form.delivererWorkExp"></el-input>
+            </el-form-item>
+            <el-form-item label="学历" prop="delivererEducation">
+                <el-select class="select" v-model="form.delivererEducation" placeholder="请选择学历">
+                    <el-option v-for="item in ['大专', '本科', '研究生', '博士', '其他']" :key="item" :label="item" :value="item">
+                    </el-option>
+                </el-select>
+            </el-form-item>
+            <el-form-item label="联系电话" prop="delivererPhone">
+                <el-input placeholder="请输入联系电话" v-model="form.delivererPhone"></el-input>
+            </el-form-item>
+            <el-form-item label="面试应聘职位" prop="desiredPositionId">
+                <el-select class="select" v-model="form.desiredPositionId" placeholder="请选择应聘职位">
+                    <el-option v-for="item in positionList" :key="item.value" :label="item.label" :value="item.value">
+                    </el-option>
+                </el-select>
+            </el-form-item>
+            <el-form-item>
+                <el-button @click="closeDia">取 消</el-button>
+                <el-button type="primary" @click="submit">修 改</el-button>
+            </el-form-item>
+        </el-form>
     </el-dialog>
-  </div>
+</div>
 </template>
 
 <script>
@@ -112,152 +78,185 @@ export default {
       searchForm: {},
       form: {},
       rules: {
-        delivererEducation: [
-          { required: true, message: '请选择学历', trigger: 'change' }
-        ],
-        delivererName: [
-          { required: true, message: '请输入姓名', trigger: 'change' }
-        ],
-        delivererPhone: [
-          { required: true, validator, trigger: 'change' }
-        ],
-        delivererSex: [
-          { required: true, message: '请选择性别', trigger: 'change' }
-        ],
-        delivererWorkExp: [
-          { required: true, message: '请填写工作经验', trigger: 'change' }
-        ],
-        desiredPositionId: [
-          { required: true, message: '请选择应聘职位', trigger: 'change' }
-        ],
-        positionApplied: [
-          { required: true, message: '请填写投递职位', trigger: 'change' }
-        ]
+        delivererEducation: [{
+          required: true,
+          message: '请选择学历',
+          trigger: 'change'
+        }],
+        delivererName: [{
+          required: true,
+          message: '请输入姓名',
+          trigger: 'change'
+        }],
+        delivererPhone: [{
+          required: true,
+          validator,
+          trigger: 'change'
+        }],
+        delivererSex: [{
+          required: true,
+          message: '请选择性别',
+          trigger: 'change'
+        }],
+        delivererWorkExp: [{
+          required: true,
+          message: '请填写工作经验',
+          trigger: 'change'
+        }],
+        // desiredPositionId: [{
+        //     required: true,
+        //     message: '请选择应聘职位',
+        //     trigger: 'change'
+        // }],
+        positionApplied: [{
+          required: true,
+          message: '请填写投递职位',
+          trigger: 'change'
+        }]
       },
       positionList: [],
       info: {},
-      list: [
-        {
-          placeholder: '请输入关键字查询',
-          props: 'condition'
+      list: [{
+        placeholder: '请输入关键字查询',
+        props: 'condition'
+      },
+      {
+        type: 'select',
+        placeholder: '性别',
+        props: 'delivererSex',
+        options: [{
+          label: '全部',
+          value: null
+        }, {
+          label: '男',
+          value: 1
+        }, {
+          label: '女',
+          value: 0
+        }]
+      },
+      {
+        type: 'select',
+        placeholder: '来源',
+        props: 'resumeFrom',
+        options: [{
+          label: '全部',
+          value: null
         },
         {
-          type: 'select',
-          placeholder: '性别',
-          props: 'delivererSex',
-          options: [{ label: '全部', value: null }, { label: '男', value: 1 }, { label: '女', value: 0 }]
+          label: '51job',
+          value: 0
         },
         {
-          type: 'select',
-          placeholder: '来源',
-          props: 'resumeFrom',
-          options: [
-            { label: '全部', value: null },
-            { label: '51job', value: 0 },
-            { label: '智联', value: 1 },
-            { label: '58同城', value: 2 },
-            { label: '平台', value: 3 }
-          ]
-        }
-      ],
-      btn: [
+          label: '智联',
+          value: 1
+        },
         {
-          name: '确定',
-          type: 'primary',
-          method: 'search'
+          label: '58同城',
+          value: 2
         },
         {
-          name: '导出',
-          type: 'primary',
-          method: 'exports'
+          label: '平台',
+          value: 3
         }
+        ]
+      }
+      ],
+      btn: [{
+        name: '确定',
+        type: 'primary',
+        method: 'search'
+      },
+      {
+        name: '导出',
+        type: 'primary',
+        method: 'exports'
+      }
       ],
       table: {
         selection: true,
-        column: [
-          {
-            label: '编号',
-            props: 'id'
-          },
-          {
-            label: '姓名',
-            props: 'delivererName',
-            width: 60
-          },
-          {
-            label: '性别',
-            props: 'delivererSex',
-            options: ['女', '男'],
-            width: 60
-          },
-          {
-            label: '简历来源',
-            props: 'resumeFrom',
-            options: ['51job', '智联招聘', '58同城', '平台'],
-            width: 80
-          },
-          {
-            label: '招聘类型',
-            props: 'recruitType',
-            options: ['社招', '校招', '直接校招'],
-            width: 80
-          },
-          {
-            label: '简历投递职位',
-            props: 'positionApplied'
-          },
-          {
-            label: '简历状态',
-            props: 'state'
-          },
-          {
-            label: '工作年限',
-            props: 'delivererWorkExp'
-          },
-          {
-            label: '学历',
-            props: 'delivererEducation'
-          },
-          {
-            label: '联系电话',
-            props: 'delivererPhone'
-          },
-          {
-            label: '面试应聘职位',
-            props: 'positionName'
-          },
-          {
-            label: '通知面试时间',
-            props: 'sendMailTime'
-          },
-          {
-            label: '完成面试时间',
-            props: 'confirmInterviewTime'
-          },
-          {
-            label: '面试状态',
-            props: 'interviewStatus',
-            options: ['未面试', '已面试']
-          },
-          {
-            label: '面试结果',
-            props: 'interviewResult',
-            options: ['未读', '已通过', '已淘汰']
-          }
+        column: [{
+          label: '编号',
+          props: 'id'
+        },
+        {
+          label: '姓名',
+          props: 'delivererName',
+          width: 60
+        },
+        {
+          label: '性别',
+          props: 'delivererSex',
+          options: ['女', '男'],
+          width: 60
+        },
+        {
+          label: '简历来源',
+          props: 'resumeFrom',
+          options: ['51job', '智联招聘', '58同城', '平台'],
+          width: 80
+        },
+        {
+          label: '招聘类型',
+          props: 'recruitType',
+          options: ['社招', '校招', '直接校招'],
+          width: 80
+        },
+        {
+          label: '简历投递职位',
+          props: 'positionApplied'
+        },
+        {
+          label: '简历状态',
+          props: 'state'
+        },
+        {
+          label: '工作年限',
+          props: 'delivererWorkExp'
+        },
+        {
+          label: '学历',
+          props: 'delivererEducation'
+        },
+        {
+          label: '联系电话',
+          props: 'delivererPhone'
+        },
+        {
+          label: '面试应聘职位',
+          props: 'positionName'
+        },
+        {
+          label: '通知面试时间',
+          props: 'sendMailTime'
+        },
+        {
+          label: '完成面试时间',
+          props: 'confirmInterviewTime'
+        },
+        {
+          label: '面试状态',
+          props: 'interviewStatus',
+          options: ['未面试', '已面试']
+        },
+        {
+          label: '面试结果',
+          props: 'interviewResult',
+          options: ['未读', '已通过', '已淘汰']
+        }
         ],
         // fixed: true,
         width: 200,
-        handle: [
-          {
-            title: '修改信息',
-            method: 'update',
-            type: 'info'
-          },
-          {
-            title: '查看简历',
-            method: 'details',
-            type: 'info'
-          }
+        handle: [{
+          title: '修改信息',
+          method: 'update',
+          type: 'info'
+        },
+        {
+          title: '查看简历',
+          method: 'details',
+          type: 'info'
+        }
         ]
       }
     }

+ 20 - 5
src/views/candidateManage/candidateList.vue

@@ -226,9 +226,9 @@ export default {
         delivererWorkExp: [
           { required: true, message: '请填写工作经验', trigger: 'change' }
         ],
-        desiredPositionId: [
-          { required: true, message: '请选择应聘职位', trigger: 'change' }
-        ],
+        // desiredPositionId: [
+        //   { required: true, message: '请选择应聘职位', trigger: 'change' }
+        // ],
         positionApplied: [
           { required: true, message: '请填写投递职位', trigger: 'change' }
         ]
@@ -467,7 +467,7 @@ export default {
             props: 'rejectReason'
           }
         ],
-        width: 300,
+        width: 360,
         handle: [
           {
             title: '查看简历',
@@ -483,6 +483,11 @@ export default {
             title: '删除',
             method: 'del',
             type: 'danger'
+          },
+          {
+            title: '修改信息',
+            method: 'update',
+            type: 'info'
           }
         ]
       },
@@ -528,7 +533,7 @@ export default {
             props: 'delivererPhone'
           }
         ],
-        width: 350,
+        width: 420,
         handle: [
           {
             title: '查看简历',
@@ -549,6 +554,11 @@ export default {
             title: '标记淘汰',
             method: 'eliminate',
             type: 'danger'
+          },
+          {
+            title: '修改信息',
+            method: 'update',
+            type: 'info'
           }
         ]
       }
@@ -809,6 +819,11 @@ export default {
             title: '通知成功',
             method: 'notice',
             type: 'success'
+          },
+          {
+            title: '修改信息',
+            method: 'update',
+            type: 'info'
           }
         ])
         : this.isCollapse === 0 && this.$set(this.table, 'handle',

File diff suppressed because it is too large
+ 488 - 474
src/views/candidateManage/resumeList.vue