原函数是
static function TTASKCENTERINFO.DefaultDesktopTaskOrgRange: TOrgTypes;
begin
Result := [TOrgType.otPerson];
[B]if TSettingLib.GetDefaultConfig.Task_Desktop_IncludeDeptProcess then
Result := Result + [TOrgType.otDept];[/B]
end;
需要改为
static function TTASKCENTERINFO.DefaultDesktopTaskOrgRange: TOrgTypes;
begin
Result := [TOrgType.otPerson];
end;
Result := [TOrgType.otPerson, TOrgType.otDept];
吗?
黑体的一段删除掉,然后
end;
后加上语句Result := [TOrgType.otPerson, TOrgType.otDept];
?
static function TTASKCENTERINFO.DefaultDesktopTaskOrgRange: TOrgTypes;
begin
Result := [TOrgType.otPerson];
if TSettingLib.GetDefaultConfig.Task_Desktop_IncludeDeptProcess then
Result := Result + [TOrgType.otDept];
end;
这个是3088版本里面的源代码么?
如果这个是源代码就可以配置的啊