Bladeren bron

各种问题调整

fanxiongwei 3 jaren geleden
bovenliggende
commit
f1f30cab15
45 gewijzigde bestanden met toevoegingen van 310 en 284 verwijderingen
  1. 1 1
      src/main/resources/static/app/basic/keeper/controller/keeperCtrl.js
  2. 13 13
      src/main/resources/static/app/basic/keeper/views/keeper-view.html
  3. 10 3
      src/main/resources/static/app/basic/storehouse/controller/StorehouseCtrl.js
  4. 11 1
      src/main/resources/static/app/basic/storehouse/views/warehousenew-edit.html
  5. 3 0
      src/main/resources/static/app/basic/tank/controller/TankCtrl.js
  6. 29 15
      src/main/resources/static/app/basic/tank/view/tank-edit.html
  7. 6 3
      src/main/resources/static/app/basic/warehouse/controller/warehouseCtrl.js
  8. 3 2
      src/main/resources/static/app/basic/warehouse/service/warehouseService.js
  9. 25 10
      src/main/resources/static/app/basic/warehouse/views/warehouse-edit.html
  10. 2 2
      src/main/resources/static/app/business/customer/views/customer-edit.html
  11. 8 0
      src/main/resources/static/app/business/device/controller/deviceCheckCtrl.js
  12. 5 31
      src/main/resources/static/app/business/device/controller/deviceGetCtrl.js
  13. 6 79
      src/main/resources/static/app/business/device/controller/deviceKeepCtrl.js
  14. 5 29
      src/main/resources/static/app/business/device/controller/deviceRepairCtrl.js
  15. 8 0
      src/main/resources/static/app/business/device/controller/deviceStorageCtrl.js
  16. 1 1
      src/main/resources/static/app/home/service/liangspzService.js
  17. 4 4
      src/main/resources/static/app/intelligent/aeration/views/aerationJob-edit.html
  18. 50 20
      src/main/resources/static/app/intelligent/grainDetection/controller/insectPestDetectionCtrl.js
  19. 19 0
      src/main/resources/static/app/intelligent/grainDetection/service/insectPestDetectionService.js
  20. 17 22
      src/main/resources/static/app/intelligent/grainDetection/views/insectPestDetection-edit.html
  21. 3 2
      src/main/resources/static/app/intelligent/grainDetection/views/insectPestDetection-list.html
  22. 1 1
      src/main/resources/static/app/intelligent/module.js
  23. 1 1
      src/main/resources/static/app/layout/partials/navigation.tpl.html
  24. 3 3
      src/main/resources/static/app/monitor/views/camera-edit.html
  25. 5 0
      src/main/resources/static/app/storage/drug/drugDestroy/controller/drugDestroySaveCtrl.js
  26. 1 1
      src/main/resources/static/app/storage/drug/drugDestroy/views/drugDestroy-edit.html
  27. 4 2
      src/main/resources/static/app/storage/drug/drugInfo/controller/drugInfoSaveCtrl.js
  28. 1 1
      src/main/resources/static/app/storage/drug/drugInfo/views/drugInfo-edit.html
  29. 0 2
      src/main/resources/static/app/storage/drug/drugInfo/views/drugInfo-list.html
  30. 2 2
      src/main/resources/static/app/storage/drug/drugPurchase/controller/drugPurchaseSaveCtrl.js
  31. 1 1
      src/main/resources/static/app/storage/drug/drugPurchase/views/drugPurchase-edit.html
  32. 6 1
      src/main/resources/static/app/storage/drug/drugRestore/controller/drugRestoreSaveCtrl.js
  33. 1 1
      src/main/resources/static/app/storage/drug/drugRestore/views/drugRestore-edit.html
  34. 1 1
      src/main/resources/static/app/storage/drug/drugStorage/views/drugStorage-edit.html
  35. 1 1
      src/main/resources/static/app/storage/drug/drugUse/controller/drugUseSaveCtrl.js
  36. 1 1
      src/main/resources/static/app/storage/drug/drugUseApply/controller/drugUseApplySaveCtrl.js
  37. 7 0
      src/main/resources/static/app/storage/grainCard/controller/checkFoodSituationListCtrl.js
  38. 3 3
      src/main/resources/static/app/storage/grainCard/views/checkFoodSituationList.html
  39. 4 3
      src/main/resources/static/app/storage/grainCard/views/grainCarAdd.html
  40. 4 3
      src/main/resources/static/app/storage/grainCard/views/oilCarAdd.html
  41. 22 11
      src/main/resources/static/app/storage/product/controller/productCtrl.js
  42. 1 1
      src/main/resources/static/app/storage/product/views/product-edit.html
  43. 2 1
      src/main/resources/static/app/storage/service/keepAccountService.js
  44. 7 3
      src/main/resources/static/app/system/views/org-edit.html
  45. 2 2
      src/main/resources/static/app/system/views/user-edit.html

+ 1 - 1
src/main/resources/static/app/basic/keeper/controller/keeperCtrl.js

@@ -226,7 +226,7 @@ angular.module('app.basic')
226 226
 			$scope.keeper.idCard = data.sfzhm; //身份证号码
227 227
             $scope.keeper.phone = data.mobile; //电话
228 228
 			$scope.keeper.employeeNature = data.rylb; //职员类别
229
-			$scope.keeper.entryTime = data.rzrq; //入职日期
229
+			$scope.keeper.entryTime = $filter('date')(data.rzrq, "yyyy-MM-dd"); //入职日期
230 230
             $scope.keeper.email = data.email;  //邮箱
231 231
 			$scope.keeper.political = data.zzmm; //政治面貌
232 232
             $scope.keeper.avatorUrl = data.imgUrl; //头像

+ 13 - 13
src/main/resources/static/app/basic/keeper/views/keeper-view.html

@@ -38,17 +38,17 @@
38 38
 								<div class="panel-body">
39 39
 									<ul class="list-group .add-listclass">
40 40
 										<style>
41
-.hb-vie .glyphicon {
42
-	margin-right: 5px;
43
-}
41
+										.hb-vie .glyphicon {
42
+											margin-right: 5px;
43
+										}
44 44
 
45
-.hb-vie .add-listclass {
46
-	border: none !important;
47
-	border-bottom: 1px solid #f5f5f5 !important;
48
-	margin-bottom: 0px !important;
49
-	margin-left: 1%;
50
-}
51
-</style>
45
+										.hb-vie .add-listclass {
46
+											border: none !important;
47
+											border-bottom: 1px solid #f5f5f5 !important;
48
+											margin-bottom: 0px !important;
49
+											margin-left: 1%;
50
+										}
51
+										</style>
52 52
 										<li class="list-group-item add-listclass col-sm-12">
53 53
 											<span class="font-lg text-right col-sm-4">出生日期:</span>
54 54
 											<span class="font-lg col col-sm-8">{{keeper.birthday | date :'yyyy-MM-dd'}}</span>
@@ -63,9 +63,9 @@
63 63
 										<li class="list-group-item add-listclass col-sm-12">
64 64
 											<span class="font-lg text-right col-sm-4">联系方式:</span>
65 65
 											<span class="font-lg col col-sm-8">{{keeper.phone}}</span></li>
66
-										<li class="list-group-item add-listclass col-sm-12">
67
-											<span class="font-lg text-right col-sm-4">保管工作年限:</span>
68
-											<span class="font-lg col col-sm-8">{{keeper.workYear}}</span></li>
66
+<!--										<li class="list-group-item add-listclass col-sm-12">-->
67
+<!--											<span class="font-lg text-right col-sm-4">保管工作年限:</span>-->
68
+<!--											<span class="font-lg col col-sm-8">{{keeper.workYear}}</span></li>-->
69 69
 										<li class="list-group-item add-listclass col-sm-12">
70 70
 											<span class="font-lg text-right col-sm-4">邮箱:</span>
71 71
 											<span class="font-lg col col-sm-8">{{keeper.email}}</span></li>

+ 10 - 3
src/main/resources/static/app/basic/storehouse/controller/StorehouseCtrl.js

@@ -282,7 +282,7 @@ angular.module('app.basic')
282 282
     	    console.log(data);
283 283
         });
284 284
     }
285
-    // 仓房编码最多只能输入2位数字
285
+    // 仓房编码最多只能输入3位数字
286 286
     $scope.checkUp = function() {
287 287
     	var text = $scope.basicStorehouse.storehouseCode;
288 288
     	if (text != null && text != "") {
@@ -771,7 +771,7 @@ angular.module('app.basic')
771 771
     	var text = $scope.warehouse.warehouseCode;
772 772
     	if (text != null && text != "") {
773 773
     		var a = text.substring(text.length - 1, text.length);
774
-	    	var reg = /^\d$/g;
774
+	    	var reg = /^\d{2}$/g;
775 775
 	    	if (!reg.test(a)) {
776 776
 	    		$scope.warehouse.warehouseCode = text.replace(a, "");
777 777
 	    	}
@@ -838,7 +838,7 @@ angular.module('app.basic')
838 838
 				}
839 839
 			}
840 840
 		}
841
-	},"请输大于0的数且要小于或等于仓房的设计容量!");
841
+	},"请输大于0的数,当前仓房下所有货位的容量之和要小于或等于仓房的设计容量!");
842 842
 	
