9 Commits

Author SHA1 Message Date
seaislee1209
a5d3739eef feat: 内部事务成本按比例分摊到所有项目 + UI优化
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m19s
Build and Deploy Web / build-and-deploy (push) Successful in 1m9s
- 内部事务成本池:非管理层用户的 时薪×投入时长,按产出秒数比例分摊
- 管理层用户提交内部事务不重复计算(已通过管理成本分摊)
- 人力成本排除内部事务提交,避免重复
- 项目管理页面隐藏"内部事务"项目
- 阶段列宽度调整适配"内部事务"四字显示

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-10 11:11:15 +08:00
seaislee1209
f07126e0ca feat: 内容提交表单全面优化 — 阶段重命名+内容类型扩展+集数条件必填
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 2m4s
Build and Deploy Web / build-and-deploy (push) Successful in 1m13s
- 阶段重命名: "制作" → "中期",全前后端同步
- 新增前期内容类型: 大纲/梗概、概念设计图、测试片
- 配音改名为AI配音(零迁移,DB存英文NAME)
- 集数按内容类型条件显示: 项目级隐藏,集数级必填
- 工作类型全阶段统一: 制作/修改/测试/QC
- 前期内容隐藏产出时长字段
- 必填校验: 描述+投入时长+集数(条件)
- 今日工时进度条(8h目标)+提交后提醒
- 效率计算只统计中期阶段
- EP集数进度查询优化(N+1→批量GROUP BY)
- 提交列表增加按提交人筛选

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-28 17:34:11 +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
2b990f06fb feat: 合同金额权限控制 + 内置角色权限自动同步
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m18s
Build and Deploy Web / build-and-deploy (push) Successful in 53s
- 新增 project:view_contract 权限,仅超级管理员可查看合同金额
- 项目详情、仪表盘、结算页、创建项目表单均受权限保护
- 启动时自动同步内置角色权限,新增权限无需手动更新数据库

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 12:10:02 +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
6ac44d47fb feat: 椤圭洰璇︽儏澧炲己+鎴愬憳璇︽儏椤?浠〃鐩樼泩鍒╂瑙?瑙掕壊鏉冮檺绯荤粺
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 17:41:27 +08:00
seaislee1209
f7b9db6f42 fix: optimize form labels and hints across all pages
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 3m2s
Build and Deploy Web / build-and-deploy (push) Successful in 1m5s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:35:18 +08:00
seaislee1209
bc06725ed1 style: UI鍏ㄩ潰鍗囩骇涓洪涔﹂鏍?- 鐧藉簳钃濊壊涓昏壊璋?娓呯埥涓撲笟
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 51s
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 15:07:54 +08:00
seaislee1209
e76e856dba feat: MVP V1 鍏ㄦ爤鎼缓瀹屾垚 - FastAPI鍚庣 + Vue3鍓嶇 + 绉嶅瓙鏁版嵁
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 14:24:05 +08:00