feat: 总览增加计划/实际模块+工作台改版+季报完善

- 总览工作台: 显示部门/计划/实际3个tab
- 计划/实际模块在总览下: 只显示经营月报+经营季报tab, 内容留空
- 季度月报改名为经营季报
- 工作台改版: 学会→学术, 总工作台→总览, 竖向平铺+独立图标
- 5个工作台去除部门模块
- 工作台顺序: 总览→学术→MCN→科普→医患→科研
- session旧名称清理(总工作台→总览, 学会→学术)
- 版本号 v1.0.0.36
This commit is contained in:
mac
2026-07-08 20:48:52 +08:00
parent c0fb382d78
commit 236d43052e
4 changed files with 12 additions and 10 deletions

View File

@@ -148,7 +148,7 @@ function updateSidebarTabs() {
document.querySelectorAll(".sidebar-tab").forEach((btn) => {
const tab = btn.dataset.tab;
if (isOverview) {
btn.style.display = tab === "home" ? "" : "none";
btn.style.display = (tab === "home" || tab === "plan" || tab === "finance") ? "" : "none";
} else {
btn.style.display = tab === "home" ? "none" : "";
}
@@ -242,7 +242,7 @@ window.switchTenant = (tenant) => {
document.querySelector("#workspaceTitle").textContent = tenant.replace("·无界", "") + " OPC 工作台";
if (typeof updateTenantLabel === "function") updateTenantLabel();
updateSidebarTabs();
if (tenant === "总览") switchTab("home");
if (tenant === "总览") { state.planFilter = 'overview'; state.finFilter = 'overview'; switchTab("home"); }
load();
};
window.doLogout = async () => {