ng-yunzai-mobile
Version:
1. 修改wechat.micro.ts
64 lines (63 loc) • 2.2 kB
TypeScript
import { OnDestroy, OnInit } from '@angular/core';
import { ModalRef, ModalService } from "ng-zorro-antd-mobile";
import { Subscription } from "rxjs";
import { BaseUserInterface, ComponentOption, DeptInterface } from "./dept.interface";
import { MatDialogRef } from '@angular/material/dialog';
import { YzSelectContactsService } from './yz-select-contacts.service';
export declare class YzSelectContactsComponent implements OnInit, OnDestroy {
dialogRef: MatDialogRef<YzSelectContactsComponent>;
private _modal;
private yzContactsService;
data: ComponentOption;
modalRefCpt: Array<ModalRef>;
subscribed: Array<Subscription>;
dtPullToRefreshStyle: {
height: string;
};
deptNodes: Array<DeptInterface>;
deptList: Array<DeptInterface>;
deptBarList: Array<DeptInterface>;
pageLoading: boolean;
baseUserParams: {
total: number;
pageSize: number;
pageNum: number;
deptId: any;
realName: any;
userTypes: any;
};
baseUserList: Array<BaseUserInterface>;
allUserCheck: boolean;
selectedContacts: Array<BaseUserInterface>;
gradeList: Array<{
value: string;
label: string;
}>;
gradeParams: Array<{
value: string;
label: string;
}>;
constructor(dialogRef: MatDialogRef<YzSelectContactsComponent>, _modal: ModalService, yzContactsService: YzSelectContactsService, data: ComponentOption);
ngOnInit(): void;
initDept(): void;
initDeptOnlyStu(): void;
queryGrade(): void;
blDeptTree(tree: any): void;
queryDefaultContact(): void;
queryBaseUser(): void;
pullToRefresh(): void;
queryUserByRealName(): void;
cancelQueUserByRealName(): void;
viewAllList(): void;
deptBarviewList(item: any, index: number): void;
viewDeptChildrenList(item: any): void;
userCheckedChange($event: any): void;
addBaseUser(): void;
isMaxCount(): void;
deleteContact(id: any, index: any): void;
allSelect(): void;
cancelAllSelect(): void;
onChangeGrade($event: any): void;
confirmSelect(): void;
ngOnDestroy(): void;
}