| | |
| | | this.tips = `${this.countdownTime}s后重新获取` |
| | | uni.$u.toast('验证码已发送'); |
| | | } |
| | | }).catch(err => { |
| | | this.isSendCode = false |
| | | }) |
| | | } else { |
| | | uni.$u.toast('倒计时结束后再发送'); |
| | |
| | | uni.setStorageSync('userInfo', val.data.data) |
| | | if(this.form.userType == '02') { |
| | | uni.reLaunch({ |
| | | url:`/qiye/qiyeIndex/qiyeIndex` |
| | | url:`/qiye/qiyeIndex/qiyeIndex?id=${val.data.data.deptId}` |
| | | }) |
| | | } else if(this.form.userType == '01'){ |
| | | uni.reLaunch({ |
| | | url:`/policy/policyIndex/policyIndex?id=${val.data.data.deptId}` |
| | | url:`/policy/policyIndex/policyIndex` |
| | | }) |
| | | } else { |
| | | uni.reLaunch({ |