843 843
 	$.validator.addMethod("wareCode",function(value,element, params) {
844 844
 		if(value == 0){
@@ -853,6 +853,13 @@ angular.module('app.basic')
853 853
 	    	}
854 854
 		}
855 855
 	},"货位编码必须是两位数字!");
856
+
857
+	$scope.setLylx = function (warehouse) {
858
+		var crk_status = warehouse.crkStatus;
859
+		if (crk_status == "1") {
860
+			warehouse.lylx = null;
861
+		}
862
+	}
856 863
     
857 864
 	var validator;
858 865
     // 提交表单

+ 11 - 1
src/main/resources/static/app/basic/storehouse/views/warehousenew-edit.html

@@ -57,7 +57,7 @@
57 57
 						<label class="label">出入库状态<span style="color: red;margin-left: 5px;text-align: center;">*</span></label> 
58 58
 						<label class="select">
59 59
 	                        <select ng-model="warehouse.crkStatus" ng-disabled="isNotEdit" name="crkStatus"
60
-	                                ng-options="enum.id as enum.name for enum in crkzt"
60
+	                                ng-options="enum.id as enum.name for enum in crkzt" ng-change="setLylx(warehouse)"
61 61
 	                                class="form-control" required>
62 62
 	                            <option value="">--请选择--</option>
63 63
 	                        </select>
@@ -65,6 +65,16 @@
65 65
                     </section>
66 66
 				</div>
67 67
 				<div class="row">
68
+					<section class="col col-4">
69
+						<label class="label">储存粮食类型</label>
70
+						<label class="select">
71
+							<select ng-model="warehouse.lylx" name="lylx" ng-disabled="isNotEdit" class="form-control">
72
+								<option value="">--请选择--</option>
73
+								<option value="0">原粮</option>
74
+								<option value="1">成品粮</option>
75
+							</select>
76
+						</label>
77
+					</section>
68 78
 					<section class="col col-8">
69 79
 						<label class="label">货位图片</label>
70 80
 						<div class="input input-file">

+ 3 - 0
src/main/resources/static/app/basic/tank/controller/TankCtrl.js

@@ -188,6 +188,9 @@ angular.module('app.basic')
188 188
                 return false;
189 189
             }
190 190
         },"请输入正确的编码格式,如:YG001");
191
+        if ($scope.tank.crkStatus == "1") {
192
+            $scope.tank.lylx = null;
193
+        }
191 194
         if (validator.form()) {
192 195
         	$scope.tank.builddate = $("input[name='builddate']").val();
193 196
             TankService.save($scope.tank, $rootScope.userInfo.orgId).then(function(data){

+ 29 - 15
src/main/resources/static/app/basic/tank/view/tank-edit.html

@@ -241,27 +241,15 @@
241 241
 											</label>
242 242
                                         </th>
243 243
                                         <th>
244
-                                        	<label class="label" style="margin-top: 9px;text-align: center;">出入库状态<span style="color: red;margin-left: 5px;text-align: center;">*</span></label>
245
-                                        </th>
246
-	                                    <th>
247
-	                                    	<label class="select">
248
-	                                    		<select ng-model="tank.crkStatus" ng-disabled="isNotEdit" name="crkStatus"
249
-                                                        ng-options="enum.id as enum.name for enum in crkzt"
250
-                                                        class="form-control" required>
251
-                                                    <option value="">--请选择--</option>
252
-                                                </select>
253
-	                                    	</label>
254
-	                                    </th>
255
-                                    </tr>
256
-                                    <tr>
257
-                                    	<th>
258 244
                                             <label class="label" style="margin-top: 9px;text-align: center;">建设单位</label>
259 245
                                         </th>
260 246
                                         <th>
261 247
                                             <label class="input">
262
-                                                 <input type="text" ng-model="tank.jsdw" name="jsdw" ng-readonly="isNotEdit">
248
+                                                <input type="text" ng-model="tank.jsdw" name="jsdw" ng-readonly="isNotEdit">
263 249
                                             </label>
264 250
                                         </th>
251
+                                    </tr>
252
+                                    <tr>
265 253
                                         <th>
266 254
                                             <label class="label" style="margin-top: 9px;text-align: center;">设计单位</label>
267 255
                                         </th>
@@ -278,6 +266,32 @@
278 266
                                                  <input type="text" ng-model="tank.jldw" name="jldw" ng-readonly="isNotEdit">
279 267
                                             </label>
280 268
                                         </th>
269
+                                        <th>
270
+                                            <label class="label" style="margin-top: 9px;text-align: center;">出入库状态<span style="color: red;margin-left: 5px;text-align: center;">*</span></label>
271
+                                        </th>
272
+                                        <th>
273
+                                            <label class="select">
274
+                                                <select ng-model="tank.crkStatus" ng-disabled="isNotEdit" name="crkStatus"
275
+                                                        ng-options="enum.id as enum.name for enum in crkzt"
276
+                                                        class="form-control" required>
277
+                                                    <option value="">--请选择--</option>
278
+                                                </select>
279
+                                            </label>
280
+                                        </th>
281
+                                    </tr>
282
+                                    <tr>
283
+                                        <th>
284
+                                            <label class="label" style="margin-top: 9px;text-align: center;">储存粮油类型</label>
285
+                                        </th>
286
+                                        <th>
287
+                                            <label class="select">
288
+                                                <select ng-model="tank.lylx" ng-disabled="isNotEdit" name="lylx" class="form-control" >
289
+                                                    <option value="">--请选择--</option>
290
+                                                    <option value="0">原油</option>
291
+                                                    <option value="1">成品油</option>
292
+                                                </select>
293
+                                            </label>
294
+                                        </th>
281 295
                                     </tr>
282 296
                                     <tr>
283 297
                                     	<th><label class="label" style="margin-top: 9px;text-align: center;">油罐图</label></th>

+ 6 - 3
src/main/resources/static/app/basic/warehouse/controller/warehouseCtrl.js

@@ -261,12 +261,12 @@ angular.module('app.basic')
261 261
         });
262 262
     }
263 263
     
264
-    // 货位编码最多只能输入2位数字
264
+    // 货位编码最多只能且必须是2位数字
265 265
     $scope.checkUp = function() {
266 266
     	var text = $scope.warehouse.warehouseCode;
267 267
     	if (text != null && text != "") {
268 268
     		var a = text.substring(text.length - 1, text.length);
269
-	    	var reg = /^\d$/g;
269
+	    	var reg = /^\d{2}$/g;
270 270
 	    	if (!reg.test(a)) {
271 271
 	    		$scope.warehouse.warehouseCode = text.replace(a, "");
272 272
 	    	}
@@ -326,7 +326,7 @@ angular.module('app.basic')
326 326
 				return this.optional(element) || true;
327 327
 			}
328 328
 		}
329
-	},"请输大于0的数且要小于或等于仓房的设计容量!");
329
+	},"请输大于0的数,当前仓房下所有货位的容量之和要小于或等于仓房的设计容量!");
330 330
     
331 331
 	var validator;
332 332
     // 提交表单
@@ -341,6 +341,9 @@ angular.module('app.basic')
341 341
                 return false;
342 342
             }
343 343
         },"请输入正确的编码格式,如:01");
