Browse Source

升级spring-boot版本

fanxw 2 years ago
parent
commit
ba3481978a

+ 5 - 0
src/main/resources/static/app/business/device/views/deviceStorage-edit.html

@@ -36,6 +36,11 @@
36 36
                                                     <option value="1" ng-selected="1">正常</option>
37 37
                                                     <option value="0">已作废</option>
38 38
                                                 </select>
39
+                                                <select ng-model="dSbxxsjy.status" name="status" required>
40
+                                                    <option value="">--请选择--</option>
41
+                                                    <option value="1">正常</option>
42
+                                                    <option value="0">已作废</option>
43
+                                                </select><i></i>
39 44
                                             </label>
40 45
                                         </section>
41 46
                                     </div>

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

@@ -142,9 +142,9 @@ angular.module('app.system').controller("userEditCtrl",
142 142
                 	$scope.crkRoleIds.push($scope.crkRoleId);
143 143
                 }
144 144
                 $scope.user.orgId=$scope.userOrg[0].id;
145
-                if($stateParams.userId == null || $stateParams.userId == ""){
145
+                //if($stateParams.userId == null || $stateParams.userId == ""){
146 146
                 	$scope.user.password = md5($scope.user.password);
147
-                }
147
+                //}
148 148
                 $("input[name='rzrq']").each(function(j,item){
149 149
                     if(item.value != '' && item.value != null && typeof item.value != 'undefined'){
150 150
                         $scope.user.rzrq = $filter('date')(item.value, "yyyy-MM-dd");