|
@@ -26,6 +26,7 @@ angular.module('app.storage').controller("monthDetailCtrl", function ($scope, $r
|
26
|
26
|
GrainAnalysisService.getInfo(id).then(function(data) {
|
27
|
27
|
console.log(data);
|
28
|
28
|
$scope.form = data
|
|
29
|
+ $scope.temperature = data.tTestdata
|
29
|
30
|
}, function(data){
|
30
|
31
|
console.log(data);
|
31
|
32
|
})
|
|
@@ -84,7 +85,7 @@ angular.module('app.storage').controller("monthDetailCtrl", function ($scope, $r
|
84
|
85
|
$scope.temperature = arr
|
85
|
86
|
var arr2 = []
|
86
|
87
|
for (var i = 0; i < arr.length; i++) {
|
87
|
|
- var e = data[i];
|
|
88
|
+ var e = arr[i];
|
88
|
89
|
arr2.push({
|
89
|
90
|
ycqklx: '',
|
90
|
91
|
ycqkbw: '',
|