|
|
|
@ -94,11 +94,13 @@ |
|
|
|
|
serve.giveCard({ |
|
|
|
|
phone: this.user.userPhone |
|
|
|
|
}).then(res => { |
|
|
|
|
this.time = 60 |
|
|
|
|
this.params.verifyCodeToken = res.data.verifyCodeToken |
|
|
|
|
this.timefn() |
|
|
|
|
this.isFocus = true |
|
|
|
|
this.$refs.smscodePopup.open() |
|
|
|
|
if(res.code === 20000) { |
|
|
|
|
this.time = 60 |
|
|
|
|
this.params.verifyCodeToken = res.data.verifyCodeToken |
|
|
|
|
this.timefn() |
|
|
|
|
this.isFocus = true |
|
|
|
|
this.$refs.smscodePopup.open() |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
} |
|
|
|
@ -145,10 +147,12 @@ |
|
|
|
|
accountCardCode, |
|
|
|
|
...this.params |
|
|
|
|
}).then(res => { |
|
|
|
|
this.$refs.indexPopup.close() |
|
|
|
|
this.$refs.smscodePopup.close() |
|
|
|
|
this.$refs.successPopupt.open() |
|
|
|
|
this.$emit('reloadCard') |
|
|
|
|
if(res.code === 20000) { |
|
|
|
|
this.$refs.indexPopup.close() |
|
|
|
|
this.$refs.smscodePopup.close() |
|
|
|
|
this.$refs.successPopupt.open() |
|
|
|
|
this.$emit('reloadCard') |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|