Browse Source

fix: orgId

maopixin 2 years ago
parent
commit
f601034568

+ 1 - 1
src/main/resources/static/app/supervise/controller/stockWarningThresholdCtrl.js

@@ -6,7 +6,7 @@ angular.module('app.supervise')
6
 		$scope.pageInfo = {pageNum: 1, pageSize: 10};
6
 		$scope.pageInfo = {pageNum: 1, pageSize: 10};
7
 		// 加载列表
7
 		// 加载列表
8
 		$scope.loadData = function () {
8
 		$scope.loadData = function () {
9
-			overRunAlarmService.getKcPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize).then(function (data) {
9
+			overRunAlarmService.getKcPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize, $rootScope.orgInfo.orgId).then(function (data) {
10
 				$scope.pageInfo = data.data;
10
 				$scope.pageInfo = data.data;
11
 			}, function (data) {
11
 			}, function (data) {
12
 				// console.log(data);
12
 				// console.log(data);