2019-01-28 15:24:45 +00:00
|
|
|
{
|
|
|
|
"module": "worker",
|
|
|
|
"name": "Workers",
|
|
|
|
"icon" : "icon-worker",
|
|
|
|
"validations" : true,
|
2020-11-13 09:33:34 +00:00
|
|
|
"dependencies": ["account"],
|
2019-11-10 10:08:44 +00:00
|
|
|
"menus": {
|
|
|
|
"main": [
|
|
|
|
{"state": "worker.index", "icon": "icon-worker"},
|
|
|
|
{"state": "worker.department", "icon": "work"}
|
|
|
|
],
|
2023-05-26 10:58:03 +00:00
|
|
|
"department": [
|
2023-05-17 07:05:28 +00:00
|
|
|
{"state": "worker.department.card.basicData", "icon": "settings"}
|
2019-11-10 10:08:44 +00:00
|
|
|
]
|
|
|
|
},
|
2022-01-10 15:08:45 +00:00
|
|
|
"keybindings": [
|
|
|
|
{
|
|
|
|
"key": "w",
|
|
|
|
"state": "worker.index"
|
|
|
|
}
|
|
|
|
],
|
2019-01-28 15:24:45 +00:00
|
|
|
"routes": [
|
|
|
|
{
|
|
|
|
"url": "/worker",
|
|
|
|
"state": "worker",
|
|
|
|
"abstract": true,
|
2019-11-10 10:08:44 +00:00
|
|
|
"component": "vn-worker",
|
2019-01-28 15:24:45 +00:00
|
|
|
"description": "Workers"
|
2024-08-01 11:15:11 +00:00
|
|
|
},
|
|
|
|
{
|
2019-01-28 15:24:45 +00:00
|
|
|
"url": "/index?q",
|
|
|
|
"state": "worker.index",
|
|
|
|
"component": "vn-worker-index",
|
2019-02-20 08:59:39 +00:00
|
|
|
"description": "Workers"
|
2024-08-01 11:15:11 +00:00
|
|
|
},
|
|
|
|
{
|
2019-01-28 15:24:45 +00:00
|
|
|
"url" : "/summary",
|
|
|
|
"state": "worker.card.summary",
|
|
|
|
"component": "vn-worker-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"worker": "$ctrl.worker"
|
|
|
|
}
|
2024-08-01 11:15:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-05-15 11:59:54 +00:00
|
|
|
"url": "/department?q",
|
2019-03-12 14:04:09 +00:00
|
|
|
"state": "worker.department",
|
|
|
|
"component": "vn-worker-department",
|
2023-06-22 13:00:59 +00:00
|
|
|
"description":"Departments"
|
2024-08-01 11:15:11 +00:00
|
|
|
},
|
|
|
|
{
|
2023-05-15 11:15:33 +00:00
|
|
|
"url" : "/summary",
|
|
|
|
"state": "worker.department.card.summary",
|
|
|
|
"component": "vn-worker-department-summary",
|
|
|
|
"description": "Summary",
|
|
|
|
"params": {
|
|
|
|
"department": "$ctrl.department"
|
|
|
|
}
|
2019-01-28 15:24:45 +00:00
|
|
|
}
|
|
|
|
]
|
2022-11-14 14:19:16 +00:00
|
|
|
}
|