UNPKG

ng-yunzai-mobile

Version:

1. 修改wechat.micro.ts

38 lines (37 loc) 1.42 kB
import { MatDialog } from '@angular/material/dialog'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { BaseClient } from '../../client/base.client'; import { TokenService } from "../../token/token.service"; export declare class YzRoleSelectContactsService { dialog: MatDialog; private client; private http; private tokenService; constructor(dialog: MatDialog, client: BaseClient, http: HttpClient, tokenService: TokenService); /** * 选择人员 * @param option */ choosePeople(option: { roleGroupCode?: string; count?: number; defaultContacts?: Array<any>; userTypes?: string; onOk?: (value: any) => void; }): void; /** * 获取角色组角色 * @param roleGroupCode 角色组code */ getGroupRole(roleGroupCode: string): Observable<Array<any>>; /** * 查询人员列表 * @param pageNum 当前页面 * @param pageSize 每页条数 * @param realName 姓名 * @param roleId 角色id * @param userTypes 用户类型1,2,3,4逗号拼接:查询普通部门的用户(不包括学生)传“1,4”;查询学生用户传“2,3”;查询所有用户不传 */ getBaseUser(pageNum: number, pageSize: number, realName: string, roleId: string, userTypes: string): Observable<Array<any>>; }