82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"module": "claim",
|
|
"name": "Claims",
|
|
"icon": "icon-claims",
|
|
"validations": true,
|
|
"routes": [
|
|
{
|
|
"url": "/claim",
|
|
"state": "claim",
|
|
"abstract": true,
|
|
"component": "ui-view",
|
|
"description": "Claims"
|
|
},
|
|
{
|
|
"url": "/index?q",
|
|
"state": "claim.index",
|
|
"component": "vn-claim-index",
|
|
"description": "List"
|
|
},
|
|
{
|
|
"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"]
|
|
}
|
|
],
|
|
"menu": [
|
|
{"state": "claim.card.basicData", "icon": "settings"},
|
|
{"state": "claim.card.detail", "icon": "icon-details"},
|
|
{"state": "claim.card.development", "icon": "icon-traceability"},
|
|
{"state": "claim.card.action", "icon": "icon-actions"}
|
|
]
|
|
} |