The lawmakers demanded that Mr. Abbas appoint a new prime minister within two weeks or else face a no-confidence vote .