5334-editDepartment #1521

Merged
carlossa merged 84 commits from 5334-editDepartment into dev 2023-07-06 07:09:06 +00:00
4 changed files with 7 additions and 10 deletions
Showing only changes of commit 2b06c62876 - Show all commits

View File

@ -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,

View File

@ -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'
}
});

View File

@ -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>

View File

@ -122,8 +122,8 @@
}, {
"url": "/department?q",
"state": "worker.department",
"description":"Departments",
Outdated
Review

El ACL es deuria mantindre

El ACL es deuria mantindre
"component": "vn-worker-department"
"component": "vn-worker-department",
"description":"Departments"
}, {
"url": "/:id",
Outdated
Review

Aci "acl" employee. Revisa que les modificacions estiguen ben possats els acls per a hr

Aci "acl" employee. Revisa que les modificacions estiguen ben possats els acls per a hr
"state": "worker.department.card",
carlossa marked this conversation as resolved
Review

Department deuria tindre ACLs en les seues seccions? @jgallego

Department deuria tindre ACLs en les seues seccions? @jgallego
Review

Si, editar rrhh, visualizar employee.

Si, editar rrhh, visualizar employee.