  In this paper, we define an analytic index $\textrm{ind}^{a,
\Lambda}_{\widehat{K}}$ in differential $K$-theory associated to families of
generalized twisted de Rham operators for any given submersion $\pi:X\to B$
with closed fibers. We prove that the analytic index $\textrm{ind}^{a,
\Lambda}_{\widehat{K}}$ of the generator associated to any given complex flat
vector bundle $(F, \nabla^F)$ is equal to the generator associated to the
cohomology bundle $(H(Z, F|_Z), \nabla^{H(Z, F|_Z)})$ of $(F, \nabla^F)$.
Moreover, we prove the real part of the Riemann-Roch-Grothendieck theorem for
complex flat vector bundles at the differential form level. This gives a new
proof of the real part of the Riemann-Roch-Grothendieck theorem for complex
flat vector bundles previously proved by Ma-Zhang, and also generalizes our
previous work on the $\mathbb{Z}_2$-graded version of the same theorem in the
even dimensional fiber case.
