提交 99d098b6 编写于 作者: 蔡祥熠

Merge branch 'fix/Selector.search_execption' into 'develop'

Merge of fix/【流程管理】修复人员选择器搜索结果可能不准确的问题 to develop

See merge request o2oa/o2oa!1215
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册