Finish enterprise detail page

And improve code, add some function