温红权 преди 8 години
родител
ревизия
e6ce1dd5ac
променени са 2 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 3 0
      VisualInspection/js/statistics/road_manage_statistics.js
  2. 4 0
      VisualInspection/js/statistics/total_company_statistics.js

+ 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;