From 51d64d6da18c2cc6039974f81c9e0e6f4f0daff2 Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Tue, 14 Nov 2023 11:48:52 +0800 Subject: [PATCH 1/2] 2023-11-14 --- SGGL/FineUIPro.Web/FineUIPro.Web.csproj | 3 +++ SGGL/FineUIPro.Web/common/main_new0.aspx | 16 +++++++++++----- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj index 497154ee..4cf4ce27 100644 --- a/SGGL/FineUIPro.Web/FineUIPro.Web.csproj +++ b/SGGL/FineUIPro.Web/FineUIPro.Web.csproj @@ -15151,12 +15151,14 @@ InspectWanderAboutAllPass.aspx + ASPXCodeBehind InspectWanderAboutAllPass.aspx InspectWanderAboutAllPassList.aspx + ASPXCodeBehind InspectWanderAboutAllPassList.aspx @@ -15184,6 +15186,7 @@ SelectTailTermList.aspx + ASPXCodeBehind SelectTailTermList.aspx diff --git a/SGGL/FineUIPro.Web/common/main_new0.aspx b/SGGL/FineUIPro.Web/common/main_new0.aspx index a96861f6..f5f642b2 100644 --- a/SGGL/FineUIPro.Web/common/main_new0.aspx +++ b/SGGL/FineUIPro.Web/common/main_new0.aspx @@ -217,15 +217,15 @@ -
+
隐患排查治理数据
- 一般隐患 - 重大隐患 + 一般隐患 + 重大隐患
-
+
整改闭环项
@@ -364,7 +364,8 @@ zgbarmap(0) initClick(); }) - + + function GetClickHtml(obj) { var $this = $(obj), type = $this.attr('data-type'), tabType = $this.attr('data-tabType') || ''; var title = ''; @@ -375,6 +376,7 @@ } } console.log(type) + console.log(tabType) if (type == 'HeadOfficeNum') { $('iframe').attr('src', '../DataShow/CompanyPerson.aspx') //企业总部 window.open("../DataShow/CompanyPerson.aspx") @@ -494,6 +496,10 @@ $('iframe').attr('src', '../DataShow/HiddenRectification.aspx') //隐患排查-一般隐患 window.open("../DataShow/HiddenRectification.aspx") + }else if (type == 'yhpc' ) { + $('iframe').attr('src', '../DataShow/HiddenRectification.aspx') //隐患排查-一般隐患 + window.open("../DataShow/HiddenRectification.aspx") + } else if (type == 'yhpc' && tabType == "zd") { $('iframe').attr('src', '../DataShow/HiddenRectification.aspx')//隐患排查-重大隐患 From 416366935c166873a9665112f3793751b50423bb Mon Sep 17 00:00:00 2001 From: fly-l <1420031550@qq.com> Date: Tue, 14 Nov 2023 11:53:38 +0800 Subject: [PATCH 2/2] 2023-11-14 --- SGGL/FineUIPro.Web/common/main_new0.aspx.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/SGGL/FineUIPro.Web/common/main_new0.aspx.cs b/SGGL/FineUIPro.Web/common/main_new0.aspx.cs index 602f5250..e89c0e3c 100644 --- a/SGGL/FineUIPro.Web/common/main_new0.aspx.cs +++ b/SGGL/FineUIPro.Web/common/main_new0.aspx.cs @@ -346,6 +346,9 @@ namespace FineUIPro.Web.common public static string GetMajorZgl() { var num1 = Math.Round(100.0 * GetMajorClosedNum() / (GetMajorClosedNum() + GetMajorNotClosedNum()), 0).ToString(); + if (num1 == "NaN") num1 = "0"; + + return num1; }