Commit 15c8a89d authored by zhangderong's avatar zhangderong

优化代码,测试

parent 1b19d77c
......@@ -347,11 +347,11 @@
:mask-closable='false'>
<div style="text-align:center">
<h2 style="text-align: center;color:black;font-size:16px">发送失败</h2>
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">该面试官没有通过微信端绑定账号,请提醒他关注并绑定。</p>
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">{{errorNotice}}</p>
<p style="text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900" @click="modal12=false">我已知晓</p>
</div>
</Modal>
<Modal
<!-- <Modal
v-model="modal13"
width='480px'
:closable='false'
......@@ -386,7 +386,7 @@
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">您没有关注微信,无法接收通知,请关注并绑定。</p>
<p style="text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900" @click="modal15=false">我已知晓</p>
</div>
</Modal>
</Modal> -->
<!-- 转发邮件 -->
<Modal
v-model="modal8"
......@@ -438,7 +438,7 @@
<Button type='primary' @click="sendFail">确定</Button>
</div>
</Modal>
<Modal
<!-- <Modal
v-model="modal16"
width='350px'
:closable='false'>
......@@ -463,7 +463,7 @@
<Button type='primary' @click='cancelSubmit'>取消</Button>
<Button type='primary' @click="modal17=false">确定</Button>
</div>
</Modal>
</Modal> -->
</div>
</template>
<script>
......@@ -577,6 +577,7 @@ import {mapState} from 'vuex'
modal15:false,
modal17:false,
modal16:false,
errorNotice:'',
transpondFrom: {
interviewerName: ''
},
......@@ -1480,14 +1481,14 @@ import {mapState} from 'vuex'
this.modal11 = true
this.errorInfo = res.data.body.message
}
if(res.data.body.code=='40010'){
this.modal10=false
this.modal16=true
}
if(res.data.body.code=='40011'){
this.modal10=false
this.modal17=true
}
// if(res.data.body.code=='40010'){
// this.modal10=false
// this.modal16=true
// }
// if(res.data.body.code=='40011'){
// this.modal10=false
// this.modal17=true
// }
})
}else{
var formData= new FormData()
......@@ -1636,26 +1637,27 @@ import {mapState} from 'vuex'
this.reResumeName=res.data.body.message
this.isShowRep=true
}
if(res.data.body.code=='40001'){
if(res.data.body.success==false){
this.modal8=false
this.modal12=true
this.isShowRep=false
}
if(res.data.body.code=='40002'){
this.modal8=false
this.modal13=true
this.isShowRep=false
}
if(res.data.body.code=='40010'){
this.modal8=false
this.modal14=true
this.isShowRep=false
}
if(res.data.body.code=='40011'){
this.modal8=false
this.modal15=true
this.isShowRep=false
}
this.errorNotice=res.data.body.message
}
// if(res.data.body.code=='40002'){
// this.modal8=false
// this.modal13=true
// this.isShowRep=false
// }
// if(res.data.body.code=='40010'){
// this.modal8=false
// this.modal14=true
// this.isShowRep=false
// }
// if(res.data.body.code=='40011'){
// this.modal8=false
// this.modal15=true
// this.isShowRep=false
// }
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
......
......@@ -250,11 +250,11 @@
:mask-closable='false'>
<div style="text-align:center">
<h2 style="text-align: center;color:black;font-size:16px">发送失败</h2>
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">该面试官没有通过微信端绑定账号,请提醒他关注并绑定。</p>
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">{{errorNotice}}</p>
<p style="text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900" @click="modal12=false">我已知晓</p>
</div>
</Modal>
<Modal
<!-- <Modal
v-model="modal13"
width='480px'
:closable='false'
......@@ -289,7 +289,7 @@
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">您没有关注微信,无法接收通知,请关注并绑定。</p>
<p style="text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900" @click="modal15=false">我已知晓</p>
</div>
</Modal>
</Modal> -->
<!-- 发送邮件 -->
<Modal
v-model="emailMOdal"
......@@ -435,7 +435,7 @@
<Button type='primary' @click="modal11=false">确定</Button>
</div>
</Modal>
<Modal
<!-- <Modal
v-model="modal16"
width='350px'
:closable='false'>
......@@ -460,7 +460,7 @@
<Button type='primary' @click='cancelSubmit'>取消</Button>
<Button type='primary' @click="modal17=false">确定</Button>
</div>
</Modal>
</Modal> -->
</div>
</template>
<script>
......@@ -591,6 +591,7 @@ export default {
modal15:false,
modal16:false,
modal17:false,
errorNotice:'',
resumePushId:'',
reResumeName:'',
optcode:'',
......@@ -1461,14 +1462,14 @@ export default {
this.modal11 = true
this.errorInfo = res.data.body.message
}
if(res.data.body.code=='40010'){
this.modal10=false
this.modal16=true
}
if(res.data.body.code=='40011'){
this.modal10=false
this.modal17=true
}
// if(res.data.body.code=='40010'){
// this.modal10=false
// this.modal16=true
// }
// if(res.data.body.code=='40011'){
// this.modal10=false
// this.modal17=true
// }
})
}else{
var formData= new FormData()
......@@ -1635,26 +1636,27 @@ export default {
this.reResumeName=res.data.body.message
this.isShowRep=true
}
if(res.data.body.code=='40001'){
if(res.data.body.success==false){
this.modal8=false
this.modal12=true
this.isShowRep=false
}
if(res.data.body.code=='40002'){
this.modal8=false
this.modal13=true
this.isShowRep=false
}
if(res.data.body.code=='40010'){
this.modal8=false
this.modal14=true
this.isShowRep=false
}
if(res.data.body.code=='40011'){
this.modal8=false
this.modal15=true
this.isShowRep=false
}
this.errorNotice=res.data.body.message
}
// if(res.data.body.code=='40002'){
// this.modal8=false
// this.modal13=true
// this.isShowRep=false
// }
// if(res.data.body.code=='40010'){
// this.modal8=false
// this.modal14=true
// this.isShowRep=false
// }
// if(res.data.body.code=='40011'){
// this.modal8=false
// this.modal15=true
// this.isShowRep=false
// }
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
......
......@@ -300,7 +300,7 @@
<Button type='primary' @click="sendFail">确定</Button>
</div>
</Modal>
<Modal
<!-- <Modal
v-model="modal16"
width='350px'
:closable='false'>
......@@ -325,7 +325,7 @@
<Button type='primary' @click='cancelSubmit'>取消</Button>
<Button type='primary' @click="modal17=false">确定</Button>
</div>
</Modal>
</Modal> -->
<Modal
v-model="modal12"
width='450px'
......@@ -334,11 +334,11 @@
:mask-closable='false'>
<div style="text-align:center">
<h2 style="text-align: center;color:black;font-size:16px">发送失败</h2>
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">该面试官没有通过微信端绑定账号,请提醒他关注并绑定。 </p>
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">{{errorNotice}}</p>
<p style="text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900" @click="modal12=false">我已知晓</p>
</div>
</Modal>
<Modal
<!-- <Modal
v-model="modal13"
width='480px'
:closable='false'
......@@ -373,7 +373,7 @@
<p style="text-align: center;color:black;margin-top:15px;font-size:15px">您没有关注微信,无法接收通知,请关注并绑定。</p>
<p style="text-align: center;color:#0092FF;margin-top:30px;font-size:15px;cursor:pointer;font-weight: 900" @click="modal15=false">我已知晓</p>
</div>
</Modal>
</Modal> -->
</div>
</template>
<script>
......@@ -415,6 +415,7 @@ export default {
boxIsShow:false,
resumeBTn:false,
isShowPdf:true,
errorNotice:'',
px:1200,
// src:'/api/http://172.21.10.43/group1/M00/00/58/oYYBAF2nzwqAY4fcAAHyoHPb1Ic418.pdf',
showOriginalDisabled:true,
......@@ -797,26 +798,27 @@ export default {
this.reResumeName=res.data.body.message
this.isShowRep=true
}
if(res.data.body.code=='40001'){
if(res.data.body.success==false){
this.modal8=false
this.modal12=true
this.isShowRep=false
this.errorNotice=res.data.body.message
}
if(res.data.body.code=='40002'){
this.modal8=false
this.modal13=true
this.isShowRep=false
}
if(res.data.body.code=='40010'){
this.modal8=false
this.modal14=true
this.isShowRep=false
}
if(res.data.body.code=='40011'){
this.modal8=false
this.modal15=true
this.isShowRep=false
}
// if(res.data.body.code=='40002'){
// this.modal8=false
// this.modal13=true
// this.isShowRep=false
// }
// if(res.data.body.code=='40010'){
// this.modal8=false
// this.modal14=true
// this.isShowRep=false
// }
// if(res.data.body.code=='40011'){
// this.modal8=false
// this.modal15=true
// this.isShowRep=false
// }
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
......@@ -977,14 +979,14 @@ export default {
this.modal11 = true
this.errorInfo = res.data.body.message
}
if(res.data.body.code=='40010'){
this.modal10=false
this.modal16=true
}
if(res.data.body.code=='40011'){
this.modal10=false
this.modal17=true
}
// if(res.data.body.code=='40010'){
// this.modal10=false
// this.modal16=true
// }
// if(res.data.body.code=='40011'){
// this.modal10=false
// this.modal17=true
// }
})
}
},800),
......
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