3 Incheckningar a82b023ca5 ... 085eee3120

Upphovsman SHA1 Meddelande Datum
  lufeng 085eee3120 fix: rm es6 2 år sedan
  lufeng 70e4338453 fix: rm es6 2 år sedan
  lufeng 79b9a62f76 fix: rm es6 2 år sedan

+ 1 - 1
src/main/resources/static/app/business/facility/controller/facilityGetListCtrl.js

@@ -81,7 +81,7 @@ angular.module('app.business')
81 81
         $scope.loadfacilityList = function() {
82 82
             FacilityGetService.getFacilityList().then(function(data){
83 83
 				 $scope.facilityList = data; 
84
-                 setTimeout(() => {
84
+                 setTimeout(function () {
85 85
                     if($stateParams.facility) {
86 86
                         var receiveFacility = angular.fromJson($stateParams.facility);
87 87
                         $scope.repairInfo = receiveFacility;

+ 1 - 1
src/main/resources/static/app/business/facility/controller/facilityKeepListCtrl.js

@@ -81,7 +81,7 @@ angular.module('app.business')
81 81
         $scope.loadfacilityList = function() {
82 82
             facilityKeepService.getFacilityList().then(function(data){
83 83
 				 $scope.facilityList = data; 
84
-                 setTimeout(() => {
84
+                 setTimeout(function () {
85 85
                     if($stateParams.facility) {
86 86
                         var receiveFacility = angular.fromJson($stateParams.facility);
87 87
                         $scope.keepInfo = receiveFacility;

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