China's top legislature has pledged to contribute to the country's second centenary goal and advance Chinese modernization.