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;
|
||||
if (!value) return;
|
||||
}
|
||||
|
||||
get isHr() {
|
||||
return this.aclService.hasAny(['hr']);
|
||||
}
|
||||
}
|
||||
|
||||
ngModule.component('vnUserPrivileges', {
|
||||
|
|
|
@ -91,11 +91,9 @@ class Controller extends Section {
|
|||
}
|
||||
|
||||
getActiveContract() {
|
||||
this.$http.get(`Workers/${this.worker.id}/activeContract`).then(res => {
|
||||
if (res.data) {
|
||||
this.businessId = res.data.businessFk;
|
||||
console.log(this.businessId);
|
||||
}
|
||||
this.$http.get(`Workers/${this.worker.id}/activeContract`)
|
||||
.then(res => {
|
||||
if (res.data) this.businessId = res.data.businessFk;
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue