2019-01-28 15:24:45 +00:00
|
|
|
{
|
|
|
|
"module": "worker",
|
|
|
|
"name": "Workers",
|
|
|
|
"icon" : "icon-worker",
|
|
|
|
"validations" : true,
|
|
|
|
"menu": [
|
|
|
|
{"state": "worker.card.basicData", "icon": "settings"}
|
|
|
|
],
|
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/worker",
|
|
|
|
"state": "worker",
|
|
|
|
"abstract": true,
|
|
|
|
"component": "ui-view",
|
|
|
|
"description": "Workers"
|
|
|
|
}, {
|
|
|
|
"url": "/index?q",
|
|
|
|
"state": "worker.index",
|
|
|
|
"component": "vn-worker-index",
|
2019-02-20 08:59:39 +00:00
|
|
|
"description": "Workers"
|
2019-01-28 15:24:45 +00:00
|
|
|
}, {
|
|
|
|
"url" : "/summary",
|
|
|
|
"state": "worker.card.summary",
|
|
|
|
"component": "vn-worker-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"worker": "$ctrl.worker"
|
|
|
|
}
|
|
|
|
}, {
|
|
|
|
"url": "/:id",
|
|
|
|
"state": "worker.card",
|
|
|
|
"component": "vn-worker-card",
|
|
|
|
"abstract": true,
|
|
|
|
"description": "Detail"
|
|
|
|
}, {
|
|
|
|
"url": "/basic-data",
|
|
|
|
"state": "worker.card.basicData",
|
|
|
|
"component": "vn-worker-basic-data",
|
|
|
|
"description": "Basic data",
|
|
|
|
"params": {
|
|
|
|
"worker": "$ctrl.worker"
|
2019-02-20 08:59:39 +00:00
|
|
|
},
|
|
|
|
"acl": ["developer"]
|
2019-01-28 15:24:45 +00:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|