Initial commit: One Pipe System

完整的管理系统,包含账户管理、卡片管理、套餐管理、财务管理等功能模块。

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
sexygoat
2026-01-22 16:35:33 +08:00
commit 222e5bb11a
495 changed files with 145440 additions and 0 deletions

View File

@@ -0,0 +1,34 @@
# Change: 客户账户管理功能
## Why
运营平台需要统一查看和管理所有客户(包括代理商和企业客户)的账户佣金情况,包括佣金总额、可提现金额、待入账金额、已提现金额等财务数据。目前系统缺少集中的客户账户财务视图,运营人员无法高效地了解客户的佣金和提现状况。
## What Changes
- 新增客户账户管理页面(`src/views/finance/customer-account/index.vue`
- 提供客户账户列表查询功能,支持按客户账号、客户名称、客户类型筛选
- 展示客户的佣金相关财务数据:
- 佣金总额
- 可提现金额
- 待入账金额
- 已提现金额
- 提现次数
- 最后提现时间
- 提供查看客户账户详情功能
- 提供查看客户流水记录功能(入口)
- 添加国际化支持(中英文)
- 添加路由配置(财务模块下)
## Impact
- 新增规范:`specs/customer-account-management/spec.md`
- 新增文件:
- `src/views/finance/customer-account/index.vue`
- 修改文件:
- `src/router/routes/asyncRoutes.ts`(添加路由)
- `src/router/routesAlias.ts`(添加路由别名)
- `src/locales/langs/zh.json`(添加中文翻译)
- `src/locales/langs/en.json`(添加英文翻译)
- `docs/功能.md`(文档更新)
- 依赖模块:
- Element Plus 组件ElTable, ElForm, ElDialog 等)
- 现有的 ArtTable 组件
- 后端 API待对接