344
+        if ($scope.warehouse.crkStatus == "1") {
345
+            $scope.warehouse.lylx = null;
346
+        }
344 347
     	if (validator.form()) {
345 348
     		$scope.warehouse.warehouseUseTime = $("#warehouseUseTime").val();
346 349
 	    	warehouseService.save($scope.warehouse, $rootScope.userInfo).then(function(data){

+ 3 - 2
src/main/resources/static/app/basic/warehouse/service/warehouseService.js

@@ -1,6 +1,6 @@
1 1
 "use strict";
2 2
 
3
-angular.module('app.basic').service("warehouseService", function($http, $q, APP_CONFIG) {
3
+angular.module('app.basic').service("warehouseService", function($http, $q, $rootScope, APP_CONFIG) {
4 4
     this.getPageInfo = function(pageNum, pageSize, ware, orgId, libraryType, delFlag) {
5 5
         var d = $q.defer();
6 6
         $http({
@@ -57,7 +57,8 @@ angular.module('app.basic').service("warehouseService", function($http, $q, APP_
57 57
             url: APP_CONFIG.basicUrl + '/Warehouse/edit',
58 58
             data: {
59 59
             	warehouseJson : angular.toJson(warehouse),
60
-            	userInfo : angular.toJson(userInfo)
60
+            	userInfo : angular.toJson(userInfo),
61
+                orgInfoJson : angular.toJson($rootScope.orgInfo)
61 62
             }
62 63
         }).then(function successCallback(response) {
63 64
             // 请求成功执行代码

+ 25 - 10
src/main/resources/static/app/basic/warehouse/views/warehouse-edit.html

@@ -74,15 +74,6 @@
74 74
 							oninput="if(value.length>8) value=value.slice(0,8)" />
75 75
 						</label>
76 76
 					</section>
77
-<!-- 					<section class="col col-4"> -->
78
-<!-- 						<label class="label">货位使用状态</label> <label class="select"> -->
79
-<!-- 							<select ng-model="warehouse.warehouseStatus" ng-disabled="true" placeholder="空仓" -->
80
-<!-- 								ng-options="enum.enumid as enum.enumname for enum in dicDataList[1055]" -->
81
-<!-- 								class="form-control"> -->
82
-<!-- 								<option value="">空仓</option> -->
83
-<!-- 							</select> -->
84
-<!-- 						</label> -->
85
-<!-- 					</section> -->
86 77
 					<section class="col col-8">
87 78
 						<label class="label">货位图片</label>
88 79
 						<div class="input input-file">
@@ -93,9 +84,33 @@
93 84
 				        </div>
94 85
 					</section>
95 86
 				</div>
87
+				<div class="row">
88
+					<section class="col col-4">
89
+						<label class="label">出入库状态<span style="color: red;margin-left: 5px;text-align: center;">*</span></label>
90
+						<label class="select">
91
+							<select ng-model="warehouse.crkStatus" name="crkStatus" required ng-disabled="isNotEdit" class="form-control">
92
+								<option value="">请选择</option>
93
+								<option value="1">空仓</option>
94
+								<option value="2">入库中</option>
95
+								<option value="3">封仓</option>
96
+								<option value="4">出库中</option>
97
+							</select>
98
+						</label>
99
+					</section>
100
+					<section class="col col-4">
101
+						<label class="label">储存粮食类型</label>
102
+						<label class="select">
103
+							<select ng-model="warehouse.lylx" name="lylx" ng-disabled="isNotEdit" class="form-control">
104
+								<option value="">--请选择--</option>
105
+								<option value="0">原粮</option>
106
+								<option value="1">成品粮</option>
107
+							</select>
108
+						</label>
109
+					</section>
110
+				</div>
96 111
 				<section>
97 112
 					<label class="label">备注</label> <label class="textarea"> <textarea
98
-							rows="5" ng-model="warehouse.remark" name="remark" ng-disabled="isNotEdit"
113
+							rows="4" ng-model="warehouse.remark" name="remark" ng-disabled="isNotEdit"
99 114
 							oninput="if(value.length>200) value=value.slice(0,200)"></textarea>
100 115
 					</label>
101 116
 				</section>

+ 2 - 2
src/main/resources/static/app/business/customer/views/customer-edit.html

@@ -132,7 +132,7 @@
132 132
                                         <section class="col col-4">
133 133
                                             <label class="label">联系人身份证号</label>
134 134
                                             <label class="input">
135
-                                                <input class="form-control" type="text" ng-model="customer.lxrsfzh" ng-readonly="isNotEdit" name="lxrsfzh" validEmail=true />
135
+                                                <input class="form-control" type="text" ng-model="customer.lxrsfzh" ng-readonly="isNotEdit" name="lxrsfzh" />
136 136
                                             </label>
137 137
                                         </section>
138 138
                                     </div>
@@ -288,7 +288,7 @@
288 288
                                         <section class="col col-4">
289 289
                                             <label class="label">联系人身份证号</label>
290 290
                                             <label class="input">
291
-                                                <input class="form-control" type="text" ng-model="customer.lxrsfzh" ng-readonly="isNotEdit" name="lxrsfzh" validEmail=true />
291
+                                                <input class="form-control" type="text" ng-model="customer.lxrsfzh" ng-readonly="isNotEdit" name="lxrsfzh" />
292 292
                                             </label>
293 293
                                         </section>
294 294
                                     </div>

+ 8 - 0
src/main/resources/static/app/business/device/controller/deviceCheckCtrl.js

@@ -62,6 +62,14 @@ angular.module('app.business')
62 62
             $state.go("app.business.device.checkEdit", {checkNumber: checkNumber, isNotEdit: type});
63 63
         }
64 64
 
65
+        // 翻页
66
+        $scope.goPage = function(pageNum) {
67
+            if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
68
+                $scope.pageInfo.pageNum = pageNum;
69
+                $scope.loadData();
70
+            }
71
+        }
72
+
65 73
     })
66 74
     .controller("deviceCheckAddCtrl", function ($scope, $http, $state, $rootScope, $filter, deviceCheckService, equipmentEquipmentPoolService, $stateParams, APP_CONFIG, enumService, deviceStorageService) {
67 75
         // 获取存放位置

+ 5 - 31
src/main/resources/static/app/business/device/controller/deviceGetCtrl.js

@@ -188,41 +188,15 @@ angular.module('app.business')
188 188
             $state.go('app.business.device.deviceChack', {id: id});
189 189
         }
190 190
 
191
-
192
-        /*//根据ID修改信息
193
-         $scope.updateDeviceGetById = function() {
194
-             var re = /^[0-9]+$/;
195
-             if(re.test(deviceGet.backCount) || re.test(deviceGet.brokenCount)){
196
-                 alert("归还数量和故障数量必须为数值!");
197
-                 return false;
198
-             }
199
-             if(deviceGet.number < deviceGet.backCount){
200
-                 alert("归还数量不能大于借用总量!");
201
-                 return false;
202
-             }
203
-             if(deviceGet.backCount < deviceGet.brokenCount){
204
-                 alert("故障数量不能大于归还数量!");
205
-                 return false;
206
-             }
207
-             deviceGetService.updateDeviceGetById($scope.deviceGet).then(function(data){
208
-                 $scope.deviceGet = "{"+data+"}";
209
-                 $scope.deviceGetNumber = "{number:"+$scope.deviceGet.number+"}";
210
-                 console.info($scope.deviceGet.number);
211
-                 console.info(data);
212
-             },function(data){
213
-                 console.log(data);
214
-             });
215
-         }*/
216
-
217
-
218 191
         // 翻页
219
-        $scope.goPage = function (pageNum) {
220
-            $scope.pageInfo.pageNum = pageNum;
221
-            $scope.loadData();
192
+        $scope.goPage = function(pageNum) {
193
+            if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
194
+                $scope.pageInfo.pageNum = pageNum;
195
+                $scope.loadData();
196
+            }
222 197
         }
223 198
 
224 199
         // 提交表单
225
-
226 200
         var validator = $("#deviceGet-form").validate();
227 201
 
228 202
         // 自定义验证,验证数字

+ 6 - 79
src/main/resources/static/app/business/device/controller/deviceKeepCtrl.js

@@ -23,10 +23,13 @@ angular.module('app.business')
23 23
             });
24 24
         }
25 25
         $scope.loadData();
26
+
26 27
         // 翻页
27
-        $scope.goPage = function (pageNum) {
28
-            $scope.pageInfo.pageNum = pageNum;
29
-            $scope.loadData();
28
+        $scope.goPage = function(pageNum) {
29
+            if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
30
+                $scope.pageInfo.pageNum = pageNum;
31
+                $scope.loadData();
32
+            }
30 33
         }
31 34
 
32 35
         //新增
@@ -60,82 +63,6 @@ angular.module('app.business')
60 63
             });
61 64
         }
62 65
 
63
-        /*// 批量结束保养
64
-        $scope.moreDelete = function () {
65
-            var ids = "";
66
-            for(var i=0; i<$scope.selected.length; i++){
67
-                ids +=$scope.selected[i]+",";
68
-            }
69
-            if(ids!=""){
70
-                $http({
71
-                    method: 'POST',
72
-                    url: APP_CONFIG.baseUrl + '/deviceKeep/endMore',
73
-                    data: {
74
-                        deviceListJson: angular.toJson({"id":ids})
75
-                    }
76
-                }).then(function successCallback(response) {
77
-                    if (response.data.status == "success") {
78
-                        alert("结束保养成功!");
79
-                        $scope.loadData();
80
-                    } else {
81
-                        alert("结束保养失败!");
82
-                    }
83
-                }, function errorCallback(response) {
84
-                    // 请求失败执行代码
85
-                });
86
-            }else{
87
-                alert("请选择你要结束保养的器材");
88
-            }
89
-        }*/
90
-
91
-        /*//复选框
92
-        $scope.selected = [];
93
-
94
-        var updateSelected = function(action,id,name){
95
-            if(action == 'add' && $scope.selected.indexOf(id) == -1){
96
-                $scope.selected.push(id);
97
-            }
98
-            if(action == 'remove' && $scope.selected.indexOf(id)!=-1){
99
-                var idx = $scope.selected.indexOf(id);
100
-                $scope.selected.splice(idx,1);
101
-            }
102
-            console.log($scope.selected);
103
-        }
104
-
105
-        $scope.updateSelection = function($event, id){
106
-            var checkbox = $event.target;
107
-            var action = (checkbox.checked?'add':'remove');
108
-            updateSelected(action,id,checkbox.name);
109
-        }
110
-
111
-        $scope.isSelected = function(id){
112
-            return $scope.selected.indexOf(id)>=0;
113
-        }
114
-        */
115
-        /*// 提交表单
116
-        var validator = $("#deviceKeep-form").validate();
117
-        $scope.saveData = function () {
118
-            if (validator.form()) {
119
-                console.log($scope.deviceList);
120
-                $http({
121
-                    method: 'POST',
122
-                    url: APP_CONFIG.baseUrl + '/deviceKeep/save',
123
-                    data: {
124
-                        deviceAddJson: angular.toJson($scope.deviceList)
125
-                    }
126
-                }).then(function successCallback(response) {
127
-                    if (response.data.status == "success") {
128
-                        alert("保存成功!");
129
-                        $state.go('app.storage.deviceKeepList');
130
-                    } else {
131
-                        alert("保存失败!");
132
-                    }
133
-                }, function errorCallback(response) {
134
-                    // 请求失败执行代码
135
-                });
136
-            }
137
-        }*/
138
-
139 66
     })
140 67
 
141 68
     .controller("deviceKeepSelCtrl", function ($scope, $http, $state, $filter, $rootScope, deviceKeepService, $stateParams, APP_CONFIG) {

+ 5 - 29
src/main/resources/static/app/business/device/controller/deviceRepairCtrl.js

@@ -23,37 +23,13 @@ angular.module('app.business')
23 23
 	     });
24 24
 	 }
