Quellcode durchsuchen

熏蒸功能接口字段调整

fanxiongwei vor 3 Jahren
Ursprung
Commit
91a7361a32

+ 4 - 4
src/main/resources/static/app/basic/storehouse/views/Storehouse-edit.html

@@ -650,9 +650,9 @@
650 650
 											</th>
651 651
 											<th>
652 652
 												<label class="select">
653
-													<select ng-model="basicStorehouse.qmx" ng-disabled="isNotEdit"
653
+													<select ng-model="basicStorehouse.jgcl" ng-disabled="isNotEdit"
654 654
 														ng-options="enum.id as enum.value for enum in jgclList" 
655
-														name="qmx"
655
+														name="jgcl"
656 656
 														required
657 657
 														class="form-control">
658 658
 														<option value="">--请选择--</option>
@@ -664,9 +664,9 @@
664 664
 											</th>
665 665
 											<th>
666 666
 												<label class="select">
667
-													<select ng-model="basicStorehouse.jgcl" ng-disabled="isNotEdit"
667
+													<select ng-model="basicStorehouse.qmx" ng-disabled="isNotEdit"
668 668
 														ng-options="enum.id as enum.value for enum in qmxList" required
669
-														name="jgcl"
669
+														name="qmx"
670 670
 														class="form-control">
671 671
 														<option value="">--请选择--</option>
672 672
 													</select>

+ 5 - 0
src/main/resources/static/app/intelligent/fumigation/controller/fumHomeWorkCtrl.js

@@ -569,6 +569,11 @@ angular.module('app.intelligent')
569 569
                             $scope.fumigationAfter.checkInsectCageTime = $filter('date')(item.value, "yyyy-MM-dd HH:mm:ss");
570 570
                         }
571 571
                     });
572
+                    $("input[name='residueCollectionTime']").each(function(j,item){
573
+                        if(item.value != '' && item.value != null && typeof item.value != 'undefined'){
574
+                            $scope.fumigationAfter.residueCollectionTime = $filter('date')(item.value, "yyyy-MM-dd");
575
+                        }
576
+                    });
572 577
 
573 578
                     $scope.fumigationAfter.czsjzysj = $scope.fumigationAfter.checkInsectCageTime;
574 579
                     $scope.fumigationAfter.czsjzyrs = $scope.fumigationAfter.numberOperationsCollected;

+ 15 - 17
src/main/resources/static/app/intelligent/fumigation/views/homework/fumHomeWorkAfter-edit.html

@@ -332,7 +332,8 @@
332 332
                                                     <section>
333 333
                                                         <label class="input">
334 334
                                                             <input class="form-control" type="text" ng-model="fumigationAfter.residueCollectionTime"
335
-                                                                   ng-readonly="isNotEdit" validNumber="true" name="residueCollectionTime">
335
+                                                                   ng-readonly="isNotEdit" name="residueCollectionTime"
336
+                                                                   onClick="WdatePicker({lang:'zh-cn', dateFmt:'yyyy-MM-dd'})" />
336 337
                                                         </label>
337 338
                                                     </section>
338 339
                                                 </th>
@@ -511,28 +512,25 @@
511 512
                                                         </label>
512 513
                                                     </section>
513 514
                                                 </th>
514
-                                                <th></th>
515
-                                                <th></th>
516
-                                                <th></th>
517
-                                                <th></th>
518
-                                            </tr>
519
-                                            <!--第七个tr结束 -->
520
-                                            <!--第八个tr开始 -->
521
-                                            <tr>
522
-                                                <th  width='10%'>
523
-                                                    <label label class="label" style="margin-top: 9px;text-align: center;">效果分析<span style="color: red;">*</span></label>
515
+                                                <th>
516
+                                                    <label label class="label" style="margin-top: 9px;text-align: center;">效果评价<span style="color: red;">*</span></label>
524 517
                                                 </th>
525
-
526
-                                                <th colspan="8">
518
+                                                <th>
527 519
                                                     <section>
528
-                                                        <label class="textarea">
529
-	                                                    <textarea class="form-control" ng-model="fumigationAfter.effectAnalysis"
530
-                                                                  name="effectAnalysis" ng-readonly="isNotEdit" rows="2" data-bv-field="review" required></textarea>
520
+                                                        <label class="select">
521
+                                                            <select ng-model="fumigationAfter.effectAnalysis" name="effectAnalysis" ng-disabled="isNotEdit" required>
522
+                                                                <option value="">--请选择--</option>
523
+                                                                <option value="0">良好</option>
524
+                                                                <option value="1">一般</option>
525
+                                                                <option value="2">不好</option>
526
+                                                            </select><i></i>
531 527
                                                         </label>
