Commit a9992971 authored by FE-安焕焕's avatar FE-安焕焕 👣

修改邀约面试问题

parent 018da372
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
</Button> </Button>
<Button type="primary" size="small" @click="allexport" class='left'>导出列表</Button> <Button type="primary" size="small" @click="allexport" class='left'>导出列表</Button>
<Button type="primary" size="small" @click="sendEmail" class='left leftBtn'>邀请面试</Button> <Button type="primary" size="small" @click="sendEmail(1)" class='left leftBtn'>邀请面试</Button>
</div> </div>
<div style="width:100%;float:left;margin-bottom:40px;overflow-y: auto;height:100%" class="a"> <div style="width:100%;float:left;margin-bottom:40px;overflow-y: auto;height:100%" class="a">
...@@ -1329,15 +1329,15 @@ import {mapState} from 'vuex' ...@@ -1329,15 +1329,15 @@ import {mapState} from 'vuex'
this.ajaxData[index].isShow=false this.ajaxData[index].isShow=false
}, },
// 发送邮件 // 发送邮件
sendEmail(){ sendEmail(type){
if(this.checkboxList.length == 0) { if(this.checkboxList.length == 0&&type) {
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '你尚未选择简历,请先选择简历' desc: '你尚未选择简历,请先选择简历'
}) })
return return
} }
if (this.checkboxList.length > 1){ if (this.checkboxList.length > 1&&type){
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: ' 不能选择多份简历,请选择单份简历' desc: ' 不能选择多份简历,请选择单份简历'
......
...@@ -47,7 +47,7 @@ ...@@ -47,7 +47,7 @@
转发面试官 转发面试官
</Button> </Button>
<Button type="primary" size="small" class='left' @click="allexport">导出列表</Button> <Button type="primary" size="small" class='left' @click="allexport">导出列表</Button>
<Button type="primary" size="small" class='left leftBtn' @click="sendEmail">邀请面试</Button> <Button type="primary" size="small" class='left leftBtn' @click="sendEmail(1)">邀请面试</Button>
</div> </div>
<div style="margin-bottom:40px;float:left;width:100%;overflow-y: auto;height:100%" class="a"> <div style="margin-bottom:40px;float:left;width:100%;overflow-y: auto;height:100%" class="a">
<div style="margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:LightGray" v-show="ajaxData.length==0">暂无数据</div> <div style="margin:50px auto;width:300px;height:200px;line-height:200px;text-align:center;font-size:20px;color:LightGray" v-show="ajaxData.length==0">暂无数据</div>
...@@ -1254,15 +1254,15 @@ export default { ...@@ -1254,15 +1254,15 @@ export default {
this.ajaxData[index].isShow=false this.ajaxData[index].isShow=false
}, },
// 发送邮件 // 发送邮件
sendEmail(){ sendEmail(type){
if(this.checkboxList.length == 0) { if(this.checkboxList.length == 0&&type) {
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: '你尚未选择简历,请先选择简历' desc: '你尚未选择简历,请先选择简历'
}) })
return return
} }
if (this.checkboxList.length > 1){ if (this.checkboxList.length > 10&&type){
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: ' 不能选择多份简历,请选择单份简历' desc: ' 不能选择多份简历,请选择单份简历'
...@@ -1388,6 +1388,7 @@ export default { ...@@ -1388,6 +1388,7 @@ export default {
this.isShowTwo=false this.isShowTwo=false
this.isLimitSize=false this.isLimitSize=false
this.uploadFileList=[] this.uploadFileList=[]
this.clearInterviewee()
this.SouSuo(this.pageT) this.SouSuo(this.pageT)
}, },
getEditorValue(){ // 调编辑器组件方法获取数据 getEditorValue(){ // 调编辑器组件方法获取数据
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment