@egova/components
Version:
components
22 lines (19 loc) • 699 B
text/typescript
import { CommonService } from "../../service";
import { service } from "@egova/flagwind-web";
import { QueryModel, Paging } from "../../models";
export default class Service extends CommonService {
// 查询机构人员-分页
("query", { title: "分页查询机构人员" })
public async personPage(queryModel: QueryModel<any>): Promise<any> {
return this._post<any>(
`${this.authingServer}/unity/person/page`,
queryModel
);
}
/**
* 获取组织机构树
*/
public async getDepartmentTree(): Promise<any> {
return this._get<any>(`${this.authingServer}/unity/department/tree`);
}
}