The study of periodic orbits in the spatial collinear restricted four-body problem with non-spherical primaries