diff --git a/src/views/forgetpassword/index.vue b/src/views/forgetpassword/index.vue index 3e6cfd91..1f18d6f4 100644 --- a/src/views/forgetpassword/index.vue +++ b/src/views/forgetpassword/index.vue @@ -64,13 +64,13 @@ {{ $t('passwordReset:button:verify') }} -
+
@@ -213,6 +213,7 @@ export default { EmailOrPhone: '', VerificationCode: '', NewPwd: '', + CheckPass: '', UserId: '', UserType: '', }, @@ -255,6 +256,29 @@ export default { }, ], }, + rules2: { + NewPwd: [ + { + required: true, + validator: this.$validatePassword, + trigger: ['blur', 'change'], + }, + ], + CheckPass: [ + { + required: true, + validator: validatePass2, + trigger: ['blur', 'change'], + }, + ], + UserId: [ + { + required: true, + message: this.$t('common:ruleMessage:select'), + trigger: ['blur', 'change'], + }, + ], + }, sendDisabled: true, sendTitle: this.$t('passwordReset:button:send'), formLoading: false, @@ -262,7 +286,7 @@ export default { }, methods: { onSubmit() { - this.$refs['resetForm'].validate((valid) => { + this.$refs['resetForm2'].validate((valid) => { if (valid) { this.formLoading = true anonymousSetPassword(this.form.UserId, md5(this.form.NewPwd)) diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 471a0e5c..0ef7d338 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -34,7 +34,7 @@ style="width: 300px; height: 94px" />
-
{{ $t("login:title:system") }}
+
{{ $t('login:title:system') }}
- {{ $t("login:button:login") }} + {{ $t('login:button:login') }}
- {{ $t("login:button:forgetPassword") }} + {{ $t('login:button:forgetPassword') }}
@@ -181,10 +181,12 @@ >

关于

- {{ $t("login:title:system_title") }} + {{ $t('login:title:system_title') }} +

+

{{ $t('login:title:system') }}

+

+ V{{ $Version.IsEnv_US ? $version.Version_US : $version.Version }}

-

{{ $t("login:title:system") }}

-

V{{ $version.Version }}

Copyright © {{ new Date().getFullYear() }} 上海展影医疗科技有限公司 版权所有 @@ -208,14 +210,14 @@ \ No newline at end of file diff --git a/src/views/trials/trials-panel/attachments/self-attachment/components/SignForm.vue b/src/views/trials/trials-panel/attachments/self-attachment/components/SignForm.vue index 8e62aadb..4274239c 100644 --- a/src/views/trials/trials-panel/attachments/self-attachment/components/SignForm.vue +++ b/src/views/trials/trials-panel/attachments/self-attachment/components/SignForm.vue @@ -1,19 +1,22 @@