refs #5468 refactor: eliminado código obsoleto
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
0ab23477d1
commit
6f3c28c4a4
|
@ -10,10 +10,6 @@ export default class Controller extends Section {
|
||||||
this._user = value;
|
this._user = value;
|
||||||
if (!value) return;
|
if (!value) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
get isHr() {
|
|
||||||
return this.aclService.hasAny(['hr']);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
ngModule.component('vnUserPrivileges', {
|
ngModule.component('vnUserPrivileges', {
|
||||||
|
|
|
@ -91,12 +91,10 @@ class Controller extends Section {
|
||||||
}
|
}
|
||||||
|
|
||||||
getActiveContract() {
|
getActiveContract() {
|
||||||
this.$http.get(`Workers/${this.worker.id}/activeContract`).then(res => {
|
this.$http.get(`Workers/${this.worker.id}/activeContract`)
|
||||||
if (res.data) {
|
.then(res => {
|
||||||
this.businessId = res.data.businessFk;
|
if (res.data) this.businessId = res.data.businessFk;
|
||||||
console.log(this.businessId);
|
});
|
||||||
}
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
getContractHolidays() {
|
getContractHolidays() {
|
||||||
|
|
Loading…
Reference in New Issue