You can notify the company in writing 30 days in advance and request to terminate the contract. The way for you to resign without any trouble is to fulfill your obligation of giving 30 days' written notice in advance. Article 30 of the Interpretation of the Ministry of Labor on Several Provisions of the Labor Law: "This article stipulates the right of resignation of workers, and the exercise of the right of resignation of workers is not subject to any conditions except the procedures specified in this article. However, those who violate the labor contract shall bear the responsibility according to law. " The Ministry of Labor's Reply on Issues Related to the Termination of Labor Contract stipulates: "... the laborer does not need to obtain the consent of the employer, and notifies the employer in writing to terminate the labor contract 30 days in advance. After more than 30 days, the employee proposes to the employer to go through the formalities of dissolving the labor contract, and the employer shall handle it ... "The above provisions clearly state that if the employee resigns without reason, he only needs to notify the employer in writing 30 days in advance. If the unit agrees immediately, the resignation will take effect immediately. If the company doesn't agree, then after 30 days (you still have to go to work within these 30 days), the resignation behavior will take effect without the company's consent, and the employer must go through the resignation procedures for the employees.
If you tell the enterprise in advance that you want to resign, the enterprise will also withhold the files and insurance, and you can solve the complaint through consultation.
At present, large and medium-sized state-owned enterprises, civil servants and public institutions are implementing the new labor law, while private enterprises and foreign-funded enterprises are implementing it less. The specific situation is not as easy as imagined.