26 Commits

Author SHA1 Message Date
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
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
db56ea1f99 fix: 合并.env配置,补回豆包AI/飞书/报告接收人配置
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 54s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 11:44:24 +08:00
zyc
41f91dc5a7 chore: add .env to git for shared DB config
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m21s
Build and Deploy Web / build-and-deploy (push) Successful in 54s
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-14 11:28:19 +08:00
zyc
79368c11e2 fix db bug
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m25s
Build and Deploy Web / build-and-deploy (push) Successful in 56s
2026-02-14 10:01:20 +08:00
seaislee1209
6d636e9799 fix: 防止新依赖缺失导致后端启动崩溃
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 59s
scheduler和reports模块加载失败时不再拖垮整个应用,
核心功能(登录/项目/提交)可正常使用。

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-13 18:44:23 +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
0dbe00a8b4 feat: add seed_demo.py with demo data using real team members
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 18:46:22 +08:00
seaislee1209
e751418540 fix: login page now shows error message on wrong password
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 18:44:02 +08:00
seaislee1209
56ea51fb8b fix: remove 7 fake seed users, keep only 22 real team members
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 18:29:09 +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
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
268c89e15c Merge branch 'master' of https://gitea.airlabs.art/zyc/airlabs-manage
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m21s
Build and Deploy Web / build-and-deploy (push) Successful in 1m2s
2026-02-12 15:29:29 +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
zyc
0c951727a0 fix build bug
Some checks failed
Build and Deploy Backend / build-and-deploy (push) Has been cancelled
Build and Deploy Web / build-and-deploy (push) Has been cancelled
2026-02-12 15:28:13 +08:00
zyc
a74deb5c59 fix ngtinx
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m24s
Build and Deploy Web / build-and-deploy (push) Successful in 52s
2026-02-12 15:16:21 +08:00
zyc
9ad2ac80bf fix nginx
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m33s
Build and Deploy Web / build-and-deploy (push) Successful in 52s
2026-02-12 15:10:48 +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
zyc
df9147a554 fix build
All checks were successful
Build and Deploy Backend / build-and-deploy (push) Successful in 1m20s
Build and Deploy Web / build-and-deploy (push) Successful in 59s
2026-02-12 15:03:28 +08:00
seaislee1209
2a03be54a5 chore: 绮剧畝 .gitignore 浠呮帓闄ょ紦瀛樺拰 node_modules
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 14:51:57 +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
seaislee1209
a9aaee6a57 docs: 鍖哄垎鎹熻€椾笌浜忔崯姒傚康 鎵╁睍椤圭洰绫诲瀷涓哄洓绫?澧炲姞鍥㈤槦鏁堢巼杩借釜鏂规
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 13:59:03 +08:00
seaislee1209
ccbbd2ebb7 docs: 瀹屾垚 AirLabs Project V1 PRD 鏂囨。锛屽惈涓夐樁娈靛垎宸ヤ笌鎴愭湰鍒嗘憡瑙勫垯
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-11 18:28:57 +08:00