lufeng vor 2 Jahren
Ursprung
Commit
085eee3120

+ 1 - 1
src/main/resources/static/app/intelligent/grainDetection/controller/insectPestDetectionCtrl.js

@@ -336,7 +336,7 @@ angular.module('app.intelligent').controller("insectPestDetectionCtrl", function
336 336
                 });
337 337
                 let hczlStr = '';
338 338
                 let ckmdzjhStr = '';
339
-                $scope.pestList.forEach(item => {
339
+                $scope.pestList.forEach(function (item) {
340 340
                     if(item.hczl) {
341 341
                         hczlStr = hczlStr + item.hczl + '#'
342 342
                     }

+ 1 - 1
src/main/resources/static/app/storage/controller/safeProduceRiskCtrl.js

@@ -159,7 +159,7 @@ angular
159 159
         console.log($stateParams.id);
160 160
         if (validator.form()) {
161 161
           $scope.insertRisk.orgId = $rootScope.orgInfo.orgId;
162
-          $scope.fxlxList.forEach((item, i) => {
162
+          $scope.fxlxList.forEach(function (item, i) {
163 163
             if(item.value === $scope.insertRisk.riskTypeName) {
164 164
               $scope.insertRisk.riskTypeId = i;
165 165
             }

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

@@ -7,7 +7,7 @@ angular.module('app.supervise')
7 7
 		// 加载列表
8 8
 		$scope.loadData = function () {
9 9
 			overDueAlarmService.getCcPageInfo($scope.pageInfo.pageNum, $scope.pageInfo.pageSize, $rootScope.orgInfo.orgId).then(function (data) {
10
-				data.data.list.forEach(e => {
10
+				data.data.list.forEach(function (e){
11 11
 					let fcTime = new Date(e.fcTime)
12 12
 					let cznxTime = new Date(e.fcTime)
13 13
 					cznxTime.setFullYear(fcTime.getFullYear() + e.limitYear)