xtz 4 years ago
parent
commit
84dae5f936

+ 94 - 10
src/views/candidateManage/candidateList.vue

@@ -15,7 +15,7 @@
         <el-radio-button :label="2">已淘汰候选人</el-radio-button>
         <el-radio-button :label="3">待定候选人</el-radio-button>
     </el-radio-group>
-    <v-table :key="isCollapse" :table="isCollapse===2?table2:isCollapse===3?table3:table" :tableList="tableList" :sortType="true" :form="searchForm" :queryData="queryData" @details="details" @eliminate="eliminate" @through="through" @notice="notice" @del="del" @undetermined="undetermined" @openDia="openDia" @update="update" @selection-change="selection" id="id"></v-table>
+    <v-table :key="isCollapse" :table="isCollapse===1?table1:isCollapse===2?table2:isCollapse===3?table3:table" :tableList="tableList" :sortType="true" :form="searchForm" :queryData="queryData" @details="details" @eliminate="eliminate" @through="through" @notice="notice" @del="del" @undetermined="undetermined" @openDia="openDia" @update="update" @selection-change="selection" id="id"></v-table>
     <v-pager @page="callPage" :total="totalrecords"></v-pager>
     <el-dialog :visible.sync="dialogFormVisible" width="600px" :before-close="close" :close-on-click-modal="false">
         <el-form :model="form" ref="form" label-width="140px" :rules="rules" label-position="left">
