2017-10-05 10:38:28 +00:00
|
|
|
{
|
|
|
|
"module": "route",
|
2017-10-11 10:47:02 +00:00
|
|
|
"name": "Routes",
|
2017-10-11 10:09:22 +00:00
|
|
|
"icon" : "local_shipping",
|
2017-10-11 12:10:51 +00:00
|
|
|
"validations" : true,
|
2017-10-05 10:38:28 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/routes",
|
|
|
|
"state": "routes",
|
2017-10-11 10:09:22 +00:00
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/list",
|
|
|
|
"state": "routes.index",
|
2017-11-02 10:13:20 +00:00
|
|
|
"component": "vn-route-index",
|
|
|
|
"acl": ["employee"]
|
2017-10-11 10:09:22 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"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": {
|
2017-11-02 07:18:37 +00:00
|
|
|
"description": "Basic data",
|
2017-10-11 10:09:22 +00:00
|
|
|
"icon": "person"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/logisticData",
|
|
|
|
"state": "routes.card.logisticData",
|
|
|
|
"component": "vn-route-logistic-data",
|
|
|
|
"params": {
|
|
|
|
"route": "$ctrl.route"
|
|
|
|
},
|
|
|
|
"menu": {
|
2017-11-02 07:18:37 +00:00
|
|
|
"description": "Logistic data",
|
2017-10-11 10:09:22 +00:00
|
|
|
"icon": "local_shipping"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/tickets",
|
|
|
|
"state": "routes.card.tickets",
|
|
|
|
"component": "vn-route-tickets",
|
|
|
|
"params": {
|
|
|
|
"route": "$ctrl.route"
|
|
|
|
},
|
|
|
|
"menu": {
|
2017-11-02 07:18:37 +00:00
|
|
|
"description": "Assigned tickets",
|
2017-10-11 10:09:22 +00:00
|
|
|
"icon": "assignment"
|
|
|
|
}
|
2017-10-05 10:38:28 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|