From 2aab73a86ab4055b4c33e4e46f9793a2314833bd Mon Sep 17 00:00:00 2001 From: mac Date: Sat, 11 Jul 2026 15:06:23 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E9=A1=B9=E7=9B=AE=E7=BB=8F=E8=90=A5?= =?UTF-8?q?=E8=AF=A6=E7=BB=86=E6=8A=A5=E8=A1=A8=E9=9B=B6=E5=80=BC=E6=9C=88?= =?UTF-8?q?=E4=BB=BD=E6=A3=80=E6=9F=A5=E6=8E=92=E9=99=A4=E7=AD=BE=E7=BA=A6?= =?UTF-8?q?=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - isAllZero跳过sign(合同金额)行, 仅其他指标全零时隐藏月份 - 发生总览和预算总览均已同步 - 版本号 v1.2.0.28 --- static/modules/overview_finance.js | 2 +- static/modules/overview_plan.js | 2 +- templates/index.html | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/static/modules/overview_finance.js b/static/modules/overview_finance.js index b7b24cb..6aa83e2 100644 --- a/static/modules/overview_finance.js +++ b/static/modules/overview_finance.js @@ -60,7 +60,7 @@ function renderFinanceProjectMatrixData(data, container) { var th = '指标月度合计'; for (var ti = 0; ti < tenants.length; ti++) { th += '' + sn[ti] + ''; } th += ''; - if (isAllZero(data, tenants, keys, mi)) continue; + if (isAllZero(data, tenants, keys.filter(function(k) { return k !== 'sign'; }), mi)) continue; var th = '指标月度合计'; for (var ti = 0; ti < tenants.length; ti++) { th += '' + sn[ti] + ''; } th += ''; diff --git a/static/modules/overview_plan.js b/static/modules/overview_plan.js index 91ffb18..87957b0 100644 --- a/static/modules/overview_plan.js +++ b/static/modules/overview_plan.js @@ -49,7 +49,7 @@ function renderProjectMatrixData(data, container) { for (var ti = 0; ti < tenants.length; ti++) { th += '' + sn[ti] + ''; } th += ''; - if (isAllZero(data, tenants, keys, mi)) continue; + if (isAllZero(data, tenants, keys.filter(function(k) { return k !== 'sign'; }), mi)) continue; var th = '指标月度合计'; for (var ti = 0; ti < tenants.length; ti++) { th += '' + sn[ti] + ''; } th += ''; diff --git a/templates/index.html b/templates/index.html index 95d0a3f..1dd2618 100644 --- a/templates/index.html +++ b/templates/index.html @@ -84,7 +84,7 @@
-

OPC Manager v1.2.0.27

+

OPC Manager v1.2.0.28

科普 OPC 工作台