2019-03-21 12:46:14 +00:00
|
|
|
{
|
|
|
|
"module": "route",
|
|
|
|
"name": "Routes",
|
|
|
|
"icon": "icon-delivery",
|
|
|
|
"validations" : true,
|
2019-03-22 10:07:44 +00:00
|
|
|
"dependencies": ["client", "worker", "ticket"],
|
2019-03-21 12:46:14 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/route",
|
|
|
|
"state": "route",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view",
|
|
|
|
"description": "Routes",
|
|
|
|
"acl": ["employee"]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/index?q",
|
|
|
|
"state": "route.index",
|
|
|
|
"component": "vn-route-index",
|
|
|
|
"description": "Routes"
|
2019-03-22 10:07:44 +00:00
|
|
|
},
|
2019-03-22 13:08:01 +00:00
|
|
|
{
|
|
|
|
"url": "/create",
|
|
|
|
"state": "route.create",
|
|
|
|
"component": "vn-route-create",
|
|
|
|
"description": "New route"
|
|
|
|
},
|
2019-03-22 10:07:44 +00:00
|
|
|
{
|
|
|
|
"url": "/:id",
|
|
|
|
"state": "route.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-route-card"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/summary",
|
|
|
|
"state": "route.card.summary",
|
|
|
|
"component": "vn-route-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"route": "$ctrl.route"
|
|
|
|
}
|
2019-03-21 12:46:14 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|