would rather “宁愿”,用虚拟语气.
与现在或将来时期相反是,用动词的过去式,
与过去是相反时,用动词的完成式,即had done
本题与be going to 表示将来,因此would rather 后面应用动词的过去式.