refactor: 清理临时检查文件;用户信息增强与登录页优化

- 删除 INSPECTION.md / TODO.md 等临时检查文档
- 新增 UserCompanySummaryVO:登录用户返回所属公司摘要信息
- UserServiceImpl / UserVO:调整用户信息结构与缓存逻辑
- 前端:登录页布局优化 / 用户下拉组件更新
This commit is contained in:
小蟑螂
2026-05-09 17:11:59 +08:00
parent 3d1f9f2a2a
commit 47cc5dc6d1
13 changed files with 102 additions and 327 deletions
@@ -39,7 +39,9 @@
"@vben/utils": "workspace:*",
"@vueuse/core": "catalog:",
"@vueuse/motion": "catalog:",
"clsx": "catalog:",
"echarts": "catalog:",
"tailwind-merge": "catalog:",
"vue": "catalog:",
"vxe-pc-ui": "catalog:",
"vxe-table": "catalog:"
@@ -12,6 +12,7 @@ import type { SetupContext } from 'vue';
import type { VbenFormProps } from '@vben-core/form-ui';
import type { ClassValue } from 'clsx';
import type { ExtendedVxeGridApi, VxeGridProps } from './types';
import {
@@ -25,18 +26,18 @@ import {
watch,
} from 'vue';
import { clsx } from 'clsx';
import { usePriorityValues } from '@vben/hooks';
import { EmptyIcon } from '@vben/icons';
import { $t } from '@vben/locales';
import { usePreferences } from '@vben/preferences';
import {
cloneDeep,
cn,
isBoolean,
isEqual,
mergeWithArrayOverride,
} from '@vben/utils';
import { twMerge } from 'tailwind-merge';
import { VbenHelpTooltip, VbenLoading } from '@vben-core/shadcn-ui';
import { VxeButton } from 'vxe-pc-ui';
@@ -49,6 +50,11 @@ import 'vxe-table/styles/cssvar.scss';
import 'vxe-pc-ui/styles/cssvar.scss';
import './style.css';
/** 合并 Tailwind 类名(须放在全部 import 之后,避免非法模块语法导致运行时无 cn) */
function cn(...inputs: ClassValue[]) {
return twMerge(clsx(inputs));
}
interface Props extends VxeGridProps {
api: ExtendedVxeGridApi;
}