This commit is contained in:
parent
027d45bc25
commit
2b06c62876
|
@ -45,6 +45,9 @@ export default class LeftMenu {
|
|||
if (acl && !this.aclService.hasAny(acl))
|
||||
continue;
|
||||
}
|
||||
console.log('MyItem:', item);
|
||||
console.log('MyState:', state);
|
||||
console.log(item.description, state.description);
|
||||
let myItem = {
|
||||
icon: item.icon,
|
||||
description: item.description || state.description,
|
||||
|
|
|
@ -15,13 +15,10 @@ class Controller extends Section {
|
|||
}
|
||||
}
|
||||
|
||||
ngModule.vnComponent('vnWorkerBasicData', {
|
||||
ngModule.vnComponent('vnWorkerDepartmentBasicData', {
|
||||
template: require('./index.html'),
|
||||
controller: Controller,
|
||||
bindings: {
|
||||
worker: '<'
|
||||
},
|
||||
require: {
|
||||
card: '^vnWorkerCard'
|
||||
}
|
||||
});
|
||||
|
|
|
@ -12,9 +12,6 @@
|
|||
model="model">
|
||||
</vn-searchbar>
|
||||
</vn-portal>
|
||||
<vn-portal slot="menu">
|
||||
<vn-left-menu></vn-left-menu>
|
||||
</vn-portal>
|
||||
<ui-view>
|
||||
<vn-worker-department-index></vn-worker-department-index>
|
||||
</ui-view>
|
||||
</ui-view>
|
||||
|
|
|
@ -122,8 +122,8 @@
|
|||
}, {
|
||||
"url": "/department?q",
|
||||
"state": "worker.department",
|
||||
"description":"Departments",
|
||||
"component": "vn-worker-department"
|
||||
"component": "vn-worker-department",
|
||||
"description":"Departments"
|
||||
}, {
|
||||
"url": "/:id",
|
||||
"state": "worker.department.card",
|
||||
|
|
Loading…
Reference in New Issue