@ecip/system
Version:
40 lines (39 loc) • 1.45 kB
TypeScript
import { OnInit } from '@angular/core';
import { NzModalRef, NzMessageService } from 'ng-zorro-antd';
import { _HttpClient } from '@delon/theme';
import { FormGroup, FormBuilder, FormControl } from '@angular/forms';
import { Observable } from 'rxjs';
import { UserService, AppsService, ResourceService } from "@ecip/service";
import { CacheService } from "@delon/cache";
export declare class SystemResourceEditComponent implements OnInit {
private modal;
msgSrv: NzMessageService;
resourceService: ResourceService;
userService: UserService;
appsService: AppsService;
http: _HttpClient;
private fb;
private cacheService;
record: any;
i: any;
appId: any;
isRoot: boolean;
isViewpermission: boolean;
form: FormGroup;
defaultpermission: boolean;
parent: any;
loading: boolean;
stateList: Observable<{}>;
typeSrcList: Observable<{}>;
urlTargetList: Observable<{}>;
typeNodeList: Observable<{}>;
typeSrc: any;
urlTarget: any;
typeNode: any;
constructor(modal: NzModalRef, msgSrv: NzMessageService, resourceService: ResourceService, userService: UserService, appsService: AppsService, http: _HttpClient, fb: FormBuilder, cacheService: CacheService);
ngOnInit(): void;
compareNumStr(c1: any, c2: any): boolean;
codeAsyncValidator: (control: FormControl) => any;
submit(): void;
close(): void;
}