Administrator 7 lat temu
rodzic
commit
6df88f18af

+ 0 - 13
src/main/webapp/resources/js/sso/controllers/applyBindCtrl.js

@@ -110,19 +110,6 @@ define(['app/app'], function (app) {
             applyToEnterpriseTableParams();
         }
 
-        //手机号和邮箱号的部分隐藏
-        if($scope.userInfo.userTel){
-            $scope.userInfo.userTel = $scope.userInfo.userTel.substr(0, 3)
-                + '****' + $scope.userInfo.userTel.substr(7);
-        }
-        var userEmailTemp = $scope.userInfo.userEmail
-            ? $scope.userInfo.userEmail.indexOf("@") : '';
-        if (userEmailTemp != '') {
-            $scope.userInfo.userEmail = $scope.userInfo.userEmail.substr(
-                0,1) + "***"
-                + $scope.userInfo.userEmail.substr(userEmailTemp);
-        }
-
         var getEnterprise = function () {
             // 获取企业信息
             Enterprise.getEnterpriseInfo({enuu : $scope.userInfo.enterprise.uu}, function(data) {

+ 0 - 13
src/main/webapp/resources/js/sso/controllers/rolePermissionCtrl.js

@@ -114,19 +114,6 @@ define(['app/app'], function (app) {
             applyToEnterpriseTableParams();
         }
 
-      //手机号和邮箱号的部分隐藏
-      if($scope.userInfo.userTel){
-        $scope.userInfo.userTel = $scope.userInfo.userTel.substr(0, 3)
-            + '****' + $scope.userInfo.userTel.substr(7);
-      }
-      var userEmailTemp = $scope.userInfo.userEmail
-          ? $scope.userInfo.userEmail.indexOf("@") : '';
-      if (userEmailTemp != '') {
-        $scope.userInfo.userEmail = $scope.userInfo.userEmail.substr(
-            0,1) + "***"
-            + $scope.userInfo.userEmail.substr(userEmailTemp);
-      }
-
 		var getEnterprise = function () {
 			// 获取企业信息
 			Enterprise.getEnterpriseInfo({enuu : $scope.userInfo.enterprise.uu}, function(data) {

+ 2 - 2
src/main/webapp/resources/js/sso/controllers/securitySetCtrl.js

@@ -115,13 +115,13 @@ define(['app/app'], function (app) {
 
       //手机号和邮箱号的部分隐藏
       if($scope.userInfo.userTel){
-        $scope.userInfo.userTel = $scope.userInfo.userTel.substr(0, 3)
+        $scope.userTel = $scope.userInfo.userTel.substr(0, 3)
             + '****' + $scope.userInfo.userTel.substr(7);
       }
       var userEmailTemp = $scope.userInfo.userEmail
           ? $scope.userInfo.userEmail.indexOf("@") : '';
       if (userEmailTemp != '') {
-        $scope.userInfo.userEmail = $scope.userInfo.userEmail.substr(
+        $scope.userEmail = $scope.userInfo.userEmail.substr(
             0,1) + "***"
             + $scope.userInfo.userEmail.substr(userEmailTemp);
       }

+ 0 - 12
src/main/webapp/resources/js/sso/controllers/ssoAddressCtrl.js

@@ -20,18 +20,6 @@ define(['app/app'], function (app) {
                 $scope.userInfoBackup = angular.copy($scope.userInfo);
                 $scope.canAddTotal = 20;
 
-                //手机号和邮箱号的部分隐藏
-                if($scope.userInfo.userTel){
-                    $scope.userInfo.userTel = $scope.userInfo.userTel.substr(0, 3)
-                        + '****' + $scope.userInfo.userTel.substr(7);
-                }
-                var userEmailTemp = $scope.userInfo.userEmail
-                    ? $scope.userInfo.userEmail.indexOf("@") : '';
-                if (userEmailTemp != '') {
-                    $scope.userInfo.userEmail = $scope.userInfo.userEmail.substr(
-                        0,1) + "***"
-                        + $scope.userInfo.userEmail.substr(userEmailTemp);
-                }
                 // 获取企业信息
                 if ($scope.userInfo.enterprise) {
                     Enterprise.getEnterpriseInfo({enuu: $scope.userInfo.enterprise.uu},

+ 0 - 13
src/main/webapp/resources/js/sso/controllers/ssoInfoCtrl.js

@@ -112,19 +112,6 @@ define(['app/app'], function (app) {
             applyToEnterpriseTableParams();
         }
 
-      //手机号和邮箱号的部分隐藏
-      if($scope.userInfo.userTel){
-        $scope.userInfo.userTel = $scope.userInfo.userTel.substr(0, 3)
-            + '****' + $scope.userInfo.userTel.substr(7);
-      }
-      var userEmailTemp = $scope.userInfo.userEmail
-          ? $scope.userInfo.userEmail.indexOf("@") : '';
-      if (userEmailTemp != '') {
-        $scope.userInfo.userEmail = $scope.userInfo.userEmail.substr(
-            0,1) + "***"
-            + $scope.userInfo.userEmail.substr(userEmailTemp);
-      }
-
 		var getEnterprise = function () {
 			// 获取企业信息
 			Enterprise.getEnterpriseInfo({enuu : $scope.userInfo.enterprise.uu}, function(data) {

+ 0 - 13
src/main/webapp/resources/js/sso/controllers/staffManagementCtrl.js

@@ -114,19 +114,6 @@ define(['app/app'], function (app) {
             applyToEnterpriseTableParams();
         }
 
-      //手机号和邮箱号的部分隐藏
-      if($scope.userInfo.userTel){
-        $scope.userInfo.userTel = $scope.userInfo.userTel.substr(0, 3)
-            + '****' + $scope.userInfo.userTel.substr(7);
-      }
-      var userEmailTemp = $scope.userInfo.userEmail
-          ? $scope.userInfo.userEmail.indexOf("@") : '';
-      if (userEmailTemp != '') {
-        $scope.userInfo.userEmail = $scope.userInfo.userEmail.substr(
-            0,1) + "***"
-            + $scope.userInfo.userEmail.substr(userEmailTemp);
-      }
-
 		var getEnterprise = function () {
 			// 获取企业信息
 			Enterprise.getEnterpriseInfo({enuu : $scope.userInfo.enterprise.uu}, function(data) {

+ 1 - 1
src/main/webapp/resources/view/sso/header.html

@@ -214,7 +214,7 @@
             <ul>
                 <!--<li ng-class="{'active' : active == 'home'}"><a href="#home" class="active">首页</a></li>-->
                 <!--<li ng-class="{'active' : active == 'message'}" ><a ui-sref="messagePersonal">消息(<span ng-bind="unReadMessage">0</span>)</a></li>-->
-                <li ng-if="userInfo.enterprise && userInfo.enterprise.uu" ng-class="{'active' : active == 'message'}" ><a ui-sref="messagePersonal">消息(<span ng-bind="unReadMessCount || 0"></span>)</a></li>
+                <!--<li ng-if="userInfo.enterprise && userInfo.enterprise.uu" ng-class="{'active' : active == 'message'}" ><a ui-sref="messagePersonal">消息(<span ng-bind="unReadMessCount || 0"></span>)</a></li>-->
                 <!--<li ng-class="{'active' : active == 'browsing-history'}" s><a href="#browsing-history">浏览历史</a></li>-->
             </ul>
         </div>

+ 2 - 2
src/main/webapp/resources/view/sso/securitySet.html

@@ -958,7 +958,7 @@
                         <h5 ng-show="userInfo.emailValidCode && userInfo.emailValidCode == 2"><img class="ok-icon" src="static/img/user/images/ok-account.png"/></h5>
                         <h5 ng-show="!userInfo.emailValidCode || userInfo.emailValidCode != 2"><img src="static/img/user/images/safe.png"/></h5>
                         <font>邮箱认证:</font>
-                        <span ng-show="userInfo.emailValidCode && userInfo.emailValidCode == 2"><i ng-modal="userInfo.userEmail" style="color:#666;">{{userInfo.userEmail}}</i></span>
+                        <span ng-show="userInfo.emailValidCode && userInfo.emailValidCode == 2"><i ng-modal="userInfo.userEmail" style="color:#666;">{{userEmail}}</i></span>
                         <span ng-show="!userInfo.emailValidCode || userInfo.emailValidCode != 2">绑定邮箱可帮助您找回登录密码,并可订阅获取最新的订单动态、促销信息。</span>
                     </span>
               <a ng-show="userInfo.emailValidCode && userInfo.emailValidCode == 2" ng-click="updateUserEmail()">修改</a>
@@ -968,7 +968,7 @@
                     <span>
                         <h5><img class="ok-icon" src="static/img/user/images/ok-account.png"/></h5>
                         <font>手机验证:</font>
-                        <span>您绑定的手机:<i ng-modal="userInfo.userTel" style="color:#666;">{{userInfo.userTel}}</i>。若已丢失或停用,请立即更换,避免账户被盗。</span>
+                        <span>您绑定的手机:<i ng-modal="userInfo.userTel" style="color:#666;">{{userTel}}</i>。若已丢失或停用,请立即更换,避免账户被盗。</span>
                     </span>
               <a ng-click="updateUserTel()">修改</a>
             </li>

+ 1 - 1
src/main/webapp/resources/view/sso/ssoInfo.html

@@ -907,7 +907,7 @@
   .count .basic_title span{
       margin-left:30px;
   }
-  .count .count_basic ul{
+  .count .count_basic > ul{
       margin-left:30px;
   }
 </style>

+ 1 - 0
src/main/webapp/resources/view/sso/staffManagement.html

@@ -282,6 +282,7 @@
     table.role-info tbody tr.role-filter td select {
         background: url("static/img/vendor/images/xiala.png") no-repeat;
         background-position: 30px 9px;
+        opacity:1;
     }
     table.role-info tbody >tr>td{
         font-size: 14px;