93 lines
2.8 KiB
JSON
93 lines
2.8 KiB
JSON
{
|
|
"module": "claim",
|
|
"name": "Claims",
|
|
"icon": "icon-claims",
|
|
"validations": true,
|
|
"dependencies": ["worker", "item", "client"],
|
|
"menu": [
|
|
{"state": "claim.card.basicData", "icon": "settings"},
|
|
{"state": "claim.card.detail", "icon": "icon-details"},
|
|
{"state": "claim.card.dms.index", "icon": "image"},
|
|
{"state": "claim.card.development", "icon": "icon-traceability"},
|
|
{"state": "claim.card.action", "icon": "icon-actions"}
|
|
],
|
|
"keybindings": [
|
|
{"key": "r", "state": "claim.index"}
|
|
],
|
|
"routes": [
|
|
{
|
|
"url": "/claim",
|
|
"state": "claim",
|
|
"abstract": true,
|
|
"component": "ui-view",
|
|
"description": "Claims"
|
|
}, {
|
|
"url": "/index?q",
|
|
"state": "claim.index",
|
|
"component": "vn-claim-index",
|
|
"description": "Claims"
|
|
}, {
|
|
"url": "/:id",
|
|
"state": "claim.card",
|
|
"abstract": true,
|
|
"component": "vn-claim-card"
|
|
}, {
|
|
"url": "/summary",
|
|
"state": "claim.card.summary",
|
|
"component": "vn-claim-summary",
|
|
"description": "Summary",
|
|
"params": {
|
|
"claim": "$ctrl.claim"
|
|
}
|
|
}, {
|
|
"url": "/basic-data",
|
|
"state": "claim.card.basicData",
|
|
"component": "vn-claim-basic-data",
|
|
"description": "Basic data",
|
|
"params": {
|
|
"claim": "$ctrl.claim"
|
|
},
|
|
"acl": ["salesPerson"]
|
|
}, {
|
|
"url": "/detail",
|
|
"state": "claim.card.detail",
|
|
"component": "vn-claim-detail",
|
|
"description": "Detail",
|
|
"params": {
|
|
"claim": "$ctrl.claim"
|
|
},
|
|
"acl": ["salesPerson"]
|
|
}, {
|
|
"url": "/development",
|
|
"state": "claim.card.development",
|
|
"component": "vn-claim-development",
|
|
"description": "Development",
|
|
"params": {
|
|
"claim": "$ctrl.claim"
|
|
},
|
|
"acl": ["salesAssistant"]
|
|
}, {
|
|
"url": "/action",
|
|
"state": "claim.card.action",
|
|
"component": "vn-claim-action",
|
|
"description": "Action",
|
|
"params": {
|
|
"claim": "$ctrl.claim"
|
|
},
|
|
"acl": ["salesAssistant"]
|
|
}, {
|
|
"url": "/dms",
|
|
"state": "claim.card.dms",
|
|
"abstract": true,
|
|
"component": "ui-view"
|
|
}, {
|
|
"url" : "/index",
|
|
"state": "claim.card.dms.index",
|
|
"component": "vn-claim-dms-index",
|
|
"description": "Photos",
|
|
"params": {
|
|
"claim": "$ctrl.claim"
|
|
}
|
|
}
|
|
]
|
|
} |