diff --git a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/statisticalPanel.html b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/statisticalPanel.html index 407d1962..4066921d 100644 --- a/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/statisticalPanel.html +++ b/lib/EmergencyService/zdxtEmergencyBootStart/src/main/resources/templates/project/code/statistical/statisticalPanel.html @@ -199,10 +199,9 @@
执法部门数量
--个
- ↑ - ↓ - 2 - + ↑ + ↓ + 2
@@ -210,15 +209,19 @@
执法人员数量
1,969人
- ↓ + + ↑ + ↓ 32
-
本单位执法人员数量
+
本部门执法人员数量
29人
- ↓ + + ↑ + ↓ --
@@ -268,7 +271,10 @@
检查计划数量
1,674个
- ↑35 + + ↑ + ↓ + 35
@@ -276,14 +282,20 @@
行政检查计划数量
1,005个
- ↓62 + + ↑ + ↓ + 62
-
本单位检查计划数量
+
本部门检查计划数量
597个
- ↑26 + + ↑ + ↓ + --
@@ -294,24 +306,32 @@
执法检查数量
--件
- ↑ + + ↑ + ↓ --
-
本单位检查数量
+
联合检查数量
--件
- ↑-- + + ↑ + ↓ + --
-
联合检查数量
+
本部门检查数量
--件
- ↑-- + + ↑ + ↓ + --
@@ -322,23 +342,33 @@
执法预警数量
--次
- ↑-- + + ↑ + ↓ + --
-
+
涉事单位数量
--家
- ↓-- + + ↑ + ↓ + --
-
-
本单位发布预警数量
+
+
本部门发布预警数量
次
- - + + + + + ↑ + --
@@ -350,22 +380,37 @@
执法投诉数量
件
- ↓-- + + + + ↑ + + --
-
入企不扫码投诉数量
+
被投诉部门数量
件
- ↓-- + + + + ↑ + + --
-
被投诉部门数量
+
投诉企业数量
个
- ↓-- + + + + ↑ + + --
@@ -422,18 +467,19 @@ //本年数量 $("#dept-total").text(result.deptTotal); - this.showAndHide("dept-total-top","dept-total-down"); + + showAndHide("dept-huan-top","dept-huan-down"); $("#user-total").text(result.userTotal); - this.showAndHide("user-total-top","user-total-down"); + showAndHide("user-huan-top","user-huan-down"); $("#oneself-user-total").text(result.oneselfUserTotal); - this.showAndHide("oneself-user-total-top","oneself-user-total-down"); + showAndHide("oneself-user-huan-top","oneself-user-huan-down"); //较上年数量 - $("#dept-huan").text("-"); - $("#user-huan").text("-"); - $("#oneself-user-huan").text("-"); + $("#dept-huan").text("0"); + $("#user-huan").text("0"); + $("#oneself-user-huan").text("0"); } }, error: function (er) {} @@ -456,27 +502,27 @@ $("#enterprise-total").text(result[0].total); $("#enterprise-huan").text(result[0].huan); if(result[0].huan >= 0){ - this.showAndHide("enterprise-total-top","enterprise-total-down"); + showAndHide("enterprise-huan-top","enterprise-huan-down"); }else{ - this.showAndHide("enterprise-total-down","enterprise-total-top"); + showAndHide("enterprise-huan-down","enterprise-huan-top"); } //注销 $("#enterprise-xc-total").text(result[1].total); $("#enterprise-xc-huan").text(result[1].huan); if(result[1].huan >= 0){ - this.showAndHide("enterprise-xc-huan-top","enterprise-xc-huan-down"); + showAndHide("enterprise-xc-huan-top","enterprise-xc-huan-down"); }else{ - this.showAndHide("enterprise-xc-huan-down","enterprise-xc-huan-top"); + showAndHide("enterprise-xc-huan-down","enterprise-xc-huan-top"); } //续存 $("#enterprise-zx-total").text(result[2].total); $("#enterprise-zx-huan").text(result[2].huan); if(result[2].huan >= 0){ - this.showAndHide("enterprise-zx-huan-top","enterprise-zx-huan-down"); + showAndHide("enterprise-zx-huan-top","enterprise-zx-huan-down"); }else{ - this.showAndHide("enterprise-zx-huan-down","enterprise-zx-huan-top"); + showAndHide("enterprise-zx-huan-down","enterprise-zx-huan-top"); } }, error: function (er) {} @@ -499,27 +545,28 @@ $("#program-total").text(result[0].total); $("#program-huan").text(result[0].huan); + if(result[0].huan >= 0){ - this.showAndHide("program-huan-top","program-huan-down"); + showAndHide("program-huan-top","program-huan-down"); }else{ - this.showAndHide("program-huan-down","program-huan-top"); + showAndHide("program-huan-down","program-huan-top"); } //行政检查通知 $("#program-xz-total").text(result[1].total); $("#program-xz-huan").text(result[1].huan); if(result[1].huan >= 0){ - this.showAndHide("program-xz-huan-top","program-xz-huan-down"); + showAndHide("program-xz-huan-top","program-xz-huan-down"); }else{ - this.showAndHide("program-xz-huan-down","program-xz-huan-top"); + showAndHide("program-xz-huan-down","program-xz-huan-top"); } //单位 $("#program-dw-total").text(result[2].total); $("#program-dw-huan").text(result[2].huan); if(result[2].huan >= 0){ - this.showAndHide("program-dw-huan-top","program-dw-huan-down"); + showAndHide("program-dw-huan-top","program-dw-huan-down"); }else{ - this.showAndHide("program-dw-huan-down","program-dw-huan-top"); + showAndHide("program-dw-huan-down","program-dw-huan-top"); } }, error: function (er) {} @@ -541,25 +588,25 @@ $("#regis-total").text(result[0].total); $("#regis-huan").text(result[0].huan); if(result[0].huan >= 0){ - this.showAndHide("regis-huan-top","regis-huan-down"); + showAndHide("regis-huan-top","regis-huan-down"); }else{ - this.showAndHide("regis-huan-down","regis-huan-top"); + showAndHide("regis-huan-down","regis-huan-top"); } //注销 $("#regis-dw-total").text(result[1].total); $("#regis-dw-huan").text(result[1].huan); if(result[1].huan >= 0){ - this.showAndHide("regis-dw-huan-top","regis-dw-huan-down"); + showAndHide("regis-dw-huan-top","regis-dw-huan-down"); }else{ - this.showAndHide("regis-dw-huan-down","regis-dw-huan-top"); + showAndHide("regis-dw-huan-down","regis-dw-huan-top"); } //续存 $("#regis-lh-total").text(result[2].total); $("#regis-lh-huan").text(result[2].huan); if(result[2].huan >= 0){ - this.showAndHide("regis-lh-huan-top","regis-lh-huan-down"); + showAndHide("regis-lh-huan-top","regis-lh-huan-down"); }else{ - this.showAndHide("regis-lh-huan-down","regis-lh-huan-top"); + showAndHide("regis-lh-huan-down","regis-lh-huan-top"); } }, error: function (er) {} @@ -580,12 +627,27 @@ //企业 $("#warn-total").text(result[0].total); $("#warn-huan").text(result[0].huan); + if(result[0].huan >= 0){ + showAndHide("warn-huan-top","warn-huan-down"); + }else{ + showAndHide("warn-huan-down","warn-huan-top"); + } //注销 $("#warn-qy-total").text(result[1].total); $("#warn-qy-huan").text(result[1].huan); + if(result[1].huan >= 0){ + showAndHide("warn-qy-huan-top","warn-qy-huan-down"); + }else{ + showAndHide("warn-qy-huan-down","warn-qy-huan-top"); + } //续存 $("#warn-dw-total").text(result[2].total); $("#warn-dw-huan").text(result[2].huan); + if(result[2].huan >= 0){ + showAndHide("warn-dw-huan-top","warn-dw-huan-down"); + }else{ + showAndHide("warn-dw-huan-down","warn-dw-huan-top"); + } }, error: function (er) {} }); @@ -603,12 +665,27 @@ //企业 $("#complaint-total").text(result[0].total); $("#complaint-huan").text(result[0].huan); + if(result[0].huan >= 0){ + showAndHide("complaint-huan-top","complaint-huan-down"); + }else{ + showAndHide("complaint-huan-down","complaint-huan-top"); + } //注销 $("#complaint-qy-total").text(result[1].total); $("#complaint-qy-huan").text(result[1].huan); + if(result[1].huan >= 0){ + showAndHide("complaint-huan-top","complaint-huan-down"); + }else{ + showAndHide("complaint-huan-down","complaint-huan-top"); + } //续存 $("#complaint-dw-total").text(result[2].total); $("#complaint-dw-huan").text(result[2].huan); + if(result[2].huan >= 0){ + showAndHide("complaint-dw-huan-top","complaint-dw-huan-down"); + }else{ + showAndHide("complaint-dw-huan-down","complaint-dw-huan-top"); + } }, error: function (er) {} });