salix/modules/shelving/front/routes.json

68 lines
1.8 KiB
JSON
Raw Normal View History

2022-05-24 10:50:22 +00:00
{
"module": "shelving",
"name": "Shelvings",
2023-01-24 07:09:35 +00:00
"icon" : "icon-inventory",
"dependencies": ["worker"],
2022-05-24 10:50:22 +00:00
"validations" : true,
"menus": {
"main": [
2023-01-24 07:09:35 +00:00
{"state": "shelving.index", "icon": "icon-inventory"}
2022-05-24 10:50:22 +00:00
],
"card": [
{"state": "shelving.card.basicData", "icon": "settings"},
{"state": "shelving.card.log", "icon": "history"}
]
},
"routes": [
{
"url": "/shelving",
"state": "shelving",
"abstract": true,
"component": "vn-shelving",
"description": "Shelvings"
2023-01-24 07:09:35 +00:00
},
2022-05-24 10:50:22 +00:00
{
"url": "/index?q",
"state": "shelving.index",
"component": "vn-shelving-index",
"description": "Shelvings"
},
{
"url": "/create",
"state": "shelving.create",
"component": "vn-shelving-create",
"description": "New shelving"
2023-01-24 07:09:35 +00:00
},
2022-05-24 10:50:22 +00:00
{
"url": "/:id",
"state": "shelving.card",
"abstract": true,
"component": "vn-shelving-card"
2023-01-24 07:09:35 +00:00
},
2022-05-24 10:50:22 +00:00
{
"url": "/summary",
"state": "shelving.card.summary",
"component": "vn-shelving-summary",
"description": "Summary",
"params": {
"shelving": "$ctrl.shelving"
}
2023-01-24 07:09:35 +00:00
},
2022-05-24 10:50:22 +00:00
{
"url": "/basic-data",
"state": "shelving.card.basicData",
"component": "vn-shelving-basic-data",
"description": "Basic data",
"params": {
"shelving": "$ctrl.shelving"
}
2023-01-24 07:09:35 +00:00
},
2022-05-24 10:50:22 +00:00
{
"url" : "/log",
"state": "shelving.card.log",
"component": "vn-shelving-log",
"description": "Log"
}
]
2023-01-24 07:09:35 +00:00
}