Secondly, if you are in Shanghai and your partner plans to settle in Shanghai for a long time, you must apply for a temporary residence permit in Shanghai. As for your residence certificate, you generally don't need a labor contract! But you need proof from the police station where you live! You go to your place of residence to consult this!
As for the permanent residence permit for foreigners, it is not easy. First of all, you must be married for five years and live in China for at least nine months every year! Then you are eligible to apply for permanent residence. As for whether the application will be approved, it is hard to say!
Finally, if your lover gets a residence permit in Shanghai, then she can't work in Shanghai!