diff options
author | 2018-01-31 14:05:38 +0800 | |
---|---|---|
committer | 2018-01-31 14:05:45 +0800 | |
commit | 2996172f782ab92d40333b06fa664fce45777c94 (patch) | |
tree | 6c6a2ba15bfcfcd2c3fd497722c66e53ae7b3a8d /usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarmController.js | |
parent | 17767ccc8bef6d2a6116f754a5ec4841eb72a1e8 (diff) |
Fix monitor bug about alarm display
Change-Id: I95d6740351745d772d29b98d6c58e142a0c34b84
Issue-ID: USECASEUI-101
Signed-off-by: shentao <shentao@chinamobile.com>
Diffstat (limited to 'usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarmController.js')
-rw-r--r-- | usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarmController.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarmController.js b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarmController.js index 01737677..a533ac24 100644 --- a/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarmController.js +++ b/usecaseui-monitor/src/main/webapp/app/uui/fusion/scripts/controller/alarmController.js @@ -21,6 +21,7 @@ app.controller('alarmGridCtrl', ['$scope', '$log', '$http', '$timeout', '$interv alarmDetailId = value; var obj = $("#lm"); angular.element(obj).scope().currentTab = "app/uui/fusion/scripts/view-models/alarm-details.html"; + s }; $scope.toChart = function () { var obj = $("#lm"); @@ -41,12 +42,12 @@ app.controller('alarmGridCtrl', ['$scope', '$log', '$http', '$timeout', '$interv // li的数据 $scope.open = [{ - id: 1, + id: 'active', name: 'Active', count: 0 }, { - id: 2, + id: 'close', name: 'Closed', count: 0 }, @@ -93,6 +94,7 @@ app.controller('pipeAlarmCtrl', ['$scope', 'ResourceAlarm', '$interval', functio $scope.selectOpen = function (v, func) { $scope.vfstatus = typeof (v) == "undefined" ? "null" : v; + $scope.tableState.pagination.start = 0; $scope.selectedOpen = v; func($scope.tableState); }; |