Redirect 'add' and 'edit' to 'view' on success saving

Signed-off-by: Haoran <fanghaoran9054@gmail.com>
Using element for table rows

Signed-off-by: Haoran <fanghaoran9054@gmail.com>
Implemented: 'Add' and 'Edit' and updating the result table

Signed-off-by: Haoran <fanghaoran9054@gmail.com>