salix/modules/worker/front/routes.json

62 lines
1.6 KiB
JSON
Raw Normal View History

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
]
},
"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"
},
{
2019-01-28 15:24:45 +00:00
"url": "/index?q",
"state": "worker.index",
"component": "vn-worker-index",
"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"
}
},
{
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"
},
{
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
}