|
|
@@ -466,6 +466,33 @@ angular.module('app.system').controller("userEditCtrl",
|
|
466
|
466
|
$state.go("app.system.user");
|
|
467
|
467
|
}
|
|
468
|
468
|
}
|
|
|
469
|
+
|
|
|
470
|
+ //部门名称
|
|
|
471
|
+ $scope.bmmcBlur=function(){
|
|
|
472
|
+ if(null != $scope.user.bmmc || undefined != $scope.user.bmmc){
|
|
|
473
|
+ if($scope.user.bmmc.includes('无') || $scope.user.bmmc.includes('暂无') || $scope.user.bmmc.includes('空')){
|
|
|
474
|
+ $("#verificationContainer").css("display","block");
|
|
|
475
|
+ $("#verificationInput").css("background","#fff0f0");
|
|
|
476
|
+ }else{
|
|
|
477
|
+ $("#verificationContainer").css("display","none");
|
|
|
478
|
+ $("#verificationInput").css("background","");
|
|
|
479
|
+ }
|
|
|
480
|
+ }else{
|
|
|
481
|
+ $("#verificationContainer").css("display","none");
|
|
|
482
|
+ $("#verificationInput").css("background","");
|
|
|
483
|
+ }
|
|
|
484
|
+ }
|
|
|
485
|
+
|
|
|
486
|
+ //入职日期
|
|
|
487
|
+ $scope.rzrqChange = function() {
|
|
|
488
|
+ var rzrq = $('#rzrq').val();
|
|
|
489
|
+ if (rzrq != "" && rzrq != null && $rootScope.orgInfo.registDate > rzrq){
|
|
|
490
|
+ alert("入职日期要晚于企业注册日期");
|
|
|
491
|
+ $('#rzrq').val('');
|
|
|
492
|
+ }
|
|
|
493
|
+ }
|
|
|
494
|
+
|
|
|
495
|
+
|
|
469
|
496
|
});
|
|
470
|
497
|
|
|
471
|
498
|
angular.module('app.system').controller("userLoginCtrl",
|