The well-posedness and long-time behavior of the nonlocal diffusion porous medium equations with nonlinear term