Преглед изворни кода

fix: select value改为数字,粮情分析时间修复

maopixin пре 2 година
родитељ
комит
eec59e5ba6

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

@@ -96,7 +96,7 @@ angular.module('app.storage').controller("monthDetailCtrl", function ($scope, $r
96 96
 						swjcbzqk: '',
97 97
 						swjcsgqk: '',
98 98
 						clfahclxg: '',
99
-						jcsj: e.updatetime
99
+						jcsj: e.tTime
100 100
 					})
101 101
 				}
102 102
 				$scope.form.grainAnalysisAbnormalList = arr2

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

@@ -96,7 +96,7 @@ angular.module('app.storage').controller("quarterDetailCtrl", function ($scope,
96 96
 						swjcbzqk: '',
97 97
 						swjcsgqk: '',
98 98
 						clfahclxg: '',
99
-						jcsj: e.updatetime
99
+						jcsj: e.tTime
100 100
 					})
101 101
 				}
102 102
 				$scope.form.grainAnalysisAbnormalList = arr2

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

@@ -87,7 +87,7 @@ angular.module('app.storage').controller("weekDetailCtrl", function ($scope, $ro
87 87
 						swjcbzqk: '',
88 88
 						swjcsgqk: '',
89 89
 						clfahclxg: '',
90
-						jcsj: e.updatetime
90
+						jcsj: e.tTime
91 91
 					})
92 92
 				}
93 93
 				$scope.form.grainAnalysisAbnormalList = arr

+ 1 - 2
src/main/resources/static/app/storage/foodstuffAnalysis/views/monthDetail.html

@@ -234,8 +234,7 @@
234 234
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
235 235
 												<th>
236 236
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
237
-														<input type="hidden" ng-model="item.jcsj" ng-disabled="true" name="jcsj" required="" class="form-control datepicker ng-pristine ng-untouched ng-valid ng-isolate-scope hasDatepicker ng-valid-required" data-smart-datepicker="" autocomplete="off" id="dp1650105345692" disabled="disabled">
238
-														2019-10-06
237
+														{{ item.jcsj }}
239 238
 													</label>
240 239
 												</th>
241 240
 												<th>

+ 1 - 2
src/main/resources/static/app/storage/foodstuffAnalysis/views/quarterDetail.html

@@ -234,8 +234,7 @@
234 234
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
235 235
 												<th>
236 236
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
237
-														<input type="hidden" ng-model="item.jcsj" ng-disabled="true" name="jcsj" required="" class="form-control datepicker ng-pristine ng-untouched ng-valid ng-isolate-scope hasDatepicker ng-valid-required" data-smart-datepicker="" autocomplete="off" id="dp1650105345692" disabled="disabled">
238
-														2019-10-06
237
+														{{ item.jcsj }}
239 238
 													</label>
240 239
 												</th>
241 240
 												<th>

+ 1 - 2
src/main/resources/static/app/storage/foodstuffAnalysis/views/weekDetail.html

@@ -250,8 +250,7 @@
250 250
 											<tr ng-repeat="item in form.grainAnalysisAbnormalList" class="ng-scope">
251 251
 												<th>
252 252
 													<label class="label ng-binding" style="margin-top: 9px;text-align: center;width: 80px;">
253
-														<input type="hidden" ng-model="item.jcsj" ng-disabled="true" name="jcsj" required="" class="form-control datepicker ng-pristine ng-untouched ng-valid ng-isolate-scope hasDatepicker ng-valid-required" data-smart-datepicker="" autocomplete="off" id="dp1650105345692" disabled="disabled">
254
-														2019-10-06
253
+														{{ item.jcsj }}
255 254
 													</label>
256 255
 												</th>
257 256
 												<th>

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

@@ -6,7 +6,7 @@ angular.module('app.supervise')
6 6
 		$scope.search = {
7 7
 			startDate: '',
8 8
 			endDate: '',
9
-			violationType: '疑转圈粮预警',
9
+			violationType: 1,
10 10
 		}
11 11
 		// 默认分页
12 12
 		$scope.pageInfo = {pageNum: 1, pageSize: 10};

+ 1 - 1
src/main/resources/static/app/supervise/views/violationDetail.html

@@ -47,7 +47,7 @@
47 47
 										<section class="col col-3">
48 48
                                             <label class="label">违规类型:<span style="color: red;">*</span></label> 
49 49
                                             <label class="select"> 
50
-                                                <select ng-model="form.violationType" name="violationType" ng-options="item for item in ['疑转圈粮预警']" required>
50
+                                                <select ng-model="form.violationType" name="violationType" ng-options="item.value as item.label for item in [{value: 1, label:'疑转圈粮预警'}]" required>
51 51
                                                 </select><i></i>
52 52
                                             </label>
53 53
                                         </section>

+ 1 - 2
src/main/resources/static/app/supervise/views/violationWarningList.html

@@ -19,9 +19,8 @@
19 19
 										<label>
20 20
 											违规类型:
21 21
 											<select ng-model="search.violationType"
22
-											ng-options="num as num for num in ['疑转圈粮预警']"
22
+											ng-options="item.value as item.label for item in [{value: 1, label:'疑转圈粮预警'}]"
23 23
 											class="form-control input-sm">
24
-											
25 24
 										</select>
26 25
 										</label>
27 26
 										&nbsp;&nbsp;