...
|
...
|
@@ -19,11 +19,11 @@ |
|
|
<Form-item>
|
|
|
<gee-captcha v-if="isCaptcha" :failNum="failNum" @change="captchaChange"></gee-captcha>
|
|
|
</Form-item>
|
|
|
<Form-item class="login-btn">
|
|
|
<!-- <Form-item class="login-btn">
|
|
|
<Button type="primary" :loading="loading" @click="handleSubmit('formInline')">
|
|
|
登录
|
|
|
</Button>
|
|
|
</Form-item>
|
|
|
</Form-item> -->
|
|
|
</Form>
|
|
|
</Card>
|
|
|
</div>
|
...
|
...
|
@@ -79,6 +79,7 @@ export default { |
|
|
},
|
|
|
captchaChange(vals) {
|
|
|
this.captcha = vals;
|
|
|
this.handleSubmit('formInline');
|
|
|
},
|
|
|
login(username, password, captcha) {
|
|
|
this.loading = true;
|
...
|
...
|
@@ -87,7 +88,10 @@ export default { |
|
|
this.$Message.error(ret.pwdComplexRateDesc);
|
|
|
this.$router.push('/password.html');
|
|
|
} else {
|
|
|
this.$Message.warning(ret.overdueInfo);
|
|
|
if (ret.overdueInfo) {
|
|
|
this.$Message.warning(ret.overdueInfo);
|
|
|
}
|
|
|
|
|
|
this.loading = false;
|
|
|
this.$router.push('/');
|
|
|
}
|
...
|
...
|
|