25 25
 	 $scope.loadData();
26
-	
27
-	/* //获取入库表的仓房信息
28
-	 $scope.House = function() {
29
-		 console.info($scope.houseGetList);
30
-		 if($scope.houseGetList==undefined){
31
-			 deviceGetService.getHouseList().then(function(data){
32
-		         $scope.houseGetList = data;
33
-		         console.info(data);	
34
-               // $scope.houseGetList = data.list;
35
-		     },function(data){
36
-		         console.log(data);
37
-		     });
38
-		 }
39
-	 }*/
40
-	 
41
-	 /*//获取仓房对应的名称
42
-	 $scope.depotIdChange = function() {
43
-		 var depotId = $scope.deviceRepair.depotId; 
44
-		 deviceRepairService.getdeviceNameList(depotId).then(function(data){
45
-			 $scope.deviceNameList = data;
46
-			 console.info(data);	
47
-		 },function(data){
48
-			 console.log(data);
49
-		 });
50
-	 }*/
51
-	 
52
-	
26
+
53 27
     // 翻页
54 28
     $scope.goPage = function(pageNum) {
55
-        $scope.pageInfo.pageNum = pageNum;
56
-        $scope.loadData();
29
+        if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
30
+            $scope.pageInfo.pageNum = pageNum;
31
+            $scope.loadData();
32
+        }
57 33
     }
58 34
     
59 35
 	 //添加维护信息页面

+ 8 - 0
src/main/resources/static/app/business/device/controller/deviceStorageCtrl.js

@@ -59,6 +59,14 @@ angular.module('app.business').controller("deviceStorageCtrl", function ($scope,
59 59
         });
60 60
     };
61 61
 
62
+    // 翻页
63
+    $scope.goPage = function(pageNum) {
64
+        if ($scope.pageInfo.pageNum != pageNum && pageNum > 0) {
65
+            $scope.pageInfo.pageNum = pageNum;
66
+            $scope.loadData();
67
+        }
68
+    }
69
+
62 70
 
