From 60384e8241fa855b5780260633ee9b9f8904847a Mon Sep 17 00:00:00 2001 From: baoshiwei <baoshiwei@shlanbao.cn> Date: 星期五, 20 六月 2025 14:24:19 +0800 Subject: [PATCH] feat(eims-ui-mobile): 为多个页面添加搜索功能 - 在 equ-list、insp-st、maint-st、req-list 和 res-list 页面中添加设备名称和资产编号的模糊搜索 --- 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