Browse Source

fix: 安全分级管控

XuPengHui 2 years ago
parent
commit
9a3c8416f5

+ 6 - 3
src/main/resources/static/app/storage/views/safeproduce/safeRiskLevelCtrl-edit.html

@@ -25,13 +25,13 @@
25
                                       <section class="col col-3">
25
                                       <section class="col col-3">
26
                                           <label class="label">识别人<span style="color: red;">*</span></label>
26
                                           <label class="label">识别人<span style="color: red;">*</span></label>
27
                                           <label class="input">
27
                                           <label class="input">
28
-                                              <input type="text" ng-model="insertRisk.identifyPerson" name="operationTime" required>
28
+                                              <input type="text" ng-model="insertRisk.identifyPerson" name="operationTime" required ng-disabled="isNotEdit">
29
                                           </label>
29
                                           </label>
30
                                       </section>
30
                                       </section>
31
                                       <section class="col col-3">
31
                                       <section class="col col-3">
32
                                           <label class="label">环节部位<span style="color: red;">*</span></label>
32
                                           <label class="label">环节部位<span style="color: red;">*</span></label>
33
                                           <label class="input">
33
                                           <label class="input">
34
-                                              <input type="text" ng-model="insertRisk.linkPart" name="linkPart">
34
+                                              <input type="text" ng-model="insertRisk.linkPart" name="linkPart" required ng-disabled="isNotEdit">
35
                                           </label>
35
                                           </label>
36
                                       </section>
36
                                       </section>
37
                                       <section class="col col-3">
37
                                       <section class="col col-3">
@@ -39,6 +39,7 @@
39
                                           <label class="select">
39
                                           <label class="select">
40
                                             <select 
40
                                             <select 
41
                                                 ng-model="insertRisk.riskClassification"
41
                                                 ng-model="insertRisk.riskClassification"
42
+                                                ng-disabled="isNotEdit"
42
                                                 name="riskClassification" class="form-control input-sm"
43
                                                 name="riskClassification" class="form-control input-sm"
43
                                                 ng-options="item.id as item.value for item in fxfjList"
44
                                                 ng-options="item.id as item.value for item in fxfjList"
44
                                                     ng-change="loadWare(houseId)" required>
45
                                                     ng-change="loadWare(houseId)" required>
@@ -53,6 +54,7 @@
53
                                           <label class="select">
54
                                           <label class="select">
54
                                             <select 
55
                                             <select 
55
                                                 ng-model="insertRisk.riskTypeName"
56
                                                 ng-model="insertRisk.riskTypeName"
57
+                                                ng-disabled="isNotEdit"
56
                                                 name="riskTypeName" class="form-control input-sm"
58
                                                 name="riskTypeName" class="form-control input-sm"
57
                                                 ng-options="item.id as item.value for item in fxlxList"
59
                                                 ng-options="item.id as item.value for item in fxlxList"
58
                                                     ng-change="loadWare(houseId)" required>
60
                                                     ng-change="loadWare(houseId)" required>
@@ -65,7 +67,8 @@
65
                                         <section class="col col-12" style="width: 100%;">
67
                                         <section class="col col-12" style="width: 100%;">
66
                                             <label class="label">风险识别</label>
68
                                             <label class="label">风险识别</label>
67
                                             <label class="textarea textarea-resizable">
69
                                             <label class="textarea textarea-resizable">
68
-                                                <textarea rows="5" class="custom-scroll"  ng-model="insertRisk.riskIdentification"  ng-disabled="isNotEdit" name="riskIdentification"></textarea>
70
+                                                <textarea rows="5" class="custom-scroll"  ng-model="insertRisk.riskIdentification"  
71
+                                                ng-disabled="isNotEdit" name="riskIdentification"></textarea>
69
                                             </label>
72
                                             </label>
70
                                         </section>
73
                                         </section>
71
                                     </div>
74
                                     </div>