Procházet zdrojové kódy

fix: 安全分级管控

XuPengHui před 2 roky
rodič
revize
9a3c8416f5

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

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