532 528
                                                     </section>
533 529
                                                 </th>
530
+                                                <th></th>
531
+                                                <th></th>
534 532
                                             </tr>
535
-
533
+                                            <!--第七个tr结束 -->
536 534
                                             <!-- 创建信息 -->
537 535
                                             <tr ng-hide="!isNotEdit">
538 536
                                                 <th>

+ 10 - 4
src/main/resources/static/app/intelligent/fumigation/views/plan/forRecord-edit.html

@@ -329,7 +329,7 @@
329 329
 												<th>
330 330
 													<label class="label" style="margin-top: 9px;text-align: center;">领取时间<span style="color: red;">*</span></label>
331 331
 												</th>
332
-												<th>
332
+												<th style="width: 9%;">
333 333
 													<label class="label" style="margin-top: 9px;text-align: center;">施药方式</label>
334 334
 												</th>
335 335
 											</tr>
@@ -400,9 +400,15 @@
400 400
 												</th>
401 401
 												<th>
402 402
 													<section>
403
-														<label class="input">
404
-															<input class="form-control" type="text" ng-model="fumigation.useDrugType"
405
-																   ng-readonly="true" name="useDrugType" style="text-align: center;">
403
+														<label class="select">
404
+<!--															<input class="form-control" type="text" ng-model="fumigation.useDrugType"-->
405
+<!--																   ng-readonly="true" name="useDrugType" style="text-align: center;">-->
406
+															<select ng-model="fumigation.useDrugType" name="useDrugType" ng-disabled="true">
407
+																<option value="">--请选择--</option>
408
+																<option value="0">潮解法</option>
409
+																<option value="1">仓外发生器</option>
410
+																<option value="2">钢瓶气</option>
411
+															</select><i></i>
406 412
 														</label>
407 413
 													</section>
408 414
 												</th>

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

@@ -71,8 +71,8 @@
71 71
 												</td>
72 72
 												<td style="text-align:center;">{{ warning.violationSubjectType }}</td>
73 73
 												<td style="text-align:center;">{{ warning.offender }}</td>
74
+												<td style="text-align:center;">{{ orgInfo.orgName }}</td>
74 75
 												<td style="text-align:center;">疑转圈粮预警</td>
75
-												<td style="text-align:center;">{{ warning.violationType }}</td>
76 76
 												<td style="text-align:center;">{{ warning.violationDetail }}</td>
77 77
 												<td style="text-align:center;">
78 78
 													<span ng-if="warning.currentStatus=='0'">未处置</span>

+ 12 - 12
src/main/resources/static/app/system/controller/userCtrl.js

@@ -503,19 +503,19 @@ angular.module('app.system').controller("userLoginCtrl",
503 503
                                 if($stateParams.emergency){
504 504
                                     $state.go("app.system.emergencyJump");
505 505
                                 }else if(!$stateParams.emergency){
506
-                                	if(userRoleType == "2"){//经营人员
507
-                                		$state.go("app.additionalHome.businessHome");
508
-                                	}else if(userRoleType == "3"){//仓储人员
509
-                                		$state.go("app.additionalHome.storageHome");
510
-                                	}else if(userRoleType == "4"){//质检人员
511
-                                		$state.go("app.additionalHome.qualityCheckHome");
512
-                                	}else if(userRoleType == "5"){//保卫人员
513
-                                		$state.go("app.additionalHome.defendHome");
514
-                                	}else if(userRoleType == "6"){//中转人员
515
-                                		$state.go("app.additionalHome.transferHome");
516
-                                	}else{
506
+                                	// if(userRoleType == "2"){//经营人员
507
+                                	// 	$state.go("app.additionalHome.businessHome");
508
+                                	// }else if(userRoleType == "3"){//仓储人员
509
+                                	// 	$state.go("app.additionalHome.storageHome");
510
+                                	// }else if(userRoleType == "4"){//质检人员
511
+                                	// 	$state.go("app.additionalHome.qualityCheckHome");
512
+                                	// }else if(userRoleType == "5"){//保卫人员
513
+                                	// 	$state.go("app.additionalHome.defendHome");
514
+                                	// }else if(userRoleType == "6"){//中转人员
515
+                                	// 	$state.go("app.additionalHome.transferHome");
516
+                                	// }else{
517 517
                                 		$state.go("app.dashboard");
518
-                                	}
518
+                                	// }
519 519
                                 }
520 520
                             })
521 521
                         })