@@ -1047,7 +1048,7 @@ function renderFinanceOverview() {
}
}
-// 季度月报渲染
+// 经营季报渲染
function renderFinanceQuarterlyOverview() {
const { summary, financeMonthly } = state.data;
if (!summary) return;
diff --git a/static/modules/plan.js b/static/modules/plan.js
index b3fcb7d..af4af1b 100644
--- a/static/modules/plan.js
+++ b/static/modules/plan.js
@@ -111,14 +111,15 @@ function renderPlan() {
const finHeaderBase = `
|按季度:${qLabels.map((q,i) => ``).join('')}|按月度:${activeMonths.map(m => { const ms = `2026-${String(m).padStart(2,'0')}`; return ``; }).join('')}
`;
const finAddBtn = `
`;
- const planFilterTabs = `
`;
+ const isOverviewMode = state.tenant === "总览";
+ const planFilterTabs = `
${isOverviewMode ? '' : ``}
`;
document.querySelector("#plan").innerHTML = `
${planFilterTabs}
-
+ ${isOverviewMode ? '' : `
计划提醒:计划也是预算,只有真正能够列出计划的预算,才有靠谱的落地可能性
-
+
`}
${state.planFilter !== 'expense' && state.planFilter !== 'overview' && state.planFilter !== 'quarterlyOverview' ? card(`
${finHeaderBase}
${finAddBtn}
`, "py-2 px-4") : ''}
diff --git a/static/modules/utils.js b/static/modules/utils.js
index dd14c57..b5c8267 100644
--- a/static/modules/utils.js
+++ b/static/modules/utils.js
@@ -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 () => {
diff --git a/templates/index.html b/templates/index.html
index bf87e82..0b6da50 100644
--- a/templates/index.html
+++ b/templates/index.html
@@ -76,7 +76,7 @@
-
OPC Manager v1.0.0.35
+
OPC Manager v1.0.0.36