2019-03-21 12:46:14 +00:00
|
|
|
{
|
|
|
|
"module": "route",
|
|
|
|
"name": "Routes",
|
|
|
|
"icon": "icon-delivery",
|
|
|
|
"validations" : true,
|
2022-03-02 13:59:30 +00:00
|
|
|
"dependencies": ["client", "worker", "ticket", "supplier", "invoiceIn"],
|
2019-11-10 10:08:44 +00:00
|
|
|
"menus": {
|
|
|
|
"main": [
|
2022-02-24 13:52:32 +00:00
|
|
|
{"state": "route.index", "icon": "icon-delivery"},
|
2023-07-04 12:42:51 +00:00
|
|
|
{"state": "route.agencyTerm.index", "icon": "icon-agency-term"},
|
|
|
|
{"state": "route.roadmap", "icon": "icon-trailer"}
|
2019-11-10 10:08:44 +00:00
|
|
|
],
|
|
|
|
"card": [
|
|
|
|
{"state": "route.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "route.card.tickets", "icon": "icon-ticket"},
|
|
|
|
{"state": "route.card.log", "icon": "history"}
|
2023-07-04 12:42:51 +00:00
|
|
|
],
|
|
|
|
"roadmap": [
|
|
|
|
{"state": "route.roadmap.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "route.roadmap.card.stops", "icon": "icon-lines"}
|
2019-11-10 10:08:44 +00:00
|
|
|
]
|
|
|
|
},
|
2019-03-21 12:46:14 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/route",
|
|
|
|
"state": "route",
|
|
|
|
"abstract": true,
|
2019-11-10 10:08:44 +00:00
|
|
|
"component": "vn-route",
|
2019-03-21 12:46:14 +00:00
|
|
|
"description": "Routes",
|
|
|
|
"acl": ["employee"]
|
2019-04-04 11:06:41 +00:00
|
|
|
}, {
|
2019-03-21 12:46:14 +00:00
|
|
|
"url": "/index?q",
|
|
|
|
"state": "route.index",
|
|
|
|
"component": "vn-route-index",
|
|
|
|
"description": "Routes"
|
2019-04-04 11:06:41 +00:00
|
|
|
}, {
|
2019-03-22 13:08:01 +00:00
|
|
|
"url": "/create",
|
|
|
|
"state": "route.create",
|
|
|
|
"component": "vn-route-create",
|
|
|
|
"description": "New route"
|
2019-04-04 11:06:41 +00:00
|
|
|
}, {
|
2019-03-22 10:07:44 +00:00
|
|
|
"url": "/:id",
|
|
|
|
"state": "route.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-route-card"
|
2022-02-24 13:52:32 +00:00
|
|
|
}, {
|
2022-11-02 08:40:09 +00:00
|
|
|
"url": "/agency-term?q",
|
2022-03-02 13:59:30 +00:00
|
|
|
"abstract": true,
|
2022-02-24 13:52:32 +00:00
|
|
|
"state": "route.agencyTerm",
|
2022-03-02 13:59:30 +00:00
|
|
|
"component": "ui-view"
|
|
|
|
}, {
|
|
|
|
"url": "/index",
|
|
|
|
"state": "route.agencyTerm.index",
|
|
|
|
"component": "vn-agency-term-index",
|
2022-02-24 13:52:32 +00:00
|
|
|
"description": "Autonomous",
|
|
|
|
"acl": ["administrative"]
|
2022-11-02 08:40:09 +00:00
|
|
|
},{
|
2022-03-02 13:59:30 +00:00
|
|
|
"url": "/createInvoiceIn?q",
|
|
|
|
"state": "route.agencyTerm.createInvoiceIn",
|
|
|
|
"component": "vn-agency-term-create-invoice-in",
|
2022-03-03 13:42:12 +00:00
|
|
|
"description": "File management",
|
2022-11-02 08:40:09 +00:00
|
|
|
"params": {
|
2022-03-02 13:59:30 +00:00
|
|
|
"route": "$ctrl.route"
|
|
|
|
},
|
|
|
|
"acl": ["administrative"]
|
2019-04-04 11:06:41 +00:00
|
|
|
}, {
|
2019-03-22 10:07:44 +00:00
|
|
|
"url": "/summary",
|
|
|
|
"state": "route.card.summary",
|
|
|
|
"component": "vn-route-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"route": "$ctrl.route"
|
|
|
|
}
|
2019-04-04 11:06:41 +00:00
|
|
|
}, {
|
2019-03-23 15:16:47 +00:00
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "route.card.basicData",
|
|
|
|
"component": "vn-route-basic-data",
|
|
|
|
"description": "Basic data",
|
|
|
|
"params": {
|
|
|
|
"route": "$ctrl.route"
|
|
|
|
},
|
|
|
|
"acl": ["delivery"]
|
2019-04-04 11:06:41 +00:00
|
|
|
}, {
|
|
|
|
"url" : "/log",
|
|
|
|
"state": "route.card.log",
|
|
|
|
"component": "vn-route-log",
|
|
|
|
"description": "Log",
|
|
|
|
"acl": ["delivery"]
|
|
|
|
}, {
|
|
|
|
"url": "/tickets",
|
|
|
|
"state": "route.card.tickets",
|
|
|
|
"component": "vn-route-tickets",
|
|
|
|
"description": "Tickets",
|
|
|
|
"params": {
|
|
|
|
"route": "$ctrl.route"
|
|
|
|
},
|
|
|
|
"acl": ["delivery"]
|
2023-07-04 12:42:51 +00:00
|
|
|
}, {
|
|
|
|
"url": "/roadmap?q",
|
|
|
|
"state": "route.roadmap",
|
|
|
|
"component": "vn-roadmap",
|
|
|
|
"description": "Roadmaps"
|
|
|
|
}, {
|
|
|
|
"url": "/create",
|
|
|
|
"state": "route.roadmap.create",
|
|
|
|
"component": "vn-roadmap-create",
|
|
|
|
"description": "Create roadmap"
|
|
|
|
},{
|
|
|
|
"url": "/:id",
|
|
|
|
"state": "route.roadmap.card",
|
|
|
|
"component": "vn-roadmap-card",
|
|
|
|
"abstract": true,
|
|
|
|
"description": "Detail"
|
|
|
|
},{
|
|
|
|
"url": "/summary",
|
|
|
|
"state": "route.roadmap.card.summary",
|
|
|
|
"component": "vn-roadmap-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"roadmap": "$ctrl.roadmap"
|
|
|
|
}
|
|
|
|
},{
|
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "route.roadmap.card.basicData",
|
|
|
|
"component": "vn-roadmap-basic-data",
|
|
|
|
"description": "Basic data",
|
|
|
|
"params": {
|
|
|
|
"roadmap": "$ctrl.roadmap"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"url": "/stops",
|
|
|
|
"state": "route.roadmap.card.stops",
|
|
|
|
"component": "vn-roadmap-stops",
|
|
|
|
"description": "Stops",
|
|
|
|
"params": {
|
|
|
|
"route": "$ctrl.roadmap"
|
|
|
|
}
|
2019-04-04 11:06:41 +00:00
|
|
|
}
|
2019-03-21 12:46:14 +00:00
|
|
|
]
|
2022-11-02 08:40:09 +00:00
|
|
|
}
|