salix/modules/travel/front/routes.json

58 lines
1.6 KiB
JSON
Raw Normal View History

2018-11-13 06:44:03 +00:00
{
"module": "travel",
"name": "Travels",
2019-11-10 10:08:44 +00:00
"icon": "local_airport",
2018-11-13 06:44:03 +00:00
"validations": true,
2019-04-02 09:04:53 +00:00
"dependencies": ["worker"],
2019-11-10 10:08:44 +00:00
"menus": {
"main": [
{"state": "travel.index", "icon": "local_airport"}
],
"card": [
{"state": "travel.card.basicData", "icon": "settings"},
{"state": "travel.card.log", "icon": "history"}
]
},
2018-11-13 06:44:03 +00:00
"routes": [
{
"url": "/travel",
"state": "travel",
"abstract": true,
2019-11-10 10:08:44 +00:00
"component": "vn-travel",
2018-11-13 06:44:03 +00:00
"description": "Travels"
2019-01-28 15:24:45 +00:00
}, {
2018-11-13 06:44:03 +00:00
"url": "/index?q",
"state": "travel.index",
"component": "vn-travel-index",
2019-01-27 23:26:01 +00:00
"description": "Travels",
2018-11-19 07:16:51 +00:00
"acl": ["developer"]
2019-10-24 10:49:18 +00:00
}, {
"url": "/:id",
"state": "travel.card",
"abstract": true,
"component": "vn-travel-card"
}, {
"url": "/summary",
"state": "travel.card.summary",
"component": "vn-travel-summary",
"description": "Summary",
"params": {
"travel": "$ctrl.travel"
}
2019-10-25 11:26:38 +00:00
}, {
"url": "/basic-data",
"state": "travel.card.basicData",
"component": "vn-travel-basic-data",
"description": "Basic data",
"acl": ["buyer","logistic"],
"params": {
"travel": "$ctrl.travel"
}
}, {
"url" : "/log",
"state": "travel.card.log",
"component": "vn-travel-log",
"description": "Log"
2018-11-13 06:44:03 +00:00
}
2019-01-24 15:04:38 +00:00
]
2018-11-13 06:44:03 +00:00
}