Theoretical study of phase diagram of electron-doped cuprates