Browse Source

fix: update

maopixin 2 years ago
parent
commit
49a349983b

+ 2 - 2
src/main/resources/static/app/layout/partials/navigation.tpl.html

@@ -457,9 +457,9 @@
457 457
 									<li data-ui-sref-active="active">
458 458
 										<a data-ui-sref="app.business.plan-warning-time">预警时间</a>
459 459
 									</li>
460
-									<li data-ui-sref-active="active">
460
+									<!-- <li data-ui-sref-active="active">
461 461
 										<a data-ui-sref="app.business.plan-warning-set">轮换预警设置</a>
462
-									</li>
462
+									</li> -->
463 463
 									<li data-ui-sref-active="active">
464 464
 										<a data-ui-sref="app.business.plan-warning-list">预警列表</a>
465 465
 									</li>

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

@@ -2,7 +2,7 @@ angular.module('app.storage').controller("monthCtrl", function ($scope, $rootSco
2 2
 	// 获取年份列表
3 3
 	let startYear = new Date().getFullYear() - 2
4 4
 	let years = new Array(6).fill(startYear)
5
-	years.forEach((e, i) => {
5
+	years.forEach(function(e, i) {
6 6
 		years[i] = e + i
7 7
 	})
8 8
 	$scope.years = years

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

@@ -2,7 +2,7 @@ angular.module('app.storage').controller("monthDetailCtrl", function ($scope, $r
2 2
 	// 获取年份列表
3 3
 	let startYear = new Date().getFullYear() - 2
4 4
 	let years = new Array(6).fill(startYear)
5
-	years.forEach((e, i) => {
5
+	years.forEach(function(e, i) {
6 6
 		years[i] = e + i
7 7
 	})
8 8
 	$scope.years = years

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

@@ -2,7 +2,7 @@ angular.module('app.storage').controller("quarterCtrl", function ($scope, $rootS
2 2
 	// 获取年份列表
3 3
 	let startYear = new Date().getFullYear() - 2
4 4
 	let years = new Array(6).fill(startYear)
5
-	years.forEach((e, i) => {
5
+	years.forEach(function(e, i) {
6 6
 		years[i] = e + i
7 7
 	})
8 8
 	$scope.years = years

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

@@ -2,7 +2,7 @@ angular.module('app.storage').controller("quarterDetailCtrl", function ($scope,
2 2
 	// 获取年份列表
3 3
 	let startYear = new Date().getFullYear() - 2
4 4
 	let years = new Array(6).fill(startYear)
5
-	years.forEach((e, i) => {
5
+	years.forEach(function(e, i) {
6 6
 		years[i] = e + i
7 7
 	})
8 8
 	$scope.years = years