salix/modules/claim/front/routes.json

134 lines
3.9 KiB
JSON
Raw Normal View History

2018-08-07 09:57:11 +00:00
{
"module": "claim",
"name": "Claims",
"icon": "icon-claims",
"validations": true,
"dependencies": ["worker", "item", "client"],
2019-11-10 10:08:44 +00:00
"menus": {
"main": [
{"state": "claim.index", "icon": "icon-claims"}
],
"card": [
{"state": "claim.card.basicData", "icon": "settings"},
{"state": "claim.card.detail", "icon": "icon-details"},
2020-01-10 10:29:11 +00:00
{"state": "claim.card.photos", "icon": "image"},
{"state": "claim.card.note.index", "icon": "insert_drive_file"},
2019-11-10 10:08:44 +00:00
{"state": "claim.card.development", "icon": "icon-traceability"},
2022-03-01 14:15:58 +00:00
{"state": "claim.card.action", "icon": "icon-actions"},
{"state": "claim.card.log", "icon": "history"}
2019-11-10 10:08:44 +00:00
]
},
2019-01-28 15:24:45 +00:00
"keybindings": [
{"key": "r", "state": "claim.index"}
],
2018-08-07 09:57:11 +00:00
"routes": [
{
"url": "/claim",
"state": "claim",
"abstract": true,
2019-11-10 10:08:44 +00:00
"component": "vn-claim",
2018-08-07 09:57:11 +00:00
"description": "Claims"
},
{
2018-08-07 09:57:11 +00:00
"url": "/index?q",
"state": "claim.index",
"component": "vn-claim-index",
2019-01-27 23:26:01 +00:00
"description": "Claims"
},
{
2018-08-07 09:57:11 +00:00
"url": "/:id",
"state": "claim.card",
"abstract": true,
"component": "vn-claim-card"
},
{
2018-08-07 09:57:11 +00:00
"url": "/summary",
"state": "claim.card.summary",
"component": "vn-claim-summary",
"description": "Summary",
"params": {
"claim": "$ctrl.claim"
}
},
{
2018-08-29 07:45:37 +00:00
"url": "/basic-data",
"state": "claim.card.basicData",
"component": "vn-claim-basic-data",
"description": "Basic data",
"params": {
"claim": "$ctrl.claim"
},
2018-09-19 05:41:07 +00:00
"acl": ["salesPerson"]
},
{
2018-08-27 09:41:25 +00:00
"url": "/detail",
"state": "claim.card.detail",
"component": "vn-claim-detail",
"description": "Detail",
"params": {
"claim": "$ctrl.claim"
},
2018-09-19 05:41:07 +00:00
"acl": ["salesPerson"]
},
{
"url": "/note",
"state": "claim.card.note",
"component": "ui-view",
"abstract": true,
"acl": ["salesPerson"]
},
{
"url": "/index",
"state": "claim.card.note.index",
"component": "vn-claim-note",
"description": "Notes",
"params": {
"claim": "$ctrl.claim"
},
"acl": ["salesPerson"]
},
{
"url": "/create",
"state": "claim.card.note.create",
"component": "vn-claim-note-create",
"description": "New note",
"acl": ["salesPerson"]
},
{
2018-09-04 10:33:15 +00:00
"url": "/development",
"state": "claim.card.development",
"component": "vn-claim-development",
"description": "Development",
"params": {
"claim": "$ctrl.claim"
},
"acl": ["claimManager"]
},
{
2018-08-31 12:49:16 +00:00
"url": "/action",
"state": "claim.card.action",
"component": "vn-claim-action",
"description": "Action",
"params": {
"claim": "$ctrl.claim"
},
"acl": ["claimManager"]
},
{
2020-01-10 10:29:11 +00:00
"url": "/photos",
"state": "claim.card.photos",
"component": "vn-claim-photos",
"description": "Photos",
2019-07-30 06:51:38 +00:00
"params": {
"claim": "$ctrl.claim"
}
},
{
2022-03-01 14:15:58 +00:00
"url" : "/log",
"state": "claim.card.log",
"component": "vn-claim-log",
"description": "Log",
"acl": ["claimManager"]
2018-08-07 09:57:11 +00:00
}
]
}