Deputy Mayor Ivanhoe Donaldson, the mayor's chief political strategist, keeps a computerized printout of the voting results of last Tuesday's Chicago mayoral election much like a big game hunter displays a prized trophy.

The ward-by-ward vote totals document the narrow victory last week of Rep. Harold Washington (D-Ill.), the first black ever elected mayor of Chicago. In ways both large and small, Donaldson and his boss, Mayor Marion Barry, contributed to that victory.

Barry, who has been anxious to broaden his national political profile since winning election to a second term as mayor in November, received friendly receptions in appearances throughout the city.

He seemed equally at ease preaching the gospel of Harold Washington to Baptist churchgoers on Chicago's predominantly black South Side and debating the virtues of Washington's policies with prominent businessmen downtown.

While it's doubtful he won many converts, Barry showed a talent for whipping up enthusiasm among Washington's ardent supporters. He also served a dual function of senior adviser and chief sounding board for Washington during the tense and often chaotic final campaign hours.

"His Barry's presence lent an important ingredient to the overall effort," Donaldson recalled late last week in his District Building office. "There was some comfort to Washington to have someone with him who's been there, who understands it, who doesn't look at things simplistically."

Barry is looking ahead to the next steps in his nationally oriented efforts, including the District's long-shot bid to host the 1984 Democratic National Convention and his own efforts on behalf of Philadelphia mayoral candidate Wilson Goode.

Barry has helped to raise money for Goode's campaign against former mayor Frank Rizzo. Barry hasn't revealed what else he plans to do on Goode's behalf before next month's election.

While Barry was highly visible in the final few days of the Chicago campaign, Donaldson assumed a role behind the scenes at Washington's campaign headquarters.

There were numerous reports that Washington's organization was plagued by warring factions and lost opportunities.

"I wouldn't say it was chaotic, but it had a lot of pieces that needed to be coordinated," Donaldson said. "It was a campaign that came from out of a movement. . . . I had some talented people. It was just a question of getting them time together to focus."

Donaldson declined to describe in detail his role in the campaign. He said his job was to advise Washington's aides on how to deal with the transition period between the election and inauguration.

Two campaign aides to Washington said Donaldson served as a high-level strategist and trouble-shooter who helped supervise the election day get-out-the-vote effort.

The federal Hatch Act prohibits most federal and D.C. employes--other than the mayor, City Council members and the recorder of deeds--from taking part in political management or in political campaigns. A spokeswoman for the Office of Special Counsel of the U.S. Merit Systems Protection Board said this week District employes are covered by the Hatch Act even when they take personal or administrative leave--as Donaldson did.

Donaldson said this week he didn't violate the law.

Elijah B. Rogers, who is stepping down next month after serving for more than four years as city adminstrator to take a job with a prestigious accounting firm, will be honored and tweaked at a farewell "roast" May 13 at the Shoreham Hotel.

The light-hearted bash is being sponsored by the mayor and about 20 of Rogers' friends. Rogers, a highly aggressive and cocky fixture on the fifth floor of the District Building, is the ideal target for a roast, according to John Clyburn, one of the organizers of the dinner.

"He's probably the most roastable person who's come along in quite some time," Clyburn said. "We wanted to do something that is befitting his personality."

Other organizers include lawyer Vincent Cohen, savings and loan executive William Fitzgerald, lawyer Robert Washington Jr. and developer Jeffery Cohen.

Clyburn, chairman of the board of The Granville Corp., said about 1,000 people are expected to attend the dinner and cocktail reception. Tickets are $35 a person.