refactor: 整合财务系统到主应用并重构后端架构
主要变更: - 将独立的 web-finance 应用整合到 web-antd 主应用中 - 重命名 backend-mock 为 backend,增强后端功能 - 新增财务模块 API 端点(账户、预算、类别、交易) - 增强财务仪表板和报表功能 - 添加 SQLite 数据存储支持和财务数据导入脚本 - 优化路由结构,删除冗余的 finance-system 模块 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -16,6 +16,7 @@ interface WorkbenchProjectItem {
|
||||
icon: Component | string;
|
||||
title: string;
|
||||
url?: string;
|
||||
onClick?: () => void;
|
||||
}
|
||||
|
||||
interface WorkbenchTrendItem {
|
||||
@@ -37,6 +38,7 @@ interface WorkbenchQuickNavItem {
|
||||
icon: Component | string;
|
||||
title: string;
|
||||
url?: string;
|
||||
onClick?: () => void;
|
||||
}
|
||||
|
||||
export type {
|
||||
|
||||
@@ -33,6 +33,8 @@ defineEmits(['click']);
|
||||
<CardContent class="flex flex-wrap p-0">
|
||||
<template v-for="(item, index) in items" :key="item.title">
|
||||
<div
|
||||
:data-nav-title="item.title"
|
||||
:data-nav-url="item.url ?? ''"
|
||||
:class="{
|
||||
'border-r-0': index % 3 === 2,
|
||||
'border-b-0': index < 3,
|
||||
@@ -41,13 +43,13 @@ defineEmits(['click']);
|
||||
'rounded-br-xl': index === items.length - 1,
|
||||
}"
|
||||
class="border-border group w-full cursor-pointer border-r border-t p-4 transition-all hover:shadow-xl md:w-1/2 lg:w-1/3"
|
||||
@click="$emit('click', item)"
|
||||
>
|
||||
<div class="flex items-center">
|
||||
<VbenIcon
|
||||
:color="item.color"
|
||||
:icon="item.icon"
|
||||
class="size-8 transition-all duration-300 group-hover:scale-110"
|
||||
@click="$emit('click', item)"
|
||||
/>
|
||||
<span class="ml-4 text-lg font-medium">{{ item.title }}</span>
|
||||
</div>
|
||||
|
||||
@@ -33,6 +33,8 @@ defineEmits(['click']);
|
||||
<CardContent class="flex flex-wrap p-0">
|
||||
<template v-for="(item, index) in items" :key="item.title">
|
||||
<div
|
||||
:data-nav-title="item.title"
|
||||
:data-nav-url="item.url ?? ''"
|
||||
:class="{
|
||||
'border-r-0': index % 3 === 2,
|
||||
'border-b-0': index < 3,
|
||||
|
||||
Reference in New Issue
Block a user