This commit is contained in:
glovetleong
2021-07-07 14:53:37 +08:00
parent 3283d379c5
commit b4ee5c20a1
5 changed files with 32 additions and 31290 deletions
+31
View File
@@ -5,6 +5,11 @@ Vue.use(Router);
import Logins from './pages/logins/Index';
import Dashboards from './pages/dashboards/Index';
import UserProfile from './pages/users/Profile';
import ContractList from './pages/contracts/List';
import ContractCreate from './pages/contracts/Create';
import ContractEdit from './pages/contracts/Edit';
import PageNotFound from './pages/page-not-founds/Index';
let router = new Router({
@@ -36,6 +41,32 @@ let router = new Router({
component: Dashboards
},
/////////////////////////////////////////////////////
// Contract
{
path: '/contract/list',
name: 'Contract List',
meta: {
auth: true
},
component: ContractList
},
{
path: '/contract/create',
name: 'Contract Create',
meta: {
auth: true
},
component: ContractCreate
},
{
path: '/contract/edit/:hash_id',
name: 'Contract Edit',
meta: {
auth: true
},
component: ContractEdit
},
/////////////////////////////////////////////////////
// User
{
path: '/user/profile/update',