\(2012.\left|x-2011\right|+\left(x-2011\right)^2=2013\left|2011-x\right|\)
\(2012.\left|x-2011\right|+\left|x-2011\right|^2=2013\left|x-2011\right|\)
\(\left|x-2011\right|\left(2012+\left|x-2011\right|\right)=2013\left|x-2011\right|\)
\(\Rightarrow2012+\left|x-2011\right|=2013\)
\(\left|x-2011\right|=1\)
\(\Rightarrow\orbr{\begin{cases}x=2012\\x=-2010\end{cases}}\)