diff --git a/o2web/source/x_component_Selector/Identity.js b/o2web/source/x_component_Selector/Identity.js index 5cc19c40aa96915cdefb17f9782ddcd2c15b6ec3..e31af433a99e3bef05c04c14e8df2f4724606632 100644 --- a/o2web/source/x_component_Selector/Identity.js +++ b/o2web/source/x_component_Selector/Identity.js @@ -1206,7 +1206,6 @@ MWF.xApplication.Selector.Identity.Include = new Class({ }, listByFilter : function( type, key, callback ){ - debugger; var arr1 = this.listByFilterPerson(key) || []; this.listByFilterUnitAndGroup( type, key, function(arr2){ this.listByFilterGroup( type, key, function(arr3){ @@ -1259,8 +1258,8 @@ MWF.xApplication.Selector.Identity.Include = new Class({ //根据关键字获取组织和群组内的身份 var keyString = typeOf( key )==="string" ? key.toLowerCase() : key.key.toLowerCase(); - if ( (this.includeUnit && this.includeUnit.length) || (this.includeGroup && this.includeGroup.length) ){ - key = this.getUnitFilterKey( key, this.includeUnit || [], this.includeGroup || [] ); + if ( this.includeUnit && this.includeUnit.length ){ + key = this.getUnitFilterKey( key, this.includeUnit, this.includeGroup ); this.orgAction.listIdentityByKey(function(json){ if (callback) callback(json.data);