11 Commits

Author SHA1 Message Date
seaislee1209
087d4e1a6b feat: 新增「修改」「QC」工作类型 + EP集数追踪
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 5m44s
Build and Deploy Web / build-and-deploy (push) Successful in 3m24s
- 工作类型新增「修改」(返工)和「QC」(质量审核),支持组长多角色工作记录
- 提交表单支持按集数(EP)归类,项目详情展示各集进度
- 热力图增加修改(橙色)、QC(绿色)颜色区分和图例
- 效率算法优化:产出按小时计算,损耗统计更精准
- 数据库自动迁移:episode_number字段 + work_type ENUM扩展

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 23:18:47 +08:00
seaislee1209
32658fa608 fix: 组长可选负责人 — 新增 /users/brief 轻量接口
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 2m7s
Build and Deploy Web / build-and-deploy (push) Successful in 1m53s
- 新增 GET /api/users/brief 仅返回 id+name,任何登录用户可调用
- Projects.vue / ProjectDetail.vue 改用 brief() 接口,去掉 user:view 权限守卫
- 解决组长新建项目时负责人下拉框"无数据"的问题

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 16:07:01 +08:00
seaislee1209
74106ac21b feat: 密码管理 — 用户自改密码 + 管理员重置密码
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m40s
Build and Deploy Web / build-and-deploy (push) Successful in 2m1s
- 侧边栏新增「修改密码」入口,任何用户可改自己的密码(需验证原密码)
- 用户管理编辑弹窗新增「重置密码」区域,管理员可直接重设任意用户密码
- 后端新增 POST /api/users/change-password 接口
- UserUpdate schema 增加 password 可选字段

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 15:51:30 +08:00
seaislee1209
a43bed1d64 feat: 权限精细化 + 成本人力调整 + 仪表盘模块权限
Some checks failed
Build and Deploy Backend / build-and-deploy (push) Successful in 2m1s
Build and Deploy Web / build-and-deploy (push) Has been cancelled
- 用户管理页面权限拆分:user:view可查看列表,user:manage控制新增/编辑,user:view_cost控制薪资列显示
- 成本管理新增"人力调整"Tab,支持查看和录入CostOverride记录
- 仪表盘新增4个子权限(成本/损耗/盈亏/风险预警),管理员可按角色灵活配置可见模块
- 修复组长进入成本管理页面弹出"权限不足"提示的问题
- 修复主管无法访问用户管理页面的路由权限问题
- 提交页面延期原因字段仅在里程碑超期时显示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-25 14:13:51 +08:00
seaislee1209
dc42306c24 feat: V2.1 三阶段损耗前端增强 + 路由修复 + 演示数据重写
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m22s
Build and Deploy Web / build-and-deploy (push) Successful in 55s
- 仪表盘双色进度条(超100%蓝红分段)、工时损耗展示、chart tooltip增强
- 修复 Submissions.vue 延期原因字段始终显示的Bug
- 修复 SPA catch-all 路由拦截 API 请求(去尾部斜杠)
- seed_demo.py 重写:5项目/4类型/32里程碑/124提交,真实时间线
- 三阶段损耗计算(前期工时/制作秒数/后期工时)
- ContentType 扩展为11种,里程碑增强(预估天数/开始日期/超期检测)
- 更新 PRD 和项目总结文档

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 18:32:07 +08:00
seaislee1209
90707005ed feat: V2功能增强 — 里程碑系统+圆环进度图+损耗修复+AI服务+报告系统
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m27s
Build and Deploy Web / build-and-deploy (push) Successful in 54s
- 项目详情页三阶段里程碑管理(前期/制作/后期)
- 制作卡片改用180px ECharts圆环进度图+右侧数据列表
- 修复损耗率双重计算bug(测试秒数不再重复计入超产)
- 新增飞书推送服务、豆包AI风险分析、APScheduler定时报告
- 项目列表页增强(筛选/排序/批量操作/废弃功能)
- 成员详情页产出时间轴+效率对比
- 成本页固定开支管理

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:36:44 +08:00
seaislee1209
8aa8b805a4 feat: add total waste card to dashboard and import 22 real users
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 18:01:54 +08:00
seaislee1209
6ac44d47fb feat: 椤圭洰璇︽儏澧炲己+鎴愬憳璇︽儏椤?浠〃鐩樼泩鍒╂瑙?瑙掕壊鏉冮檺绯荤粺
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 17:41:27 +08:00
seaislee1209
9970446ece feat(浠〃鐩?: 鏂板4涓狤Charts鍙鍖栧浘琛?
- 杩?0澶╀骇鍑鸿秼鍔挎姌绾垮浘
- 鎴愭湰鏋勬垚鐜舰楗煎浘锛堜汉鍔?AI宸ュ叿/澶栧寘锛?- 椤圭洰浜у嚭瀵规瘮妯悜鏌辩姸鍥?- 鎹熻€楁帓琛屾煴鐘跺浘锛堟寜鎹熻€楃巼鐫€鑹诧級
- 鍚庣鏂板 daily_trend / cost_breakdown / project_comparison 鏁版嵁鎺ュ彛

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:29:20 +08:00
seaislee1209
dba4c55322 chore: 娣诲姞 .gitignore 娓呯悊缂撳瓨鏂囦欢鍜屾暟鎹簱
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 14:48:09 +08:00
seaislee1209
e76e856dba feat: MVP V1 鍏ㄦ爤鎼缓瀹屾垚 - FastAPI鍚庣 + Vue3鍓嶇 + 绉嶅瓙鏁版嵁
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 14:24:05 +08:00