68 lines
1.8 KiB
JSON
68 lines
1.8 KiB
JSON
{
|
|
"module": "route",
|
|
"name": "Routes",
|
|
"icon" : "local_shipping",
|
|
"validations" : true,
|
|
"routes": [
|
|
{
|
|
"url": "/routes",
|
|
"state": "routes",
|
|
"abstract": true,
|
|
"component": "ui-view"
|
|
},
|
|
{
|
|
"url": "/list",
|
|
"state": "routes.index",
|
|
"component": "vn-route-index",
|
|
"acl": ["employee"]
|
|
},
|
|
{
|
|
"url": "/create",
|
|
"state": "routes.create",
|
|
"component": "vn-route-create"
|
|
},
|
|
{
|
|
"url": "/:id",
|
|
"state": "routes.card",
|
|
"abstract": true,
|
|
"component": "vn-route-card"
|
|
},
|
|
{
|
|
"url": "/basicData",
|
|
"state": "routes.card.basicData",
|
|
"component": "vn-route-basic-data",
|
|
"params": {
|
|
"route": "$ctrl.route"
|
|
},
|
|
"menu": {
|
|
"description": "Basic data",
|
|
"icon": "person"
|
|
}
|
|
},
|
|
{
|
|
"url": "/logisticData",
|
|
"state": "routes.card.logisticData",
|
|
"component": "vn-route-logistic-data",
|
|
"acl": ["employee"],
|
|
"params": {
|
|
"route": "$ctrl.route"
|
|
},
|
|
"menu": {
|
|
"description": "Logistic data",
|
|
"icon": "local_shipping"
|
|
}
|
|
},
|
|
{
|
|
"url": "/tickets",
|
|
"state": "routes.card.tickets",
|
|
"component": "vn-route-tickets",
|
|
"params": {
|
|
"route": "$ctrl.route"
|
|
},
|
|
"menu": {
|
|
"description": "Assigned tickets",
|
|
"icon": "assignment"
|
|
}
|
|
}
|
|
]
|
|
} |