|
@@ -162,7 +162,7 @@ app.controller('LoginCtrl', ['$rootScope', '$scope', '$state', '$translate', '$l
|
162
|
162
|
if ($rootScope.user) {
|
163
|
163
|
if($rootScope.user.role&&angular.isArray($rootScope.user.role)&&$rootScope.user.role.length){
|
164
|
164
|
$rootScope.isFuwutai = $rootScope.user.role.some(function(v){
|
165
|
|
- return v.rolecode == 'call center' || v.rolecode == 'call center admin';
|
|
165
|
+ return v.rolecode == 'call center';
|
166
|
166
|
})
|
167
|
167
|
}else{
|
168
|
168
|
$rootScope.isFuwutai = false;
|
|
@@ -283,7 +283,7 @@ app.controller('LoginCtrl', ['$rootScope', '$scope', '$state', '$translate', '$l
|
283
|
283
|
if ($rootScope.user) {
|
284
|
284
|
if($rootScope.user.role&&angular.isArray($rootScope.user.role)&&$rootScope.user.role.length){
|
285
|
285
|
$rootScope.isFuwutai = $rootScope.user.role.some(function(v){
|
286
|
|
- return v.rolecode == 'call center' || v.rolecode == 'call center admin';
|
|
286
|
+ return v.rolecode == 'call center';
|
287
|
287
|
})
|
288
|
288
|
}else{
|
289
|
289
|
$rootScope.isFuwutai = false;
|
|
@@ -405,7 +405,7 @@ app.controller('LoginCtrl', ['$rootScope', '$scope', '$state', '$translate', '$l
|
405
|
405
|
if ($rootScope.user) {
|
406
|
406
|
if($rootScope.user.role&&angular.isArray($rootScope.user.role)&&$rootScope.user.role.length){
|
407
|
407
|
$rootScope.isFuwutai = $rootScope.user.role.some(function(v){
|
408
|
|
- return v.rolecode == 'call center' || v.rolecode == 'call center admin';
|
|
408
|
+ return v.rolecode == 'call center';
|
409
|
409
|
})
|
410
|
410
|
}else{
|
411
|
411
|
$rootScope.isFuwutai = false;
|