|
|
@@ -378,28 +378,28 @@ export default {
|
|
|
that.withdrawLoading = false
|
|
|
if(res.code == '200') {
|
|
|
if(res.data.bizCode === '2') {
|
|
|
- if(res.data.url) {
|
|
|
- MessageBox.confirm(res.data.msg, '温馨提示',{
|
|
|
- confirmButtonText: '去查看',
|
|
|
- cancelButtonText: '取消',
|
|
|
- type: 'warning'
|
|
|
- }).then(() => {
|
|
|
+ MessageBox.confirm(res.data.msg, '温馨提示',{
|
|
|
+ confirmButtonText: '去查看',
|
|
|
+ cancelButtonText: '取消',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ if(res.data.url) {
|
|
|
window.open(res.data.url)
|
|
|
- })
|
|
|
- }
|
|
|
+ }
|
|
|
+ })
|
|
|
} else if(res.data.bizCode === '1') {
|
|
|
- that.$api.letter.getSignSrc({
|
|
|
- userId: userInfo.id
|
|
|
- }).then(res => {
|
|
|
- if(res.data.url) {
|
|
|
- MessageBox.confirm(res.data.msg, '温馨提示',{
|
|
|
- confirmButtonText: '去签约',
|
|
|
- cancelButtonText: '稍后签约',
|
|
|
- type: 'warning'
|
|
|
- }).then(() => {
|
|
|
+ MessageBox.confirm(res.data.msg, '温馨提示',{
|
|
|
+ confirmButtonText: '去签约',
|
|
|
+ cancelButtonText: '稍后签约',
|
|
|
+ type: 'warning'
|
|
|
+ }).then(() => {
|
|
|
+ that.$api.letter.getSignSrc({
|
|
|
+ userId: userInfo.id
|
|
|
+ }).then(res => {
|
|
|
+ if(res.data.url) {
|
|
|
window.open(res.data.url)
|
|
|
- })
|
|
|
- }
|
|
|
+ }
|
|
|
+ })
|
|
|
})
|
|
|
} else if(res.data.bizCode === '3' || res.data.bizCode === '0') {
|
|
|
that.extract = null
|