Ver código fonte

气象历史数据查询分页bug修改

root 5 anos atrás
pai
commit
c29cc7fa3d

+ 8 - 0
src/main/resources/static/app/intelligent/weather/controller/weatherDetectionCtrl.js

@@ -54,6 +54,14 @@ angular.module('app.intelligent').controller("weatherDetectionCtrl", function ($
54 54
         $rootScope.back();
55 55
     }
56 56
 
57
+    // 翻页
58
+    $scope.goPage = function (pageNum) {
59
+        if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
60
+            $scope.pageInfo.pageNum = pageNum;
61
+            $scope.loadData();
62
+        }
63
+    };
64
+
57 65
     // 定时刷新列表(3分钟)
58 66
     $interval(function () {
59 67
         $scope.loadData();

Diferenças do arquivo suprimidas por serem muito extensas
+ 10507 - 9727
src/main/resources/static/build/app.js