|
@@ -8,8 +8,8 @@
|
|
-->
|
|
-->
|
|
<template>
|
|
<template>
|
|
<div class="candidateList">
|
|
<div class="candidateList">
|
|
- <v-input :btn="isCollapse==1?btn1:isCollapse===2?btn2:isCollapse===3?btn3:btn0" :list="list" :key="isCollapse+3" @del="delAll" @search="search" @through="throughAll" @notice="noticeAll" @eliminate="eliminateAll" @undetermined="undeterminedAll"></v-input>
|
|
|
|
- <el-radio-group v-model="isCollapse" size="medium" style="margin-bottom: 20px;">
|
|
|
|
|
|
+ <v-input :btn="isCollapse==1?btn1:isCollapse===2?btn2:isCollapse===3?btn3:btn0" :list="list" :key="isCollapse+3" @del="delAll" @search="search" @through="throughAll" @notice="noticeAll" @eliminate="eliminateAll" @undetermined="undeterminedAll" @sendMail="sendMailAll"></v-input>
|
|
|
|
+ <el-radio-group v-model="isCollapse" size="medium" style="margin-bottom: 20px;" fill="#00a0e9">
|
|
<el-radio-button :label="0">候选人列表</el-radio-button>
|
|
<el-radio-button :label="0">候选人列表</el-radio-button>
|
|
<el-radio-button :label="1">已通过候选人</el-radio-button>
|
|
<el-radio-button :label="1">已通过候选人</el-radio-button>
|
|
<el-radio-button :label="2">已淘汰候选人</el-radio-button>
|
|
<el-radio-button :label="2">已淘汰候选人</el-radio-button>
|
|
@@ -81,7 +81,7 @@
|
|
<el-form-item label="邮箱地址" prop="delivererMail">
|
|
<el-form-item label="邮箱地址" prop="delivererMail">
|
|
<el-input placeholder="请输入邮箱地址" v-model="uform.delivererMail" maxlength="32" show-word-limit></el-input>
|
|
<el-input placeholder="请输入邮箱地址" v-model="uform.delivererMail" maxlength="32" show-word-limit></el-input>
|
|
</el-form-item>
|
|
</el-form-item>
|
|
- <el-form-item label="面试应聘职位" prop="desiredPositionId">
|
|
|
|
|
|
+ <el-form-item label="应聘职位" prop="desiredPositionId">
|
|
<el-select class="select" v-model="uform.desiredPositionId" placeholder="请选择应聘职位">
|
|
<el-select class="select" v-model="uform.desiredPositionId" placeholder="请选择应聘职位">
|
|
<el-option v-for="item in positionList" :key="item.value" :label="item.label" :value="item.value">
|
|
<el-option v-for="item in positionList" :key="item.value" :label="item.label" :value="item.value">
|
|
</el-option>
|
|
</el-option>
|
|
@@ -129,7 +129,7 @@ export default {
|
|
form: {},
|
|
form: {},
|
|
uform: {},
|
|
uform: {},
|
|
email: '',
|
|
email: '',
|
|
- state: 1,
|
|
|
|
|
|
+ state: 2,
|
|
info: {},
|
|
info: {},
|
|
infoTwo: {},
|
|
infoTwo: {},
|
|
vedioUrl: '',
|
|
vedioUrl: '',
|
|
@@ -248,6 +248,11 @@ export default {
|
|
name: '待定',
|
|
name: '待定',
|
|
type: 'warning',
|
|
type: 'warning',
|
|
method: 'undetermined'
|
|
method: 'undetermined'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '邮件通知',
|
|
|
|
+ method: 'sendMail',
|
|
|
|
+ type: 'success'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
btn1: [{
|
|
btn1: [{
|
|
@@ -275,6 +280,11 @@ export default {
|
|
name: '删除',
|
|
name: '删除',
|
|
type: 'danger',
|
|
type: 'danger',
|
|
method: 'del'
|
|
method: 'del'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '邮件通知',
|
|
|
|
+ method: 'sendMail',
|
|
|
|
+ type: 'success'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
btn3: [{
|
|
btn3: [{
|
|
@@ -291,6 +301,11 @@ export default {
|
|
name: '淘汰',
|
|
name: '淘汰',
|
|
type: 'danger',
|
|
type: 'danger',
|
|
method: 'eliminate'
|
|
method: 'eliminate'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ name: '邮件通知',
|
|
|
|
+ method: 'sendMail',
|
|
|
|
+ type: 'success'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
table: {
|
|
table: {
|
|
@@ -323,7 +338,7 @@ export default {
|
|
// props: 'positionApplied'
|
|
// props: 'positionApplied'
|
|
// },
|
|
// },
|
|
{
|
|
{
|
|
- label: '面试应聘职位',
|
|
|
|
|
|
+ label: '应聘职位',
|
|
props: 'positionName'
|
|
props: 'positionName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -343,11 +358,11 @@ export default {
|
|
props: 'delivererMail'
|
|
props: 'delivererMail'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: '通知面试时间',
|
|
|
|
|
|
+ label: '通知时间',
|
|
props: 'sendMailTime'
|
|
props: 'sendMailTime'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: '完成面试时间',
|
|
|
|
|
|
+ label: '完成时间',
|
|
props: 'confirmInterviewTime'
|
|
props: 'confirmInterviewTime'
|
|
}
|
|
}
|
|
],
|
|
],
|
|
@@ -419,7 +434,7 @@ export default {
|
|
// props: 'positionApplied'
|
|
// props: 'positionApplied'
|
|
// },
|
|
// },
|
|
{
|
|
{
|
|
- label: '面试应聘职位',
|
|
|
|
|
|
+ label: '应聘职位',
|
|
props: 'positionName'
|
|
props: 'positionName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -439,11 +454,11 @@ export default {
|
|
props: 'delivererMail'
|
|
props: 'delivererMail'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: '通知面试时间',
|
|
|
|
|
|
+ label: '通知时间',
|
|
props: 'sendMailTime'
|
|
props: 'sendMailTime'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- label: '完成面试时间',
|
|
|
|
|
|
+ label: '完成时间',
|
|
props: 'confirmInterviewTime'
|
|
props: 'confirmInterviewTime'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -452,7 +467,7 @@ export default {
|
|
options: ['未发送', '发送中', '发送成功', '发送失败']
|
|
options: ['未发送', '发送中', '发送成功', '发送失败']
|
|
}
|
|
}
|
|
],
|
|
],
|
|
- width: 500,
|
|
|
|
|
|
+ width: 300,
|
|
handle: [{
|
|
handle: [{
|
|
title: '查看',
|
|
title: '查看',
|
|
method: 'details',
|
|
method: 'details',
|
|
@@ -500,7 +515,7 @@ export default {
|
|
// props: 'positionApplied'
|
|
// props: 'positionApplied'
|
|
// },
|
|
// },
|
|
{
|
|
{
|
|
- label: '面试应聘职位',
|
|
|
|
|
|
+ label: '应聘职位',
|
|
props: 'positionName'
|
|
props: 'positionName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -581,7 +596,7 @@ export default {
|
|
// props: 'positionApplied'
|
|
// props: 'positionApplied'
|
|
// },
|
|
// },
|
|
{
|
|
{
|
|
- label: '面试应聘职位',
|
|
|
|
|
|
+ label: '应聘职位',
|
|
props: 'positionName'
|
|
props: 'positionName'
|
|
},
|
|
},
|
|
{
|
|
{
|
|
@@ -626,6 +641,11 @@ export default {
|
|
title: '修改',
|
|
title: '修改',
|
|
method: 'update',
|
|
method: 'update',
|
|
type: 'warning'
|
|
type: 'warning'
|
|
|
|
+ },
|
|
|
|
+ {
|
|
|
|
+ title: '邮件通知',
|
|
|
|
+ method: 'sendMail',
|
|
|
|
+ type: 'success'
|
|
}
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
@@ -738,7 +758,7 @@ export default {
|
|
},
|
|
},
|
|
notice (row) {
|
|
notice (row) {
|
|
this.open()
|
|
this.open()
|
|
- this.state = 1
|
|
|
|
|
|
+ this.state = 2
|
|
this.copyPickList = [row.id]
|
|
this.copyPickList = [row.id]
|
|
},
|
|
},
|
|
noticeAll () {
|
|
noticeAll () {
|
|
@@ -899,6 +919,17 @@ export default {
|
|
this.state = 2
|
|
this.state = 2
|
|
this.copyPickList = [id]
|
|
this.copyPickList = [id]
|
|
},
|
|
},
|
|
|
|
+ sendMailAll () {
|
|
|
|
+ if (this.pickList.length) {
|
|
|
|
+ this.open()
|
|
|
|
+ this.state = 2
|
|
|
|
+ } else {
|
|
|
|
+ this.$message({
|
|
|
|
+ type: 'info',
|
|
|
|
+ message: '请选择需通知的应聘者'
|
|
|
|
+ })
|
|
|
|
+ }
|
|
|
|
+ },
|
|
open () {
|
|
open () {
|
|
this.dialogFormVisible = true
|
|
this.dialogFormVisible = true
|
|
},
|
|
},
|