Among the measures are a weeklong stay-at-home order for the cities of Shijiazhuang and Xingtai. A spate of outbreaks in the Hebei province has raised concern for the nearby capital of Beijing.