|
@@ -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");
|