2018-08-07 09:57:11 +00:00
|
|
|
{
|
|
|
|
"module": "claim",
|
|
|
|
"name": "Claims",
|
|
|
|
"icon": "icon-claims",
|
|
|
|
"validations": true,
|
2019-02-15 11:39:21 +00:00
|
|
|
"dependencies": ["worker", "item", "client"],
|
2019-01-28 15:24:45 +00:00
|
|
|
"menu": [
|
|
|
|
{"state": "claim.card.basicData", "icon": "settings"},
|
|
|
|
{"state": "claim.card.detail", "icon": "icon-details"},
|
|
|
|
{"state": "claim.card.development", "icon": "icon-traceability"},
|
2019-07-30 06:51:38 +00:00
|
|
|
{"state": "claim.card.action", "icon": "icon-actions"},
|
|
|
|
{"state": "claim.card.dms.index", "icon": "image"}
|
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,
|
|
|
|
"component": "ui-view",
|
|
|
|
"description": "Claims"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
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"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-07 09:57:11 +00:00
|
|
|
"url": "/:id",
|
|
|
|
"state": "claim.card",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "vn-claim-card"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-07 09:57:11 +00:00
|
|
|
"url": "/summary",
|
|
|
|
"state": "claim.card.summary",
|
|
|
|
"component": "vn-claim-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
}
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
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"]
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
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"]
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-09-04 10:33:15 +00:00
|
|
|
"url": "/development",
|
|
|
|
"state": "claim.card.development",
|
|
|
|
"component": "vn-claim-development",
|
|
|
|
"description": "Development",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
},
|
2018-09-19 05:41:07 +00:00
|
|
|
"acl": ["salesAssistant"]
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
2018-08-31 12:49:16 +00:00
|
|
|
"url": "/action",
|
|
|
|
"state": "claim.card.action",
|
|
|
|
"component": "vn-claim-action",
|
|
|
|
"description": "Action",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
},
|
2018-10-02 10:03:39 +00:00
|
|
|
"acl": ["salesAssistant"]
|
2019-07-30 06:51:38 +00:00
|
|
|
}, {
|
|
|
|
"url": "/dms",
|
|
|
|
"state": "claim.card.dms",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view"
|
|
|
|
}, {
|
|
|
|
"url" : "/index",
|
|
|
|
"state": "claim.card.dms.index",
|
|
|
|
"component": "vn-claim-dms-index",
|
|
|
|
"description": "Pictures",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"url" : "/create",
|
|
|
|
"state": "claim.card.dms.create",
|
|
|
|
"component": "vn-claim-dms-create",
|
|
|
|
"description": "Upload file",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"url": "/:dmsId/edit",
|
|
|
|
"state": "claim.card.dms.edit",
|
|
|
|
"component": "vn-claim-dms-edit",
|
|
|
|
"description": "Edit file",
|
|
|
|
"params": {
|
|
|
|
"claim": "$ctrl.claim"
|
|
|
|
}
|
2018-08-07 09:57:11 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|