|
楼主 |
发表于 2013-11-15 09:10:25
|
显示全部楼层
已将记录插入到OA_DC_ReceiveRange表中,但是在待收公文中通过如下条件过滤后看不到刚才的记录
var currentPsnFId = justep.Context.getCurrentPersonMemberFID();
//data.filters.setFilter("preFilter", "'" + currentPsnFId + "' like concat(fRangeURL,'%')");
//var filter = appCommon.FilterUtils.getCurrentMembersURLFilter('OA_DC_ReceiveRange.fRangeURL');
var personFilter = appCommon.FilterUtils.getCurrentMembersURLFilter('r.fRangeURL');
var personFilters = personFilter.split(' OR');
var filters = [];
for(var i=0;i<personFilters.length;i++){
var subFilter = personFilters[i];
while(subFilter.indexOf('(') >= 0){
subFilter = subFilter.replace('(', '');
}
while(subFilter.indexOf(')') >= 0){
subFilter = subFilter.replace(')', '');
}
filters[i] = "("+ subFilter +")"
}
var filter = filters.join(' OR ');
alert(filter);
alert弹出的提示框中并无之前插入到OA_DC_ReceiveRange表中frangeurl
请各位技术人员帮忙解答! |
|