feat: 累积功能变更 — 聊天集成、租户管理、小程序更新、ETL 增强、迁移脚本

包含多个会话的累积代码变更:
- backend: AI 聊天服务、触发器调度、认证增强、WebSocket、调度器最小间隔
- admin-web: ETL 状态页、任务管理、调度配置、登录优化
- miniprogram: 看板页面、聊天集成、UI 组件、导航更新
- etl: DWS 新任务(finance_area_daily/board_cache)、连接器增强
- tenant-admin: 项目初始化
- db: 19 个迁移脚本(etl_feiqiu 11 + zqyy_app 8)
- packages/shared: 枚举和工具函数更新
- tools: 数据库工具、报表生成、健康检查
- docs: PRD/架构/部署/合约文档更新

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Neo
2026-04-06 00:03:48 +08:00
parent 70324d8542
commit 6f8f12314f
515 changed files with 76604 additions and 7456 deletions

View File

@@ -53,8 +53,9 @@ class TopCustomer(CamelModel):
score: str
score_color: str
service_count: int
balance: str
consume: str
# CHANGE 2026-03-29 | str → float后端返回原始数字前端 WXS 格式化(避免 NaN
balance: float
consume: float
class CoachServiceRecord(CamelModel):
@@ -66,7 +67,8 @@ class CoachServiceRecord(CamelModel):
type_class: str
table: str | None = None
duration: str
income: str
# CHANGE 2026-03-29 | str → float后端返回原始数字前端 WXS 格式化(避免 NaN
income: float
date: str
perf_hours: str | None = None
@@ -74,9 +76,10 @@ class CoachServiceRecord(CamelModel):
class HistoryMonth(CamelModel):
month: str
estimated: bool
customers: str
hours: str
salary: str
# CHANGE 2026-03-29 | str → int/float后端返回原始数字前端 WXS 格式化(避免 NaN
customers: int
hours: float
salary: float
callback_done: int
recall_done: int