change the structure of view_companies

Signed-off-by: RayAllen <ray@ray-Lenovo-IdeaPad-S400.(none)>