feat: 新增「我的」模块 — 绩效+预算月报+已发生月报+重点项目

- 侧边栏新增「我的」tab,排序第一,默认首页
- 模块内容:绩效 → 预算月报 → 已发生月报 → 重点项目
- 绩效:自动统计目标/完成/完成率/评分,年/季/月筛选
- 预算月报/已发生月报:12 月汇总表(7 项核心指标)
- 重点项目:展示 Focus 项目清单,点击跳转定位
- 创建 my.js 模块文件,替换原 performance.js 入口
- 总览工作台不显示「我的」入口
This commit is contained in:
mac
2026-07-30 17:27:38 +08:00
parent ee60b1e5ac
commit 384c80e34d
4 changed files with 234 additions and 11 deletions

View File

@@ -6,7 +6,7 @@ applyUserTenants().then(() => {
return load();
}).then(() => {
const savedTab = localStorage.getItem("opc-active-tab");
const validTabs = ["plan", "finance", "projects", "proposals", "products", "performance", "overview_plan", "overview_finance"];
const validTabs = ["plan", "finance", "projects", "proposals", "products", "my", "performance", "overview_plan", "overview_finance"];
if (savedTab && validTabs.includes(savedTab) && document.getElementById(savedTab)) {
switchTab(savedTab);
} else {