63 71
 }).controller("deviceStorageEditCtrl", function ($scope, enumService, $filter, $state, $rootScope, deviceStorageService, $stateParams, equipmentEquipmentPoolService) {
64 72
     $scope.dSbxxsjy = {};

+ 1 - 1
src/main/resources/static/app/home/service/liangspzService.js

@@ -39,7 +39,7 @@ angular.module('app.system').service("liangspzService", function($http, $q, APP_
39 39
     
40 40
     this.getDateBl = function(orgId) {
41 41
         var d = $q.defer();
42
-        var effectiveCapacity = $rootScope.depotInfo.effectiveCapacity;
42
+        var effectiveCapacity = $rootScope.orgInfo.effectiveCapacity;
43 43
         $http({
44 44
             method : 'GET',
45 45
             url : APP_CONFIG.agileUrl + '/agile/kcsw/getDateBl',

+ 4 - 4
src/main/resources/static/app/intelligent/aeration/views/aerationJob-edit.html

@@ -880,11 +880,11 @@
880 880
 										<tr>
881 881
 											<th>
882 882
 												<label class="label"
883
-													style="margin-top: 8px;text-align: right;">结束后平均粮温(℃)</label>
883
+													style="margin-top: 8px;text-align: right;">结束后平均粮温(℃)<span style="color: red;text-align: center; ">*</span></label>
884 884
 											</th>
885 885
 											<th>
886 886
 												<label class="input">
887
-														<input type="text" ng-model="aerationJob.tfhpjlw" ng-change="lwChange()"
887
+														<input type="text" ng-model="aerationJob.tfhpjlw" ng-change="lwChange()" required
888 888
 															ng-disabled="isNotEdit" name="tfhpjlw" onblur="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''"
889 889
 															class="form-control" />
890 890
 												</label>
@@ -1548,11 +1548,11 @@
1548 1548
 			</th>
1549 1549
 			<th>
1550 1550
 				<label class="label"
1551
-					style="margin-top: 8px;text-align: right;">结束后平均粮温(℃)</label>
1551
+					style="margin-top: 8px;text-align: right;">结束后平均粮温(℃)<span style="color: red;text-align: center; ">*</span></label></label>
1552 1552
 			</th>
1553 1553
 			<th>
1554 1554
 				<label class="input">
1555
-					<input type="text" ng-model="aerationJob.tfhpjlw" ng-change="lwChange()"
1555
+					<input type="text" ng-model="aerationJob.tfhpjlw" ng-change="lwChange()" required
1556 1556
 						ng-disabled="isNotEdit" name="tfhpjlw" onblur="this.value= this.value.match(/\d+(\.\d{0,2})?/) ? this.value.match(/\d+(\.\d{0,2})?/)[0] : ''"
1557 1557
 						class="form-control">
1558 1558
 				</label>

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

@@ -59,9 +59,9 @@ angular.module('app.intelligent').controller("insectPestDetectionCtrl", function
59 59
     };
60 60
     $scope.loadData();
61 61
 
62
-    // 新增页面
63
-    $scope.showAdd = function() {
64
-        $state.go("app.intelligent.grainDetection.insectPestDetectionEdit");
62
+    // 新增、查看页面
63
+    $scope.edit = function(id, butType) {
64
+        $state.go("app.intelligent.grainDetection.insectPestDetectionEdit", {id:id, butType:butType});
65 65
     };
66 66
 
67 67
     // 获取所有仓房code
@@ -277,12 +277,51 @@ angular.module('app.intelligent').controller("insectPestDetectionCtrl", function
277 277
 })
278 278
 // 虫害手工录入
279 279
 .controller("insectPestEditCtrl", function($scope, $filter, $http, $stateParams, $state, $rootScope, $uibModal, insectPestDetectionService, warehouseService) {
280
-    $scope.insectPests = {};
281
-    $scope.pestList = [ {hczl: '', ckmdzjh: ''}];
282
-    $scope.saveFlag = false;
283
-    $scope.insectPests.vUpdatePeople = $rootScope.userInfo.realName;
284
-    $scope.insectPests.orgId = $rootScope.depotInfo.orgId;
285
-    // console.log($scope.insectPests, $rootScope.depotInfo.orgId);
280
+
281
+    // 仓房列表
282
+    $scope.loadWare = function(houseId) {
283
+        warehouseService.getStorehouse($rootScope.orgInfo.orgId, houseId).then(function(data){
284
+            $scope.warelist = data.wareList;
285
+        },function(data){
286
+            console.log(data);
287
+        });
288
+    };
289
+
290
+    $scope.isEdit = false;
291
+
292
+    if ($stateParams.id != "0") {
293
+        $scope.loadWare(null);
294
+        insectPestDetectionService.getByIdCcData($stateParams.id).then(function(data){
295
+            $scope.insectPests = data.data;
296
+            $scope.houseId = $rootScope.storeHouseCodeObj[data.data.vCcCode].storehouseId;
297
+            $scope.insectPests.vHwCode = parseInt(data.data.vHwCode);
298
+            $scope.insectPests.cldjpd = parseInt(data.data.cldjpd);
299
+            $scope.pestList = [];
300
+            if (data.data != "error") {
301
+                var hczl = data.data.hczl;
302
+                var arr_hczl = hczl.split('#');
303
+                var ckmd = data.data.ckmdzjh;
304
+                var arr_ckmd = ckmd.split('|');
305
+                for (var i = 0; i < arr_hczl.length; i++) {
306
+                    var arr = {hczl: 0, ckmdzjh: ''};
307
+                    arr.hczl = parseInt(arr_hczl[i]);
308
+                    arr.ckmdzjh = arr_ckmd[i];
309
+                    $scope.pestList[i] = arr;
310
+                }
311
+            }
312
+            if ($stateParams.butType == "view") {
313
+                $scope.isEdit = true;
314
+            }
315
+        },function(data){
316
+            console.log(data);
317
+        });
318
+    } else {
319
+        $scope.insectPests = {};
320
+        $scope.pestList = [ {hczl: '', ckmdzjh: ''}];
321
+        $scope.saveFlag = false;
322
+        $scope.insectPests.vUpdatePeople = $rootScope.userInfo.realName;
323
+        $scope.insectPests.orgId = $rootScope.orgInfo.orgId;
324
+    }
286 325
 
287 326
     var validator = $("#insectPests-form").validate();
288 327
 
@@ -297,16 +336,6 @@ angular.module('app.intelligent').controller("insectPestDetectionCtrl", function
297 336
         return this.optional(element)||(checkNumber.test(value));
298 337
     },"请输入正确的数据!");
299 338
 
300
-    // 货位列表
301
-    $scope.loadWare = function(houseId) {
302
-        $scope.insectPests.vCfCode = $rootScope.storehouseObj[houseId].storehouseCode;
303
-        warehouseService.getStorehouse($rootScope.orgInfo.orgId, houseId).then(function(data){
304
-            $scope.warelist = data.wareList;
305
-        },function(data){
306
-            console.log(data);
307
-        });
308
-    };
309
-
310 339
     // 返回.
311 340
     $scope.retList = function () {
312 341
         $rootScope.back();
@@ -324,6 +353,7 @@ angular.module('app.intelligent').controller("insectPestDetectionCtrl", function
324 353
             if (validator.form()) {
325 354
                 // 设置saveFlag为true,防止重复提交.
326 355
                 $scope.saveFlag = true;
356
+                $scope.insectPests.vCfCode = $rootScope.storehouseObj[$scope.houseId].storehouseCode;
327 357
                 $("input[name='vUpdateTime']").each(function(j,item){
328 358
                     if(item.value != '' && item.value != null && typeof item.value != 'undefined'){
329 359
                         $scope.insectPests.vUpdateTime = $filter('date')(item.value, "yyyy-MM-dd HH:mm:ss");
@@ -349,7 +379,7 @@ angular.module('app.intelligent').controller("insectPestDetectionCtrl", function
349 379
                 // console.log(hczlStr, ckmdzjhStr);
350 380
                 $scope.insectPests.hczl = hczlStr;
351 381
                 $scope.insectPests.ckmdzjh = ckmdzjhStr;
352
-                //保存熏蒸数据
382
+                //保存测虫数据
353 383
                 insectPestDetectionService.saveInsectPestDate($scope.insectPests).then(function(data){
354 384
                     if(data.message == "success"){
355 385
                         alert("保存成功!");

+ 19 - 0
src/main/resources/static/app/intelligent/grainDetection/service/insectPestDetectionService.js

@@ -48,6 +48,25 @@ angular.module('app.intelligent').service("insectPestDetectionService", function
48 48
         return d.promise;
49 49
     };
50 50
 
51
+    // 查询一条测虫数据
52
+    this.getByIdCcData = function (id) {
53
+        var d = $q.defer();
54
+        $http({
55
+            method : 'GET',
56
+            url : APP_CONFIG.intelligentUrl + '/intelligents/insectPestDetection/getByIdCcData',
57
+            params : {
58
+                id : id
59
+            }
60
+        }).then(function successCallback(response) {
61
+            // 请求成功执行代码
62
+            d.resolve(response.data);
63
+        }, function errorCallback(response) {
64
+            // 请求失败执行代码
65
+            d.reject("error");
66
+        });
67
+        return d.promise;
68
+    };
69
+
51 70
     /*// 虫害逐仓实时检测接口
52 71
     this.nowInsectPest = function (storeCode) {
53 72
         var d = $q.defer();

+ 17 - 22
src/main/resources/static/app/intelligent/grainDetection/views/insectPestDetection-edit.html

@@ -31,7 +31,7 @@
31 31
 											</th>
32 32
 											<th width='15%'>
33 33
 												<label class="select">
34
-													<select ng-model="houseId" name="houseId" class="form-control input-sm"
34
+													<select ng-model="houseId" name="houseId" class="form-control input-sm" ng-disabled="isEdit"
35 35
 															ng-options="store.storehouseId as store.storehouseName for store in storelist"
36 36
 															ng-change="loadWare(houseId)" required>
37 37
 														<option value="">请选择</option>
@@ -43,7 +43,7 @@
43 43
 											</th>
44 44
 											<th width='15%'>
45 45
 												<label class="select">
46
-													<select ng-model="insectPests.vHwCode" name="vHwCode" class="form-control input-sm"
46
+													<select ng-model="insectPests.vHwCode" name="vHwCode" class="form-control input-sm" ng-disabled="isEdit"
47 47
 															ng-options="ware.warehouseId as ware.warehouseName for ware in warelist" required>
48 48
 														<option value="">请选择</option>
49 49
 													</select> <i></i>
@@ -55,7 +55,7 @@
55 55
 											<th width='15%'>
56 56
 												<section>
57 57
 													<label class="select">
58
-														<select ng-model="insectPests.jchcff" name="jchcff" required>
58
+														<select ng-model="insectPests.jchcff" name="jchcff" required ng-disabled="isEdit">
59 59
 															<option value="">请选择</option>
60 60
 															<option value="0">远程检测预警</option>
61 61
 															<option value="1">人工手动筛查</option>
@@ -71,7 +71,7 @@
71 71
 											</th>
72 72
 											<th>
73 73
 												<label class="input">
74
-													<input type="text" ng-model="insectPests.standOr"/>
74
+													<input type="text" ng-model="insectPests.standOr" ng-readonly="isEdit" />
75 75
 												</label>
76 76
 											</th>
77 77
 											<th>
@@ -79,7 +79,7 @@
79 79
 											</th>
80 80
 											<th>
81 81
 												<label class="input">
82
-													<input type="text" ng-model="insectPests.standTime" name="standTime"
82
+													<input type="text" ng-model="insectPests.standTime" name="standTime" ng-disabled="isEdit"
83 83
 														   class="form-control datepicker" onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" required>
84 84
 												</label>
85 85
 											</th>
@@ -89,7 +89,7 @@
89 89
 											<th>
90 90
 												<section>
91 91
 													<label class="select">
92
-														<select ng-model="insectPests.cldjpd" name="cldjpd"
92
+														<select ng-model="insectPests.cldjpd" name="cldjpd" ng-disabled="isEdit"
93 93
 																ng-options="enum.enumid as enum.enumname for enum in dicDataList[5281]" required>
94 94
 															<option value="">--请选择--</option>
95 95
 														</select><i></i>
@@ -105,7 +105,7 @@
105 105
 												<section>
106 106
 													<label class="input">
107 107
 														<input class="form-control" type="text" ng-model="insectPests.hckyxfx"
108
-															   name="hckyxfx">
108
+															   name="hckyxfx" ng-readonly="isEdit" />
109 109
 													</label>
110 110
 												</section>
111 111
 											</th>
@@ -114,7 +114,7 @@
114 114
 											</th>
115 115
 											<th>
116 116
 												<label class="input">
117
-													<input type="text" ng-model="insectPests.vUpdateTime" name="vUpdateTime"
117
+													<input type="text" ng-model="insectPests.vUpdateTime" name="vUpdateTime" ng-disabled="isEdit"
118 118
 														   class="form-control datepicker" onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd HH:mm:ss'})" required/>
119 119
 												</label>
120 120
 											</th>
@@ -123,7 +123,7 @@
123 123
 											</th>
124 124
 											<th>
125 125
 												<label class="input">
126
-													<input type="text" ng-model="insectPests.vUpdatePeople" ng-disabled="true">
126
+													<input type="text" ng-model="insectPests.vUpdatePeople" ng-readonly="true" />
127 127
 												</label>
128 128
 											</th>
129 129
 										</tr>
@@ -135,7 +135,7 @@
135 135
 												<section>
136 136
 													<label class="input">
137 137
 														<input class="form-control" type="text" ng-model="insectPests.fsbw"
138
-															   name="hckyxfx">
138
+															   name="hckyxfx" ng-readonly="isEdit" />
139 139
 													</label>
140 140
 												</section>
141 141
 											</th>
@@ -150,17 +150,14 @@
150 150
 								<header>
151 151
 									虫害情况
152 152
 								</header>
153
-								<div class="row"
154
-									 ng-repeat="item in pestList"
155
-									 ng-style="{ 'padding': $index === 0 ? '25px 14px 5px' : '0px 14px 5px'}"
156
-								>
153
+								<div class="row" ng-repeat="item in pestList" ng-style="{ 'padding': $index === 0 ? '25px 14px 5px' : '0px 14px 5px'}">
157 154
 									<div class="col-md-3">
158 155
 										<label class="label" style="margin-top: 9px;">虫害种类<span style="color: red;">*</span></label>
159 156
 										<section>
160 157
 											<label class="select">
161
-												<select ng-model="item.hczl" name="hczl{{$index}}"
158
+												<select ng-model="item.hczl" name="hczl{{$index}}" ng-disabled="isEdit"
162 159
 														ng-options="enum.enumid as enum.enumname for enum in dicDataList[5267]" required>
163
-													<option value="">--请选择--</option>
160
+													<option value="">&#45;&#45;请选择&#45;&#45;</option>
164 161
 												</select><i></i>
165 162
 											</label>
166 163
 										</section>
@@ -170,17 +167,15 @@
170 167
 										<label class="label" style="margin-top: 9px;">密度(头/公斤)<span style="color: red;">*</span></label>
171 168
 										<section>
172 169
 											<label class="input">
173
-												<input class="form-control" type="text" ng-model="item.ckmdzjh"
174
-														 name="`ckmdzjh{{$index}}`" validFrequency1="true" required>
175
-												<!-- <input class="form-control" type="text" ng-model="pestList.iValue"
176
-														 name="iValue" validFrequency="true" required> -->
170
+												<input class="form-control" type="text" ng-model="item.ckmdzjh" ng-readonly="isEdit"
171
+													   name="ckmdzjh{{$index}}" validFrequency1="true" required />
177 172
 											</label>
178 173
 										</section>
179 174
 									</div>
180 175
 								</div>
181 176
 								<div class="row" style="padding-left: 14px;">
182 177
 									<div class="col-md-1">
183
-										<button style="padding: 5px 10px;" type="button" class="btn btn-default" ng-click="addPest()">
178
+										<button style="padding: 5px 10px;" type="button" class="btn btn-default" ng-click="addPest()" ng-hide="isEdit">
184 179
 											<i class="glyphicon glyphicon-plus"></i> 
185 180
 											<span>新增</span>
186 181
 										</button>
@@ -188,7 +183,7 @@
188 183
 									</div>
189 184
 								</div>
190 185
 								<footer class="text-align-center">
191
-									<button type="button" class="btn btn-primary" ng-click="saveData()">保存</button>
186
+									<button type="button" class="btn btn-primary" ng-hide="isEdit" ng-click="saveData()">保存</button>
192 187
 									<button type="button" class="btn btn-default" ng-click="retList()">取消</button>
193 188
 								</footer>
194 189
 								<div id="dtBox"></div><!-- 时间控件:有时分秒 -->

+ 3 - 2
src/main/resources/static/app/intelligent/grainDetection/views/insectPestDetection-list.html

@@ -17,7 +17,7 @@
17 17
                                     <div class="col-xs-12 col-sm-10">
18 18
                                         <a href-void ng-hide="isArchive" class="btn btn-default btn-sm" ng-show="isShow" ng-click="retList()"><i class="fa fa-angle-left"></i>&nbsp;返回&nbsp;</a>
19 19
                                         <label ng-hide="isArchive">
20
-                                            <a href-void class="btn btn-primary btn-sm" ng-click="showAdd()"><i class="fa fa-plus"></i>&nbsp;新&nbsp;增</a>
20
+                                            <a href-void class="btn btn-primary btn-sm" ng-click="edit(0, 'add')"><i class="fa fa-plus"></i>&nbsp;新&nbsp;增</a>
21 21
                                         </label>&emsp;
22 22
                                         <label> 仓房名称:&emsp;
23 23
                                             <select ng-model="search.vCfCode" class="form-control input-sm"
@@ -90,7 +90,8 @@
90 90
                                         <td style="text-align:center;">{{ insectPest.vupdatepeople }}</td>
91 91
                                         <td style="text-align:center;">{{ insectPest.vupdatetime | date:'yyyy-MM-dd HH:mm:ss' }}</td>
92 92
                                         <td style="text-align:center;">
93
-                                            <a ng-hide="isArchive" ng-hide="insectPest.iTdh == null" href-void ng-click="onlyInsectPestDetection(insectPest.vcfcode)"><i class=""></i>{{storeHouseCodeObj[insectPest.vcfcode].storehouseName}}检测</a>
93
+                                            <!-- <a ng-hide="isArchive" ng-hide="insectPest.iTdh == null" href-void ng-click="onlyInsectPestDetection(insectPest.vcfcode)"><i class=""></i>{{storeHouseCodeObj[insectPest.vcfcode].storehouseName}}检测</a> -->
94
+                                            <a ng-hide="isArchive" href-void ng-click="edit(insectPest.id, 'view')"><i class=""></i>查看</a>
94 95
                                         </td>
95 96
                                     </tr>
96 97
                                     </tbody>

+ 1 - 1
src/main/resources/static/app/intelligent/module.js

@@ -221,7 +221,7 @@ angular.module('app.intelligent',['ui.router']).config(function($stateProvider)
221 221
         )
222 222
         // 虫害手工录入
223 223
         .state('app.intelligent.grainDetection.insectPestDetectionEdit', {
224
-                url: '/intelligent/grainDetection/insectPestDetectionEdit',
224
+                url: '/intelligent/grainDetection/insectPestDetectionEdit/:id/:butType',
225 225
                 data: {
226 226
                     title: '虫害检测数据'
227 227
                 },

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

@@ -1112,7 +1112,7 @@
1112 1112
                     </li>
1113 1113
 
1114 1114
 					<li data-menu-collapse>
1115
-                        <a has-func="92" href="#"><i class="fa fa-lg fa-fw fa-folder-open"></i>
1115
+                        <a has-func="137" href="#"><i class="fa fa-lg fa-fw fa-folder-open"></i>
1116 1116
                             粮情分析报告
1117 1117
                         </a>
1118 1118
                         <!--三级菜单开始-->

+ 3 - 3
src/main/resources/static/app/monitor/views/camera-edit.html

@@ -34,7 +34,7 @@
34 34
 											<label class="input">
35 35
 												<i class="icon-prepend fa fa-user"></i>
36 36
 												<input type="text" name="name" ng-model="cameraEdit.name"
37
-													   minlength="2" maxlength="20" required/>
37
+													   minlength="2" maxlength="150" required/>
38 38
 											</label>
39 39
 										</section>
40 40
 										<section class="col col-4">
@@ -42,7 +42,7 @@
42 42
 											<label class="input">
43 43
 												<i class="icon-prepend fa fa-user"></i>
44 44
 												<input type="text" name="alias" ng-model="cameraEdit.alias"
45
-													   minlength="2" maxlength="20" required/>
45
+													   minlength="2" maxlength="150" required/>
46 46
 											</label>
47 47
 										</section>
48 48
 										<section class="col col-4">
@@ -128,7 +128,7 @@
128 128
 											</label>
129 129
 										</section>
130 130
 										<section class="col col-4">
131
-											<label class="label txt-bg-red">所在位置<span style="color: red;">*</span></label>
131
+											<label class="label txt-bg-red">业务类型<span style="color: red;">*</span></label>
132 132
 											<label class="select">
133 133
 												<select ng-model="cameraEdit.live" ng-change="changeEvent()" name="live"
134 134
 														ng-options="enum.enumcode as enum.enumname for enum in parentObj[5332]"

+ 5 - 0
src/main/resources/static/app/storage/drug/drugDestroy/controller/drugDestroySaveCtrl.js

@@ -61,6 +61,11 @@ angular.module('app.storage').controller("drugDestroySaveCtrl", function ($scope
61 61
         return this.optional(element) || (checkNumber.test(value));
62 62
     }, "请输入正确的不为0的数字整数!");
63 63
 
64
+    $.validator.addMethod("validNumberD",function(value,element, params) {
65
+        var checkNumber = /^\d*\.{0,1}\d{1,2}$/g;
66
+        return this.optional(element)||(checkNumber.test(value));
67
+    },"请输入正确的数字类型,最多两位小数!");
68
+
64 69
     // 保存.
65 70
     $scope.save = function () {
66 71
         if (validator.form()) {

+ 1 - 1
src/main/resources/static/app/storage/drug/drugDestroy/views/drugDestroy-edit.html

@@ -92,7 +92,7 @@
92 92
                                             <label class="label">销毁数量<span style="color: red;">*</span></label>
93 93
                                             <label class="input">
94 94
                                                 <input class="form-control" type="text" ng-model="drugDestroy.destroyAmount" ng-readonly="isNotEdit" name="destroyAmount"
95
-                                                       validNumber="true" ng-blur="checkNumber(drugDestroy.destroyAmount)" required>
95
+                                                       validNumberD="true" ng-blur="checkNumber(drugDestroy.destroyAmount)" required>
96 96
                                             </label>
97 97
                                         </section>
98 98
                                     </div>

+ 4 - 2
src/main/resources/static/app/storage/drug/drugInfo/controller/drugInfoSaveCtrl.js

@@ -10,9 +10,11 @@ angular.module('app.storage').controller("drugInfoSaveCtrl", function($scope, $r
10 10
         drugInfoService.loadDataById(id,orgId).then(function(data) {
11 11
             $scope.drugInfo = data;
12 12
 			//点的修改按钮,如果是使用中,那么只允许修改页面的最后四个录入域,其它的不许修改
13
-			if ($scope.isNotEdit == false && $scope.drugInfo.isEffective == "1") {
13
+			if ($scope.isNotEdit == false && $scope.drugInfo.isEffective == "1") {//点的修改,且数据是使用中
14 14
 				$scope.isNotEdit = true;
15
-			} else {
15
+			} else if ($scope.isNotEdit == false && $scope.drugInfo.isEffective != "1") {//点的修改,且数据是未使用
16
+				$scope.issyz = false;
17
+			} else {//只查看
16 18
 				$scope.issyz = true;
17 19
 			}
18 20
         },function(data){

+ 1 - 1
src/main/resources/static/app/storage/drug/drugInfo/views/drugInfo-edit.html

@@ -88,7 +88,7 @@
88 88
                                         <section class="col col-6">
89 89
                                             <label class="label">储存地点<span style="color: red;">*</span></label>
90 90
                                             <label class="select">
91
-                                                <select ng-model="drugInfo.ccdd" name="ccdd" ng-disabled="isNotEdit" required >
91
+                                                <select ng-model="drugInfo.ccdd" name="ccdd" ng-disabled="issyz" required >
92 92
                                                         <option value="">请选择</option>
93 93
                                                         <option value="1">药品库</option>
94 94
                                                         <option value="2">其他</option>

+ 0 - 2
src/main/resources/static/app/storage/drug/drugInfo/views/drugInfo-list.html

@@ -61,7 +61,6 @@
61 61
 		                            <th> 药剂名称</th>
62 62
 		                            <th> 药剂形态</th>
63 63
 		                            <th> 药剂包装</th>
64
-		                            <th> 创建人</th>
65 64
 		                            <th> 使用状态</th>
66 65
 		                            <th> 操作</th>
67 66
 		                        </tr>
@@ -74,7 +73,6 @@
74 73
 	                                <td>{{ dicData[drugInfo.drugName] }}</td>
75 74
 	                                <td>{{ dicData[drugInfo.drugType] }}</td>
76 75
 	                                <td>{{ dicData[drugInfo.drugPacking] }}</td>
77
-	                                <td>{{ userInfoData[drugInfo.creater] }}</td>
78 76
 	                                <td>
79 77
 	                                	<div ng-switch="{{drugInfo.isEffective}}">
80 78
 	                                		<div ng-switch-when="0">未使用</div>

+ 2 - 2
src/main/resources/static/app/storage/drug/drugPurchase/controller/drugPurchaseSaveCtrl.js

@@ -105,7 +105,7 @@ angular.module('app.storage').controller("drugPurchaseSaveCtrl", function($scope
105 105
     // 校验
106 106
     var validator = $("#drugPurchase-form").validate();
107 107
     
108
-    // 自定义验证,验证数字
108
+    // 自定义验证,验证数字和小数
109 109
     $.validator.addMethod("validNumber",function(value,element, params) {
110 110
         var checkNumber = /^\d*\.{0,1}\d{1,2}$/g;  
111 111
         return this.optional(element)||(checkNumber.test(value));  
@@ -209,7 +209,7 @@ angular.module('app.storage').controller("drugPurchaseSaveCtrl", function($scope
209 209
     					$scope.addedDetail.splice(i, 1);
210 210
     				}
211 211
     			}
212
-    			
212
+
213 213
     			$http({
214 214
     				method: 'POST',
215 215
     				url: APP_CONFIG.depotStorageUrl + '/depot/business/drugPurchase/save',

+ 1 - 1
src/main/resources/static/app/storage/drug/drugPurchase/views/drugPurchase-edit.html

@@ -94,7 +94,7 @@
94 94
                                                 <label class="label">申请数量<span style="color: red;">*</span></label>
95 95
                                                 <label class="input">
96 96
                                                     <input type="text" ng-model="detailInfo.applyCount" name="applyCount{{$index}}" ng-readonly="isNotEdit" ng-disabled="isNotEdit"
97
-                                                           validInt="true" required ng-change="countApplyAmount($index)">
97
+                                                           validNumber="true" required ng-change="countApplyAmount($index)">
98 98
                                                 </label>
99 99
                                             </section>
100 100
                                             <section class="col col-1">

+ 6 - 1
src/main/resources/static/app/storage/drug/drugRestore/controller/drugRestoreSaveCtrl.js

@@ -57,6 +57,11 @@ angular.module('app.storage').controller("drugRestoreSaveCtrl", function($scope,
57 57
         return this.optional(element)||(checkNumber.test(value));  
58 58
     },"请输入正确的不为0的数字整数!");
59 59
 
60
+    $.validator.addMethod("validNumberR",function(value,element, params) {
61
+        var checkNumber = /^\d*\.{0,1}\d{1,2}$/g;
62
+        return this.optional(element)||(checkNumber.test(value));
63
+    },"请输入正确的数字类型,最多两位小数!");
64
+
60 65
     // 获取药品信息列表.
61 66
     $scope.getDrugInfoList = function() {
62 67
         var params = [];
@@ -137,7 +142,7 @@ angular.module('app.storage').controller("drugRestoreSaveCtrl", function($scope,
137 142
                 }
138 143
                 // 归还数量
139 144
                 var sumCount = 0;
140
-                var useCount = parseInt($scope.addedDetail[i].restoreNumber, 10);
145
+                var useCount = parseFloat($scope.addedDetail[i].restoreNumber);
141 146
                 sumCount += useCount;
142 147
                 $scope.drugRestore.useCount = sumCount;
143 148
             }

+ 1 - 1
src/main/resources/static/app/storage/drug/drugRestore/views/drugRestore-edit.html

@@ -78,7 +78,7 @@
78 78
                                             <td>{{ drugRestore.manufacturer }}</td>
79 79
                                             <td ng-hide="isNotEdit">{{ drugRestore.useCount}}</td>
80 80
                                             <td>
81
-                                                <input class="form-control" type="text" ng-model="drugRestore.restoreNumber" ng-change="checkNumber()" ng-readonly="isNotEdit" validNumber="true">
81
+                                                <input class="form-control" type="text" ng-model="drugRestore.restoreNumber" ng-change="checkNumber()" ng-readonly="isNotEdit" validNumberR="true">
82 82
                                             </td>
83 83
                                             <td>
84 84
                                                 <select ng-model="drugRestore.shelfId" name="shelfId"

+ 1 - 1
src/main/resources/static/app/storage/drug/drugStorage/views/drugStorage-edit.html

@@ -127,7 +127,7 @@
127 127
                                             <label class="label">入库数量<span style="color: red;">*</span></label>
128 128
                                             <label class="input"><!--ng-change="countMoneyQuantity()"-->
129 129
                                                 <input class="form-control" type="text" ng-model="drugStorage.storageCount" ng-readonly="isNotEdit" name="storageCount"
130
-                                                 validNumber="true" ng-change="rkCheck(drugStorage.storageCount)" required>
130
+                                                       validNumberD="true" ng-change="rkCheck(drugStorage.storageCount)" required>
131 131
                                             </label>
132 132
                                         </section>
133 133
                                         <section class="col col-4">

+ 1 - 1
src/main/resources/static/app/storage/drug/drugUse/controller/drugUseSaveCtrl.js

@@ -80,7 +80,7 @@ angular.module('app.storage').controller("drugUseSaveCtrl", function ($scope, $r
80 80
         var sumCount = 0;
81 81
         for (var i = 0; i < $scope.addedDetail.length; i++) {
82 82
             if ($scope.addedDetail[i].useCount != undefined && $scope.addedDetail[i].useCount != "" && $scope.addedDetail[i].useCount != null) {
83
-                var useCount = parseInt($scope.addedDetail[i].useCount, 10);
83
+                var useCount = parseFloat($scope.addedDetail[i].useCount);
84 84
                 sumCount += useCount;
85 85
             }
86 86
         }

+ 1 - 1
src/main/resources/static/app/storage/drug/drugUseApply/controller/drugUseApplySaveCtrl.js

@@ -126,7 +126,7 @@ angular.module('app.storage').controller("drugUseApplySaveCtrl", function($scope
126 126
                 var shelfAmount=$scope.addedDetail[i].shelfAmount;
127 127
                 if ($scope.addedDetail[i].useCount <= shelfAmount) {
128 128
                     // 计算总数量
129
-                    var useCount = parseInt($scope.addedDetail[i].useCount, 10);
129
+                    var useCount = parseFloat($scope.addedDetail[i].useCount);
130 130
                     sumCount += useCount;
131 131
                 } else {
132 132
                     // 如果申请数量大于库存数量清空申请数量

+ 7 - 0
src/main/resources/static/app/storage/grainCard/controller/checkFoodSituationListCtrl.js

@@ -9,6 +9,13 @@ angular.module('app.storage').controller("checkFoodSituationListCtrl",
9 9
                 if (data.retCode === '200' && data.message === 'success') {
10 10
                     $scope.GrainCardByIdObj = data.data;
11 11
                     $scope.grainRemark = $scope.GrainCardByIdObj.grainRemark; // 温度卡处理意见
12
+                    if ($scope.GrainCardByIdObj.grainRights == "01") {
13
+                        $scope.GrainCardByIdObj.grainRights = "市粮食局";
14
+                    } else if ($scope.GrainCardByIdObj.grainRights == "03") {
15
+                        $scope.GrainCardByIdObj.grainRights = "区发改委";
16
+                    } else {
17
+                        $scope.GrainCardByIdObj.grainRights = $rootScope.orgInfo.orgName;
18
+                    }
12 19
                 } else {
13 20
                     $scope.GrainCardByIdObj = {};
14 21
                 }

+ 3 - 3
src/main/resources/static/app/storage/grainCard/views/checkFoodSituationList.html

@@ -144,14 +144,14 @@
144 144
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.number ? grainCardView.number/1000 : 0 | number : 3}}</td>
145 145
                                             </tr>
146 146
                                             <tr>
147
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">入仓年度</td>
147
+                                                "<td class="text-center" style="vertical-align: middle;text-align: center;">入仓年度</td>
148 148
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{grainCardView.inputTime.slice(0, 4)}}</td>
149 149
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">散存粮体积</td>
150 150
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.looseGrainVolume}}</td>
151 151
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">包存粮包数</td>
152 152
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainPacks}}</td>
153 153
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">粮权所属</td>
154
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainRights == 1 ? "市粮食局" : orgInfo.orgName}}</td>
154
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainRights}}</td>
155 155
                                             </tr>
156 156
                                             <tr>
157 157
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;" height="45px">出油口高度(米)</td>
@@ -453,7 +453,7 @@
453 453
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">包存粮包数</td>
454 454
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainPacks}}</td>
455 455
                                                 <td class="text-center" style="vertical-align: middle;text-align: center;">粮权所属</td>
456
-                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainRights == 1 ? "市粮食局" : orgInfo.orgName}}</td>
456
+                                                <td class="text-center" style="vertical-align: middle;text-align: center;">{{GrainCardByIdObj.grainRights}}</td>
457 457
                                             </tr>
458 458
                                             <!-- <tr>
459 459
                                                 

+ 4 - 3
src/main/resources/static/app/storage/grainCard/views/grainCarAdd.html

@@ -181,10 +181,11 @@
181 181
                                             <th style="border-bottom-width:1px">
182 182
                                                 <section>
183 183
                                                     <label class="select">
184
-                                                        <select ng-model="grainCard.grainRights" name="grainRights" required>
184
+                                                        <select ng-model="grainCard.grainRights" name="grainRights">
185 185
                                                             <option value="">--请选择--</option>
186
-                                                            <option value="1">市粮食局</option>
187
-                                                            <option value="2">{{orgInfo.orgName}}</option>
186
+                                                            <option value="01">市粮食局</option>
187
+                                                            <option value="02">{{orgInfo.orgName}}</option>
188
+                                                            <option value="03">区发改委</option>
188 189
                                                         </select><i></i>
189 190
                                                     </label>
190 191
                                                 </section>

+ 4 - 3
src/main/resources/static/app/storage/grainCard/views/oilCarAdd.html

@@ -161,10 +161,11 @@
161 161
                                             <th style="border-bottom-width:1px">
162 162
                                                 <section>
163 163
                                                     <label class="select">
164
-                                                        <select ng-model="oilCard.grainRights" name="grainRights" required>
164
+                                                        <select ng-model="oilCard.grainRights" name="grainRights">
165 165
                                                             <option value="">--请选择--</option>
166
-                                                            <option value="1">市粮食局</option>
167
-                                                            <option value="2">{{orgInfo.orgName}}</option>
166
+                                                            <option value="01">市粮食局</option>
167
+                                                            <option value="02">{{orgInfo.orgName}}</option>
168
+                                                            <option value="03">区发改委</option>
168 169
                                                         </select><i></i>
169 170
                                                     </label>
170 171
                                                 </section>

+ 22 - 11
src/main/resources/static/app/storage/product/controller/productCtrl.js

@@ -223,6 +223,9 @@ angular.module('app.storage').controller("productCtrl", function($scope, $rootSc
223 223
 
224 224
 		// 树形下拉框(明细品种)
225 225
 		$scope.getGrainDetailKind();
226
+
227
+		// 树形下拉框(产地)
228
+		$scope.getAreaData();
226 229
 	};
227 230
 
228 231
 	// 查询上一个仓房的保存数据
@@ -244,12 +247,16 @@ angular.module('app.storage').controller("productCtrl", function($scope, $rootSc
244 247
 				$scope.productEdit.nature = Number(data.nature);
245 248
 				$scope.productEdit.levels = Number(data.levels);
246 249
 				$scope.productEdit.storehouseType = Number(data.storehouseType);
250
+				$scope.productEdit.places = Number(data.places);
247 251
 
248 252
 				// 树形下拉框(粮食性质)
249 253
 				$scope.getQualityData();
250 254
 
251 255
 				// 树形下拉框(明细品种)
252 256
 				$scope.getGrainDetailKind();
257
+
258
+				// 树形下拉框(产地)
259
+				$scope.getAreaData();
253 260
 			}
254 261
 		},function(data){
255 262
 			console.log(data);
@@ -332,29 +339,34 @@ angular.module('app.storage').controller("productCtrl", function($scope, $rootSc
332 339
 					alert("请选择相应的粮食明细品种!");
333 340
 					return;
334 341
 				}
335
-				var lsmxpzbute = angular.isNumber($scope.lsmxpz);
336
-				if (!lsmxpzbute) {
337
-					$scope.productEdit.lsmxpz = $scope.lsmxpz[0].id;
338
-				}
339
-
340 342
 				//粮油性质
341 343
 				$scope.nature = angular.fromJson($scope.productEdit.nature);
342 344
 				if ($scope.nature.length == 0) {
343 345
 					alert("请选择相应的粮油性质!");
344 346
 					return;
345 347
 				}
346
-				var attribute = angular.isNumber($scope.nature);
347
-				if (!attribute) {
348
-					$scope.productEdit.nature = $scope.nature[0].id;
349
-				}
350
-
351 348
 				//粮油产地
352 349
 				$scope.places = angular.fromJson($scope.productEdit.places);
353 350
 				if (null != $scope.places && $scope.places.length > 0) {
354 351
 					$scope.productEdit.places = $scope.places[0].id;
355 352
 				} else {
353
+					alert("请选择产地!");
356 354
 					$scope.productEdit.places = null;
355
+					return;
357 356
 				}
357
+
358
+				$scope.saveFlag = true;
359
+
360
+				var lsmxpzbute = angular.isNumber($scope.lsmxpz);
361
+				if (!lsmxpzbute) {
362
+					$scope.productEdit.lsmxpz = $scope.lsmxpz[0].id;
363
+				}
364
+
365
+				var attribute = angular.isNumber($scope.nature);
366
+				if (!attribute) {
367
+					$scope.productEdit.nature = $scope.nature[0].id;
368
+				}
369
+
358 370
 //				var area = angular.isNumber($scope.places);
359 371
 //				if (area) {
360 372
 //					$scope.productEdit.places = $scope.places[0].id;
@@ -381,7 +393,6 @@ angular.module('app.storage').controller("productCtrl", function($scope, $rootSc
381 393
 					});
382 394
 				}
383 395
 
384
-				$scope.saveFlag = true;
385 396
 				productService.save($scope.productEdit, typeState).then(function (data) {
386 397
 					if (data.status == "success") {
387 398
 						alert("保存成功");

+ 1 - 1
src/main/resources/static/app/storage/product/views/product-edit.html

@@ -131,7 +131,7 @@
131 131
 													</label>
132 132
 												</th>
133 133
 												<th width='15%'>
134
-													<label class="label">产地:</label>
134
+													<label class="label">产地:<span style="color: red;">*</span></label>
135 135
 												</th>
136 136
 												<th width='15%'>
137 137
 													<label class="select"  id="grainProducingArea-label">

+ 2 - 1
src/main/resources/static/app/storage/service/keepAccountService.js

@@ -134,7 +134,8 @@ angular.module('app.storage').service("keepAccountService", function($http, $q,
134 134
             	rq : rq,
135 135
             	wjh : wjh,
136 136
             	zy : zy,
137
-            	accountType : accountType
137
+            	accountType : accountType,
138
+                orgId : $rootScope.orgInfo.orgId
138 139
             }
139 140
         }).then(function successCallback(response) {
140 141
             // 请求成功执行代码

+ 7 - 3
src/main/resources/static/app/system/views/org-edit.html

@@ -112,7 +112,7 @@
112 112
 										<section class="col col-4">
113 113
 											<label class="label">社会信用代码</label> 
114 114
 											<label class="input"> 
115
-												<input type="text" name="creditCode" ng-model="orgInfo.creditCode" maxlength="30">
115
+												<input type="text" name="creditCode" ng-model="orgInfo.creditCode" maxlength="18" required />
116 116
 											</label>
117 117
 										</section>
118 118
 										<section class="col col-4">
@@ -161,16 +161,20 @@
161 161
 											<label class="label">经度<span style="color: red;">*</span></label> 
162 162
 											<label class="input"> 
163 163
 												<i class="icon-prepend fa fa-globe"></i> 
164
+<!--												<input type="text" name="longitude" ng-model="orgInfo.longitude" placeholder="格式如:101.123450 小数最后一位为0"-->
165
+<!--													maxlength="10" required isLong=true>-->
164 166
 												<input type="text" name="longitude" ng-model="orgInfo.longitude" placeholder="格式如:101.123450 小数最后一位为0"
165
-													maxlength="10" required isLong=true>
167
+													   maxlength="12" required />
166 168
 											</label>
167 169
 										</section>
168 170
 										<section class="col col-4">
169 171
 											<label class="label">纬度<span style="color: red;">*</span></label> 
170 172
 											<label class="input"> 
171 173
 												<i class="icon-prepend fa fa-globe"></i> 
174
+<!--												<input type="text" name="latitude" ng-model="orgInfo.latitude" placeholder="格式如:31.123450 小数最后一位为0"-->
175
+<!--													maxlength="10" required isLa=true>-->
172 176
 												<input type="text" name="latitude" ng-model="orgInfo.latitude" placeholder="格式如:31.123450 小数最后一位为0"
173
-													maxlength="10" required isLa=true>
177
+													   maxlength="12" required />
174 178
 											</label>
175 179
 										</section>
176 180
 									</div>

+ 2 - 2
src/main/resources/static/app/system/views/user-edit.html

@@ -196,10 +196,10 @@
196 196
 											</label>
197 197
 										</section>
198 198
 										<section class="col col-4">
199
-											<label class="label">电子邮箱<span style="color: red;">*</span></label>
199
+											<label class="label">电子邮箱</label>
200 200
 											<label class="input"> 
201 201
 												<i class="icon-prepend fa fa-envelope-o"></i> 
202
-												<input type="email" ng-model="user.email" name="email" maxlength="60" required />
202
+												<input type="input" ng-model="user.email" name="email" maxlength="60" />
203 203
 											</label>
204 204
 										</section>
205 205
 									</div>