MANAGUA, Nicaragua (AP) _ President Daniel Ortega on Tuesday said Hurricane Joan caused more than $828 million in damages to Nicaragua, more than the amount of money spent fighting the U.S.-backed rebels.

Ortega also suspended the 30-day state of emergency enacted two days before Joan struck on Oct. 22. He called on workers, producers and political opposition groups to help reconstruction.

Thousands of homes were destroyed, bridges collapsed and thousands of acres of crops were flooded. Ortega said 137 people died in the hurricane and 119 people still were missing.

He said almost 500,000 people were homeless.

Ortega said the direct costs of the hurricane were more than $828 million. That figure did not include ecological damages, which he said still were incalculable. The leftist Sandinista government said in 1987 that direct costs of the civil war, which began in 1981, was $586.5 million.

Ortega puts total war costs at more than $12 billion, including loans to Nicaragua blocked by the United States and projections of what Nicaraguan exports could have earned if not for the fighting.

The president, in an 90-minute speech before the National Assembly and foreign diplomats, called on Nicaraguan workers and producers to create a fund to aid rural peasants who suffered the worst damages in the hurricane.

''These peasants lost their homes, their work implements, their harvests,'' Ortega said. ''These peasants don't have anything.''

Ortega lashed out at the United States for failing to offer emergency assistance but continuing to fund the rebels known as Contras.

''The only humanitarian aid the Yankee government, the Yankee Congress has approved is already known to us, that which they have approved for criminals, Somoza guards, to continue killing the people,'' he said.

The Reagan administration began funding the Contras almost two years after the Sandinistas came to power in a 1979 revolutionary war that desposed the dictatorship of Anastasio Somoza. Washington claims Nicaragua is a communist beachhead in Central America.

The Nicaraguan economy has suffered from the war, corruption and government mismanagement. Ortega pointed out that when the Sandinistas assumed power, Nicaragua's economy already was reeling from the revolution and a powerful earthquake in 1972 that devastated Managua, the capital, and killed 10,000 people.

Sandinista measures to right the economy failed. Inflation runs rampant, with some analysts putting it as high as 10,000 percent annually. The average worker complains he lacks the income to buy basic food staples.

Nicaragua ran a trade deficit last year of $520 million. The foreign debt is estimated at $6 billion.

Ortega said the government would enact new economic policies, but provided no details.

Ortega said the threat posed by Hurricane Joan no longer existed in explaining his decision to repeal the state of emergency, which curbed some constitutional guarantees of freedom of expression and empowered the government to take over private property if necessary.

''It was enacted to confront the phenomenon that was coming, to be able to make preparations under the best conditions within the mark of the law,'' Ortega said. ''This reason has disappeared.''