|
@@ -4,7 +4,7 @@
|
|
|
* @Autor: XuTongZhang
|
|
|
* @Date: 2020-07-30 09:53:19
|
|
|
* @LastEditors: XuTongZhang
|
|
|
- * @LastEditTime: 2020-08-11 17:41:15
|
|
|
+ * @LastEditTime: 2020-08-12 15:35:50
|
|
|
-->
|
|
|
<template>
|
|
|
<div class="indexPage">
|
|
@@ -15,17 +15,19 @@
|
|
|
@notice="noticeAll"
|
|
|
@through="throughAll"
|
|
|
@eliminate="eliminateAll"
|
|
|
+ @undetermined="undeterminedAll"
|
|
|
@search="search"
|
|
|
></v-input>
|
|
|
<el-radio-group v-model="isCollapse" size="medium" style="margin-bottom: 20px;">
|
|
|
- <el-radio-button :label="1">未读简历</el-radio-button>
|
|
|
- <el-radio-button :label="2">已通过简历</el-radio-button>
|
|
|
- <el-radio-button :label="3">已通知简历</el-radio-button>
|
|
|
- <el-radio-button :label="4">已淘汰简历</el-radio-button>
|
|
|
+ <el-radio-button :label="0">未读</el-radio-button>
|
|
|
+ <el-radio-button :label="1">适合</el-radio-button>
|
|
|
+ <el-radio-button :label="2">不适合</el-radio-button>
|
|
|
+ <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===3?throughTable:table"
|
|
|
+ :table="isCollapse===4?throughTable:table"
|
|
|
:tableList="tableList"
|
|
|
:sortType="true"
|
|
|
:queryData="queryData"
|
|
@@ -35,6 +37,8 @@
|
|
|
@through="through"
|
|
|
@eliminate="eliminate"
|
|
|
@del="del"
|
|
|
+ @undetermined="undetermined"
|
|
|
+ @toVedio="toVedio"
|
|
|
@selection-change="selection"
|
|
|
id="id"
|
|
|
></v-table>
|
|
@@ -71,6 +75,7 @@
|
|
|
</el-form-item>
|
|
|
<el-form-item label="群发邮箱">139820930@qq.com</el-form-item>
|
|
|
<el-form-item>
|
|
|
+ <el-button @click="close">取消</el-button>
|
|
|
<el-button type="primary" @click="launch">立即发出</el-button>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
@@ -85,7 +90,7 @@ export default {
|
|
|
tableList: [],
|
|
|
dialogFormVisible: false,
|
|
|
page: 1,
|
|
|
- isCollapse: 1,
|
|
|
+ isCollapse: 0,
|
|
|
totalrecords: 0,
|
|
|
pickList: [],
|
|
|
copyPickList: [],
|
|
@@ -132,11 +137,11 @@ export default {
|
|
|
type: 'primary',
|
|
|
method: 'search'
|
|
|
},
|
|
|
- // {
|
|
|
- // name: '通知面试',
|
|
|
- // type: 'success',
|
|
|
- // method: 'notice'
|
|
|
- // },
|
|
|
+ {
|
|
|
+ name: '标记待定',
|
|
|
+ type: 'success',
|
|
|
+ method: 'undetermined'
|
|
|
+ },
|
|
|
{
|
|
|
name: '标记通过',
|
|
|
type: 'primary',
|
|
@@ -195,18 +200,18 @@ export default {
|
|
|
props: 'delivererPhone'
|
|
|
}
|
|
|
],
|
|
|
- width: 500,
|
|
|
+ width: 420,
|
|
|
handle: [
|
|
|
{
|
|
|
title: '查看简历',
|
|
|
method: 'details',
|
|
|
type: 'info'
|
|
|
},
|
|
|
- // {
|
|
|
- // title: '通知面试',
|
|
|
- // method: 'notice',
|
|
|
- // type: 'success'
|
|
|
- // },
|
|
|
+ {
|
|
|
+ title: '标记待定',
|
|
|
+ method: 'undetermined',
|
|
|
+ type: 'success'
|
|
|
+ },
|
|
|
{
|
|
|
title: '标记通过',
|
|
|
method: 'through',
|
|
@@ -280,8 +285,10 @@ export default {
|
|
|
},
|
|
|
{
|
|
|
title: '查看视频',
|
|
|
- method: '',
|
|
|
- type: 'warning'
|
|
|
+ method: 'toVedio',
|
|
|
+ type: 'warning',
|
|
|
+ props: 'interviewStatus',
|
|
|
+ key: 1
|
|
|
},
|
|
|
{
|
|
|
title: '删除',
|
|
@@ -301,23 +308,26 @@ export default {
|
|
|
let page = this.page
|
|
|
this.searchForm = form
|
|
|
let reqdata = form
|
|
|
- // reqdata.isPass = this.isCollapse === 1 ? 0 : this.isCollapse === 2 ? 1 : this.isCollapse === 3 ? 1 : this.is
|
|
|
switch (this.isCollapse) {
|
|
|
- case 1:
|
|
|
+ case 0:
|
|
|
reqdata.isPass = 0
|
|
|
reqdata.isSendInviteMail = 0
|
|
|
break
|
|
|
- case 2:
|
|
|
+ case 1:
|
|
|
reqdata.isPass = 1
|
|
|
reqdata.isSendInviteMail = 0
|
|
|
break
|
|
|
+ case 2:
|
|
|
+ reqdata.isPass = 2
|
|
|
+ reqdata.isSendInviteMail = 0
|
|
|
+ break
|
|
|
case 3:
|
|
|
- reqdata.isPass = 1
|
|
|
- reqdata.isSendInviteMail = 1
|
|
|
+ reqdata.isPass = 3
|
|
|
+ reqdata.isSendInviteMail = 0
|
|
|
break
|
|
|
case 4:
|
|
|
- reqdata.isPass = 2
|
|
|
- reqdata.isSendInviteMail = 0
|
|
|
+ reqdata.isPass = 1
|
|
|
+ reqdata.isSendInviteMail = 1
|
|
|
break
|
|
|
default:
|
|
|
break
|
|
@@ -469,6 +479,27 @@ export default {
|
|
|
? this.del(this.pickList, true)
|
|
|
: this.$message({ type: 'info', message: '请选择需要删除的内容' })
|
|
|
},
|
|
|
+ undetermined (row, type = false) {
|
|
|
+ let ids = type ? row : [row.id]
|
|
|
+ let resumeInfoStatusList = ids.map(item => ({ id: item, isPass: 3 }))
|
|
|
+ this.$api
|
|
|
+ .post('/resumeInfo/changeReadType', {
|
|
|
+ reqdata: {
|
|
|
+ resumeInfoStatusList
|
|
|
+ }
|
|
|
+ })
|
|
|
+ .then((res) => {
|
|
|
+ this.queryData(this.searchForm)
|
|
|
+ })
|
|
|
+ },
|
|
|
+ undeterminedAll () {
|
|
|
+ this.pickList.length
|
|
|
+ ? this.undetermined(this.pickList, true)
|
|
|
+ : this.$message({ type: 'info', message: '请选择待定的应聘者' })
|
|
|
+ },
|
|
|
+ toVedio () {
|
|
|
+ window.open('candidateList')
|
|
|
+ },
|
|
|
selection (val) {
|
|
|
this.$set(this.$data, 'pickList', val)
|
|
|
},
|
|
@@ -494,18 +525,18 @@ export default {
|
|
|
this.$set(
|
|
|
this.table,
|
|
|
'handle',
|
|
|
- this.isCollapse === 1
|
|
|
+ this.isCollapse === 0
|
|
|
? [
|
|
|
{
|
|
|
title: '查看简历',
|
|
|
method: 'details',
|
|
|
type: 'info'
|
|
|
},
|
|
|
- // {
|
|
|
- // title: '通知面试',
|
|
|
- // method: 'notice',
|
|
|
- // type: 'success'
|
|
|
- // },
|
|
|
+ {
|
|
|
+ title: '标记待定',
|
|
|
+ method: 'undetermined',
|
|
|
+ type: 'success'
|
|
|
+ },
|
|
|
{
|
|
|
title: '标记通过',
|
|
|
method: 'through',
|
|
@@ -517,12 +548,17 @@ export default {
|
|
|
type: 'warning'
|
|
|
},
|
|
|
{
|
|
|
- title: '删除',
|
|
|
- method: 'del',
|
|
|
- type: 'danger'
|
|
|
+ title: '标记待定',
|
|
|
+ method: 'undetermined',
|
|
|
+ type: 'warning'
|
|
|
}
|
|
|
+ // {
|
|
|
+ // title: '删除',
|
|
|
+ // method: 'del',
|
|
|
+ // type: 'danger'
|
|
|
+ // }
|
|
|
]
|
|
|
- : this.isCollapse === 2
|
|
|
+ : this.isCollapse === 1
|
|
|
? [
|
|
|
{
|
|
|
title: '查看简历',
|
|
@@ -530,38 +566,61 @@ export default {
|
|
|
type: 'info'
|
|
|
},
|
|
|
{
|
|
|
- title: '通知面试',
|
|
|
- method: 'notice',
|
|
|
- type: 'success'
|
|
|
- },
|
|
|
- {
|
|
|
title: '标记淘汰',
|
|
|
method: 'eliminate',
|
|
|
type: 'warning'
|
|
|
},
|
|
|
{
|
|
|
- title: '删除',
|
|
|
- method: 'del',
|
|
|
- type: 'danger'
|
|
|
- }
|
|
|
- ]
|
|
|
- : [
|
|
|
- {
|
|
|
- title: '标记通过',
|
|
|
- method: 'through',
|
|
|
- type: 'primary'
|
|
|
- },
|
|
|
- {
|
|
|
- title: '删除',
|
|
|
- method: 'del',
|
|
|
- type: 'danger'
|
|
|
+ title: '通知面试',
|
|
|
+ method: 'notice',
|
|
|
+ type: 'success'
|
|
|
}
|
|
|
]
|
|
|
+ : this.isCollapse === 2
|
|
|
+ ? [
|
|
|
+ {
|
|
|
+ title: '查看简历',
|
|
|
+ method: 'details',
|
|
|
+ type: 'info'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '标记通过',
|
|
|
+ method: 'through',
|
|
|
+ type: 'primary'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '删除',
|
|
|
+ method: 'del',
|
|
|
+ type: 'danger'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ : [
|
|
|
+ {
|
|
|
+ title: '查看简历',
|
|
|
+ method: 'details',
|
|
|
+ type: 'info'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '通知面试',
|
|
|
+ method: 'notice',
|
|
|
+ type: 'success'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '标记通过',
|
|
|
+ method: 'through',
|
|
|
+ type: 'primary'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ title: '标记淘汰',
|
|
|
+ method: 'eliminate',
|
|
|
+ type: 'warning'
|
|
|
+ }
|
|
|
+ ]
|
|
|
)
|
|
|
this.$set(
|
|
|
this.$data,
|
|
|
'btn',
|
|
|
- this.isCollapse === 1
|
|
|
+ this.isCollapse === 0
|
|
|
? [
|
|
|
{
|
|
|
name: '确定',
|
|
@@ -569,9 +628,9 @@ export default {
|
|
|
method: 'search'
|
|
|
},
|
|
|
{
|
|
|
- name: '通知面试',
|
|
|
+ name: '标记待定',
|
|
|
type: 'success',
|
|
|
- method: 'notice'
|
|
|
+ method: 'undetermined'
|
|
|
},
|
|
|
{
|
|
|
name: '标记通过',
|
|
@@ -582,9 +641,14 @@ export default {
|
|
|
name: '标题淘汰',
|
|
|
type: 'warning',
|
|
|
method: 'eliminate'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '删除',
|
|
|
+ type: 'danger',
|
|
|
+ method: 'del'
|
|
|
}
|
|
|
]
|
|
|
- : this.isCollapse === 2
|
|
|
+ : this.isCollapse === 1
|
|
|
? [
|
|
|
{
|
|
|
name: '确定',
|
|
@@ -602,16 +666,9 @@ export default {
|
|
|
method: 'eliminate'
|
|
|
}
|
|
|
]
|
|
|
- : this.isCollapse === 3
|
|
|
+ : this.isCollapse === 2
|
|
|
? [
|
|
|
{
|
|
|
- name: '删除',
|
|
|
- type: 'danger',
|
|
|
- method: 'del'
|
|
|
- }
|
|
|
- ]
|
|
|
- : [
|
|
|
- {
|
|
|
name: '确定',
|
|
|
type: 'primary',
|
|
|
method: 'search'
|
|
@@ -627,13 +684,44 @@ export default {
|
|
|
method: 'del'
|
|
|
}
|
|
|
]
|
|
|
+ : this.isCollapse === 3
|
|
|
+ ? [
|
|
|
+ {
|
|
|
+ name: '确定',
|
|
|
+ type: 'primary',
|
|
|
+ method: 'search'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '标记通过',
|
|
|
+ type: 'primary',
|
|
|
+ method: 'through'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '删除',
|
|
|
+ type: 'danger',
|
|
|
+ method: 'del'
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ : [
|
|
|
+ {
|
|
|
+ name: '确定',
|
|
|
+ type: 'primary',
|
|
|
+ method: 'search'
|
|
|
+ },
|
|
|
+ {
|
|
|
+ name: '删除',
|
|
|
+ type: 'danger',
|
|
|
+ method: 'del'
|
|
|
+ }
|
|
|
+ ]
|
|
|
)
|
|
|
this.$set(
|
|
|
this.table,
|
|
|
'width',
|
|
|
- this.isCollapse === 1
|
|
|
- ? 500 : this.isCollapse === 2
|
|
|
- ? 400 : 200
|
|
|
+ this.isCollapse === 0
|
|
|
+ ? 420 : this.isCollapse === 1
|
|
|
+ ? 300 : this.isCollapse === 2
|
|
|
+ ? 300 : 400
|
|
|
)
|
|
|
}
|
|
|
}
|