Explorar o código

扣分数据不一致

温红权 %!s(int64=8) %!d(string=hai) anos
pai
achega
e6ce1dd5ac

+ 3 - 0
VisualInspection/js/statistics/road_manage_statistics.js

@@ -502,6 +502,9 @@ $(function() {
                 array_check_type.length = 0;
             }
         } else if (type == 7) {
+            array_all_deptname = new Array();
+            map_month_data = new HashMap();
+            map_per_data = new HashMap();
             // array_points_name.length = 0;
             // array_points_pre.length = 0;
             // arrar_points_month.length = 0;

+ 4 - 0
VisualInspection/js/statistics/total_company_statistics.js

@@ -382,6 +382,10 @@ $(function() {
                 array_check_type.length = 0;
             }
         } else if (type == 6) {
+            array_all_deptname = new Array();
+            map_month_data = new HashMap();
+            map_per_data = new HashMap();
+
             // array_points_name.length = 0;
             // array_points_pre.length = 0;
             // arrar_points_month.length = 0;