From 793989f6eb4e39f4b1f47931fdeefb4a12385424 Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期三, 30 七月 2025 16:46:32 +0800 Subject: [PATCH] refactor(eims): 优化设备数据定时任务和报告服务 --- eims-ui/apps/web-antd/src/views/_core/authentication/login.vue | 12 ++++++++---- 1 files changed, 8 insertions(+), 4 deletions(-) diff --git a/eims-ui/apps/web-antd/src/views/_core/authentication/login.vue b/eims-ui/apps/web-antd/src/views/_core/authentication/login.vue index d68624c..6ae0b70 100644 --- a/eims-ui/apps/web-antd/src/views/_core/authentication/login.vue +++ b/eims-ui/apps/web-antd/src/views/_core/authentication/login.vue @@ -8,7 +8,7 @@ import { omit } from 'lodash-es'; -import { tenantList, type TenantResp } from '#/api'; +import { authBinding, tenantList, type TenantResp } from '#/api'; import { captchaImage, type CaptchaResponse } from '#/api/core/captcha'; import { useAuthStore } from '#/store'; @@ -50,7 +50,11 @@ } onMounted(async () => { - await Promise.all([loadCaptcha(), loadTenant()]); + // 鍚姩鍗曠偣鐧诲綍娉ㄩ噴鎺変笅杈硅繖涓�琛岋紝鍚﹀垯鏀惧紑 + // await Promise.all([loadCaptcha(), loadTenant()]); + // 鍚姩鍗曠偣鐧诲綍鏀惧紑涓嬭竟涓よ娉ㄩ噴锛屽惁鍒欐敞閲婃帀 + const href = await authBinding('keycloak', '000000'); + window.location.href = href; }); const formSchema = computed((): VbenFormSchema[] => { @@ -89,7 +93,7 @@ class: 'focus:border-primary', placeholder: $t('authentication.usernameTip'), }, - defaultValue: 'admin', + defaultValue: 'test', fieldName: 'username', label: $t('authentication.username'), rules: z.string().min(1, { message: $t('authentication.usernameTip') }), @@ -100,7 +104,7 @@ class: 'focus:border-primary', placeholder: $t('authentication.password'), }, - defaultValue: 'admin123', + defaultValue: '123456', fieldName: 'password', label: $t('authentication.password'), rules: z.string().min(5, { message: $t('authentication.passwordTip') }), -- Gitblit v1.9.3