salix/client/route/routes.json

66 lines
1.7 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"
},
{
"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": "Datos básicos",
"icon": "person"
}
},
{
"url": "/logisticData",
"state": "routes.card.logisticData",
"component": "vn-route-logistic-data",
"params": {
"route": "$ctrl.route"
},
"menu": {
"description": "Datos logísticos",
"icon": "local_shipping"
}
},
{
"url": "/tickets",
"state": "routes.card.tickets",
"component": "vn-route-tickets",
"params": {
"route": "$ctrl.route"
},
"menu": {
"description": "Tickets asignados",
"icon": "assignment"
}
}
]
}