Israeli Foreign Minister Moshe Dayan wound up four days of talks here today saying he has received assurances from senior West German leaders that Bonn would support Israeli stands on the Middle East.

Dayan, who made it clear from the outset that he had not come here "simply on a courtesy visit," left a few West German officials dismayed over his outspokeness as he sought to enlist Bonn's assistance in changing the attitude of the nine member European Economic Community on the Middle East.

In doing this, he has been publicly and sharply critical during his stay of policy statements on the Middle East by the nine-member European Economic Community. In particular, he has focused on an EEC declaration of last June supporting a palestinian "homeland."

Dayan has publicly attacked such statements as more likely to jeopardize than promote peace in the area since, he believes, they strengthen beliefs of Arab extremists that the European Economic Community can bring pressure on Israel.

The Israeli minister said the EEC should consult Israel before making statements affecting that country's vital interesting, especially at such a delicate time.

In a pre-dinner toast here last night that stunned a number of high-level guests. Dayan also called on West Germany to exercise its political and exert "bold leadership" that would keep the community as a whole from following erroneous policies for the sake of European solidarity.

Dayan appeared to be especially critical of France, saying he did not think that country could play a positive role at the moment. He indicated that France could have been more helpful and encouraging in its attitude toward the dramatic recent initative of Egyptian President Anwar Sadat in seeking to break the bottleneck.

The Israelis clearly are worried over what they have viewed as a shifting Western European view on the Middle East and the Palestinian situation.

After meetings with top West German officials and leaders of all major political parties, however, Dayan told a press conference today he was leaving here happy and satisfied.

He claimed to have received further assurances from both government and opposition leaders that Bonn would not recognize or negotiate with the Palestine Liberation Organization as long as the PLO does not recognize Israel.

He also claimed to have full West German support in the backing of Sadat's efforts "even though some of the Arab countries have not exactly approved of Sadat's move," Dayan said.

Dayan added that Bonn will try to influence the whole of the EEC in support of Sadat's moves, which have split the Arab world.

Foreign Ministry officials later said they had no real quarrel with Dayan's press conference statements.

Some officials acknowledged that Bonn and other Western European countries had been relatively slow to welcome Sadat's unprecedented visit to Israel, but they point to text of the most recent EEC declaration on the Middle East situation last week that welcomed the Sadat effort without any conditions.

Bonn also maintains that its basic position cannot be separated from the rest of the nine-national EEC on the Middle East. That position is viewed here as a balanced one that has, bonn feels, contributed to the atmosphere in which leaders like Sadat will risk his political future for an uncertain settlement.

The West Germans, along with the EEC, point out they have supported "a homeland" and not called specifically for "a Palestinian state." They also continue to maintain, along with the other EEC states, that Israel should pull back from most of the land conqured in the 1967 war.

Today, Dayan seemed to soften his stance a bit, suggesting that not all Israeli settlements on the West Bank would necessarily be retained under a peace settlement. On the question of withdrawing from East Jerusalem, however, Dayan made it clear Israel had no intention of yielding.

The minister reiterated his government's position that Israel was willing to sign a separate peace treaty with Egypt if it could be worked out. He rejected a suggestion by U.N. Secretary-General Kurt Waldheim for expanded talks at the U.N. in New York, after the forth coming Cario meeting.

Dayan said the face-to-face talks such as those recently concluded with Sadat in Jerusalem and those coming up in Cairo should be sufficient to set the stage for the resumption of the Geneva conference.