@@ -348,10 +348,102 @@ export default {
         {
           label: '完成面试时间',
           props: 'confirmInterviewTime'
+        }
+        ],
+        width: 500,
+        handle: [{
+          title: '查看',
+          method: 'details',
+          type: 'info'
+        },
+        // {
+        //   title: '查看视频',
+        //   method: 'openDia',
+        //   type: 'info'
+        // },
+        {
+          title: '通过',
+          method: 'through',
+          type: 'success'
+        },
+        {
+          title: '淘汰',
+          method: 'eliminate',
+          type: 'danger'
+        },
+        {
+          title: '待定',
+          method: 'undetermined',
+          type: 'warning'
+        },
+        {
+          title: '修改信息',
+          method: 'update',
+          type: 'warning'
+        }
+        ]
+      },
+      table1: {
+        selection: true,
+        column: [{
+          label: '编号',
+          props: 'id'
+        },
+        {
+          label: '姓名',
+          props: 'delivererName'
+        },
+        {
+          label: '性别',
+          props: 'delivererSex',
+          options: ['女', '男']
+        },
+        {
+          label: '简历来源',
+          props: 'resumeFrom',
+          options: ['51job', '智联招聘', '58同城', '平台']
+        },
+        {
+          label: '招聘类型',
+          props: 'recruitType',
+          options: ['社招', '校招', '直接校招']
+        },
+        // {
+        //   label: '简历投递职位',
+        //   props: 'positionApplied'
+        // },
+        {
+          label: '面试应聘职位',
+          props: 'positionName'
+        },
+        {
+          label: '工作年限',
+          props: 'delivererWorkExp'
+        },
+        {
+          label: '学历',
+          props: 'delivererEducation'
+        },
+        {
+          label: '联系电话',
+          props: 'delivererPhone'
+        },
+        {
+          label: '邮箱',
+          props: 'delivererMail'
+        },
+        {
+          label: '通知面试时间',
+          props: 'sendMailTime'
+        },
+        {
+          label: '完成面试时间',
+          props: 'confirmInterviewTime'
         },
         {
           label: '邮件发送状态',
-          props: ''
+          props: 'sendStatus',
+          options: ['发送中', '发送成功', '发送失败']
         }
         ],
         width: 500,
@@ -438,10 +530,6 @@ export default {
         {
           label: '理由',
           props: 'rejectReason'
-        },
-        {
-          label: '邮件发送状态',
-          props: ''
         }
         ],
         width: 360,
@@ -510,10 +598,6 @@ export default {
         {
           label: '邮箱',
           props: 'delivererMail'
-        },
-        {
-          label: '邮件发送状态',
-          props: ''
         }
         ],
         width: 420,

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

@@ -16,7 +16,7 @@
         <el-radio-button :label="3">待定</el-radio-button>
         <el-radio-button :label="4">已通知</el-radio-button>
     </el-radio-group>
-    <v-table :key="isCollapse" :table="isCollapse===4?throughTable:table" :tableList="tableList" :sortType="true" :queryData="queryData" :form="searchForm" @details="details" @notice="notice" @through="through" @eliminate="eliminate" @del="del" @undetermined="undetermined" @toVedio="toVedio" @selection-change="selection" @update="update" id="id"></v-table>
+    <v-table :key="isCollapse" :table="isCollapse===1?table1:isCollapse===4?throughTable:table" :tableList="tableList" :sortType="true" :queryData="queryData" :form="searchForm" @details="details" @notice="notice" @through="through" @eliminate="eliminate" @del="del" @undetermined="undetermined" @toVedio="toVedio" @selection-change="selection" @update="update" id="id"></v-table>
     <v-pager @page="callPage" :total="totalrecords"></v-pager>
     <el-dialog :visible.sync="dialogFormVisible" width="600px" :before-close="close" :close-on-click-modal="false">
         <el-form :model="form" ref="form" label-width="140px" :rules="rules" label-position="left">
@@ -296,10 +296,89 @@ export default {
         {
           label: '邮箱',
           props: 'delivererMail'
+        }
+        ],
+        width: 500,
+        handle: [{
+          title: '查看',
+          method: 'details',
+          type: 'info'
+        },
+        {
+          title: '待定',
+          method: 'undetermined',
+          type: 'warning'
+        },
+        {
+          title: '通过',
+          method: 'through',
+          type: 'success'
+        },
+        {
+          title: '淘汰',
+          method: 'eliminate',
+          type: 'danger'
+        },
+        {
+          title: '删除',
+          method: 'del',
+          type: 'danger'
+        },
+        {
+          title: '修改信息',
+          method: 'update',
+          type: 'warning'
+        }
+        ]
+      },
+      table1: {
+        selection: true,
+        column: [{
+          label: '编号',
+          props: 'id'
+        },
+        {
+          label: '姓名',
+          props: 'delivererName'
+        },
+        {
+          label: '性别',
+          props: 'delivererSex',
+          options: ['女', '男']
+        },
+        {
+          label: '简历来源',
+          props: 'resumeFrom',
+          options: ['51job', '智联招聘', '58同城', '平台']
+        },
+        {
+          label: '简历投递时间',
+          props: 'createTime'
+        },
+        {
+          label: '简历投递职位',
+          props: 'positionApplied'
+        },
+        {
+          label: '工作年限',
+          props: 'delivererWorkExp'
+        },
+        {
+          label: '学历',
+          props: 'delivererEducation'
+        },
+        {
+          label: '联系电话',
+          props: 'delivererPhone'
+        },
+        {
+          label: '邮箱',
+          props: 'delivererMail'
         },
         {
           label: '邮件发送状态',
-          props: ''
+          props: 'sendStatus',
+          options: ['发送中', '发送成功', '发送失败']
         }
         ],
         width: 500,
@@ -383,10 +462,6 @@ export default {
         {
           label: '邮箱',
           props: 'delivererMail'
-        },
-        {
-          label: '邮件发送状态',
-          props: ''
         }
         ],
         width: 360,

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

@@ -280,7 +280,7 @@ export default {
       console.log(this.form)
       let url = this.state ? '/form/updateForm' : '/form/saveForm'
       let reqdata = this.form
-      reqdata.formConfig = JSON.stringify(array)
+      reqdata.formConfig = JSON.stringify(Array.from(new Set(array)))
       this.$api
         .post(url, {
           reqdata

+ 1 - 1
src/views/login.vue

@@ -114,7 +114,7 @@ export default {
       })
     },
     forget () {
-      this.$alert('请联系联系yc1min客服重置密码!', '提示', {
+      this.$alert('请联系yc1min客服重置密码!', '提示', {
         confirmButtonText: '确定',
         callback: action => {
         }