Commit 93364b3c authored by zhangderong's avatar zhangderong

处理判断顺序

parent 92387ec3
...@@ -1636,6 +1636,16 @@ import {mapState} from 'vuex' ...@@ -1636,6 +1636,16 @@ 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 this.isShowRep=true
return
}
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
this.$Notice.error({
title: '提示',
desc: res.data.body.message
})
return
} }
if(res.data.success==false){ if(res.data.success==false){
this.modal8=false this.modal8=false
...@@ -1658,14 +1668,6 @@ import {mapState} from 'vuex' ...@@ -1658,14 +1668,6 @@ import {mapState} from 'vuex'
// this.modal15=true // this.modal15=true
// this.isShowRep=false // this.isShowRep=false
// } // }
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
this.$Notice.error({
title: '提示',
desc: res.data.body.message
})
}
}) })
}) })
},800), },800),
......
...@@ -1635,6 +1635,16 @@ export default { ...@@ -1635,6 +1635,16 @@ 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 this.isShowRep=true
return
}
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
this.$Notice.error({
title: '提示',
desc: res.data.body.message
})
return
} }
if(res.data.success==false){ if(res.data.success==false){
this.modal8=false this.modal8=false
...@@ -1657,14 +1667,6 @@ export default { ...@@ -1657,14 +1667,6 @@ export default {
// this.modal15=true // this.modal15=true
// this.isShowRep=false // this.isShowRep=false
// } // }
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
this.$Notice.error({
title: '提示',
desc: res.data.body.message
})
}
}) })
}) })
},800), },800),
......
...@@ -730,6 +730,15 @@ export default { ...@@ -730,6 +730,15 @@ 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 this.isShowRep=true
return
}
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
this.$Notice.error({
title: '提示',
desc: res.data.body.message
})
} }
if(res.data.success==false){ if(res.data.success==false){
this.modal8=false this.modal8=false
...@@ -752,14 +761,6 @@ export default { ...@@ -752,14 +761,6 @@ export default {
// this.modal15=true // this.modal15=true
// this.isShowRep=false // this.isShowRep=false
// } // }
if(res.data.body.code=='0'){
this.modal8=false
this.isShowRep=false
this.$Notice.error({
title: '提示',
desc: res.data.body.message
})
}
}) })
}) })
},800), },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