Commit 38a6815f authored by zhangderong's avatar zhangderong

转发面试官去重测试

parent af868444
...@@ -382,7 +382,7 @@ ...@@ -382,7 +382,7 @@
</Select> </Select>
</FormItem> </FormItem>
<FormItem> <FormItem>
包含重复推荐,请删除重复再推荐,重复简历:{{this.reResumeName}} <div v-show="isShowRep==true" style="color:red">包含重复推荐,请删除重复再推荐,重复简历:{{this.reResumeName}}</div>
</FormItem> </FormItem>
<FormItem label='' prop='interviewee'> <FormItem label='' prop='interviewee'>
<div v-for='(item, index) in interviewee' :key='index' class='interviewee'> <div v-for='(item, index) in interviewee' :key='index' class='interviewee'>
...@@ -396,7 +396,7 @@ ...@@ -396,7 +396,7 @@
</Form> </Form>
</div> </div>
<div slot='footer' style="text-align:center"> <div slot='footer' style="text-align:center">
<Button type='primary' @click='modal8=false'>取消</Button> <Button type='primary' @click='pushSendNotice'>取消</Button>
<Button type='primary' @click="sendNotice" >发送</Button> <Button type='primary' @click="sendNotice" >发送</Button>
</div> </div>
</Modal> </Modal>
...@@ -490,6 +490,7 @@ import {mapState} from 'vuex' ...@@ -490,6 +490,7 @@ import {mapState} from 'vuex'
limentName:0, limentName:0,
errorMassage:'', errorMassage:'',
errorCode:'', errorCode:'',
isShowRep:false,
emailMassage:false, emailMassage:false,
allEmailVilitor:false, allEmailVilitor:false,
emailContent:'', emailContent:'',
...@@ -1560,6 +1561,7 @@ import {mapState} from 'vuex' ...@@ -1560,6 +1561,7 @@ import {mapState} from 'vuex'
if (res.data.success == true) { if (res.data.success == true) {
this.clearInterviewee() this.clearInterviewee()
this.modal8 = false this.modal8 = false
this.isShowRep=false
setTimeout(() => { setTimeout(() => {
this.$Notice.success({ this.$Notice.success({
title: '提示', title: '提示',
...@@ -1570,17 +1572,21 @@ import {mapState} from 'vuex' ...@@ -1570,17 +1572,21 @@ import {mapState} from 'vuex'
} }
if(res.data.body.code=='40009'){ if(res.data.body.code=='40009'){
this.reResumeName=res.data.body.message this.reResumeName=res.data.body.message
this.isShowRep=true
} }
if(res.data.body.code=='40001'){ if(res.data.body.code=='40001'){
this.modal8=false this.modal8=false
this.modal12=true this.modal12=true
this.isShowRep=false
} }
if(res.data.body.code=='40002'){ if(res.data.body.code=='40002'){
this.modal8=false this.modal8=false
this.modal13=true this.modal13=true
this.isShowRep=false
} }
if(res.data.body.code=='0'){ if(res.data.body.code=='0'){
this.modal8=false this.modal8=false
this.isShowRep=false
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: res.data.body.message desc: res.data.body.message
...@@ -1589,6 +1595,10 @@ import {mapState} from 'vuex' ...@@ -1589,6 +1595,10 @@ import {mapState} from 'vuex'
}) })
}) })
},800), },800),
pushSendNotice(){
this.modal8=false,
this.isShowRep=false
},
remoteMethod: async function(query){ remoteMethod: async function(query){
if (query !== '') { if (query !== '') {
this.loading1 = true; this.loading1 = true;
......
...@@ -379,7 +379,7 @@ ...@@ -379,7 +379,7 @@
</Select> </Select>
</FormItem> </FormItem>
<FormItem> <FormItem>
包含重复推荐,请删除重复再推荐,重复简历:{{this.reResumeName}} <div v-show="isShowRep==true" style="color:red">包含重复推荐,请删除重复再推荐,重复简历:{{this.reResumeName}}</div>
</FormItem> </FormItem>
<FormItem label='' prop='interviewee' > <FormItem label='' prop='interviewee' >
<div v-for='(item, index) in interviewee' :key='index' class='interviewee'> <div v-for='(item, index) in interviewee' :key='index' class='interviewee'>
...@@ -393,7 +393,7 @@ ...@@ -393,7 +393,7 @@
</Form> </Form>
</div> </div>
<div slot='footer' style="text-align:center"> <div slot='footer' style="text-align:center">
<Button type='primary' @click='modal8=false'>取消</Button> <Button type='primary' @click='pushSendNotice'>取消</Button>
<Button type='primary' @click="sendNotice" >发送</Button> <Button type='primary' @click="sendNotice" >发送</Button>
</div> </div>
</Modal> </Modal>
...@@ -433,6 +433,7 @@ export default { ...@@ -433,6 +433,7 @@ export default {
tipInfo: '输入多个邮箱地址以英文”;“分隔', tipInfo: '输入多个邮箱地址以英文”;“分隔',
errorInfo: '', errorInfo: '',
position:[], position:[],
isShowRep:false,
positionArr:[ positionArr:[
], ],
ruleInline: { ruleInline: {
...@@ -1559,6 +1560,7 @@ export default { ...@@ -1559,6 +1560,7 @@ export default {
if (res.data.success == true) { if (res.data.success == true) {
this.clearInterviewee() this.clearInterviewee()
this.modal8 = false this.modal8 = false
this.isShowRep=false
setTimeout(() => { setTimeout(() => {
this.$Notice.success({ this.$Notice.success({
title: '提示', title: '提示',
...@@ -1569,17 +1571,21 @@ export default { ...@@ -1569,17 +1571,21 @@ export default {
} }
if(res.data.body.code=='40009'){ if(res.data.body.code=='40009'){
this.reResumeName=res.data.body.message this.reResumeName=res.data.body.message
this.isShowRep=true
} }
if(res.data.body.code=='40001'){ if(res.data.body.code=='40001'){
this.modal8=false this.modal8=false
this.modal12=true this.modal12=true
this.isShowRep=false
} }
if(res.data.body.code=='40002'){ if(res.data.body.code=='40002'){
this.modal8=false this.modal8=false
this.modal13=true this.modal13=true
this.isShowRep=false
} }
if(res.data.body.code=='0'){ if(res.data.body.code=='0'){
this.modal8=false this.modal8=false
this.isShowRep=false
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: res.data.body.message desc: res.data.body.message
...@@ -1588,6 +1594,10 @@ export default { ...@@ -1588,6 +1594,10 @@ export default {
}) })
}) })
},800), },800),
pushSendNotice(){
this.modal8=false,
this.isShowRep=false
},
remoteMethod: function(query){ remoteMethod: function(query){
if (query !== '') { if (query !== '') {
this.loading1 = true; this.loading1 = true;
......
...@@ -255,6 +255,9 @@ ...@@ -255,6 +255,9 @@
<Option v-for='(item, index) in options' :key='index' :value='item.email'>{{item.name}}({{item.email}})</Option> <Option v-for='(item, index) in options' :key='index' :value='item.email'>{{item.name}}({{item.email}})</Option>
</Select> </Select>
</FormItem> </FormItem>
<FormItem>
<div v-show="isShowRep==true" style="color:red">包含重复推荐,请删除重复再推荐,重复简历:{{this.reResumeName}}</div>
</FormItem>
<FormItem label='' prop='interviewee'> <FormItem label='' prop='interviewee'>
<div class='interviewee'> <div class='interviewee'>
<div class='pic'> <div class='pic'>
...@@ -266,7 +269,7 @@ ...@@ -266,7 +269,7 @@
</Form> </Form>
</div> </div>
<div slot='footer' style="text-align:center"> <div slot='footer' style="text-align:center">
<Button type='primary' @click='modal8=false'>取消</Button> <Button type='primary' @click='pushSendNotice'>取消</Button>
<Button type='primary' @click="sendNotice" >发送</Button> <Button type='primary' @click="sendNotice" >发送</Button>
</div> </div>
</Modal> </Modal>
...@@ -400,6 +403,8 @@ export default { ...@@ -400,6 +403,8 @@ export default {
isShowAll:false, isShowAll:false,
isShowTwo:false, isShowTwo:false,
interviewIsShow:false, interviewIsShow:false,
reResumeName:'',
isShowRep:false,
hasINterview:false, hasINterview:false,
resumeIdList:[], resumeIdList:[],
options3: { options3: {
...@@ -726,33 +731,43 @@ export default { ...@@ -726,33 +731,43 @@ export default {
if (res.data.success == true) { if (res.data.success == true) {
this.clearInterviewee() this.clearInterviewee()
this.modal8 = false this.modal8 = false
this.isShowRep=false
setTimeout(() => { setTimeout(() => {
this.$Notice.success({ this.$Notice.success({
title: '提示', title: '提示',
desc: '发送成功' desc: '发送成功'
}) })
}, 300) }, 300)
} else{ }
this.errorCode=res.data.body.code if(res.data.body.code=='40009'){
this.errorMassage=res.data.body.message this.reResumeName=res.data.body.message
this.isShowRep=true
}
if(res.data.body.code=='40001'){
this.modal8=false this.modal8=false
this.clearInterviewee()
if(this.errorCode=='40001'){
this.modal12=true this.modal12=true
this.isShowRep=false
} }
if(this.errorCode=='40002'){ if(res.data.body.code=='40002'){
this.modal8=false
this.modal13=true this.modal13=true
this.isShowRep=false
} }
if(this.errorCode=='0'){ if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
this.$Notice.error({ this.$Notice.error({
title: '提示', title: '提示',
desc: this.errorMassage desc: res.data.body.message
}) })
} }
}
}) })
}) })
},800), },800),
pushSendNotice(){
this.modal8=false,
this.isShowRep=false
},
transpond() { //打开转发简历的modal transpond() { //打开转发简历的modal
this.$refs.transpondFrom.resetFields() this.$refs.transpondFrom.resetFields()
this.modal8= true this.modal8= true
......
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