|
|
|
@ -186,7 +186,7 @@ export default { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
} |
|
|
|
// 审核通过之后触发发短信 |
|
|
|
this.registerResult(this.dataForm.id, this.dataForm.pass) |
|
|
|
this.registerResult(this.dataForm.id) |
|
|
|
this.$message({ |
|
|
|
message: this.$t('prompt.success'), |
|
|
|
type: 'success', |
|
|
|
@ -199,7 +199,7 @@ export default { |
|
|
|
}).catch(() => { }) |
|
|
|
}) |
|
|
|
}, 1000, { 'leading': true, 'trailing': false }), |
|
|
|
registerResult (userId, state) { |
|
|
|
registerResult (userId) { |
|
|
|
this.$http.get(`api/message/sms/registerResult?userId=` + userId + '&state=' + state).then(({ data: res }) => { |
|
|
|
if (res.code !== 0) { |
|
|
|
return this.$message.error(res.msg) |
|
|
|
|