edit
This commit is contained in:
@ -25,9 +25,7 @@ export class SettingMenuComponent implements OnInit, OnChanges {
|
||||
@Input() authorityAssistId: any[] = [];
|
||||
@Input() roleId: any;
|
||||
@Output() changeData = new EventEmitter();
|
||||
constructor(public service: SystemService, private cdr: ChangeDetectorRef, private envSrv: EAEnvironmentService) {
|
||||
this.getAllFunction();
|
||||
}
|
||||
constructor(public service: SystemService, private cdr: ChangeDetectorRef, private envSrv: EAEnvironmentService) {}
|
||||
ngOnChanges(changes: SimpleChanges): void {
|
||||
if (changes.isAuthorityIdDTOList) {
|
||||
if (this.type === 'edit') {
|
||||
@ -39,7 +37,9 @@ export class SettingMenuComponent implements OnInit, OnChanges {
|
||||
}
|
||||
}
|
||||
|
||||
ngOnInit() {}
|
||||
ngOnInit() {
|
||||
this.getAllFunction();
|
||||
}
|
||||
getAllFunction() {
|
||||
this.service
|
||||
.request(this.service.$api_getAllFunctionInfoByAppId, { appId: this.appId || this.envSrv.env.appId }, 'POST', true, 'FORM')
|
||||
|
||||
Reference in New Issue
Block a user