增加组织架构
This commit is contained in:
Vendored
+6
-13
@@ -12,19 +12,12 @@ declare module '@/*' {
|
||||
export default component;
|
||||
}
|
||||
|
||||
declare module '@/api/erp' {
|
||||
export function getOrganizationList(): Promise<any>;
|
||||
export function getOrganizationDetail(id: number | string): Promise<any>;
|
||||
export function createOrganization(data: any): Promise<any>;
|
||||
export function editOrganization(id: number | string, data: any): Promise<any>;
|
||||
export function deleteOrganization(id: number | string): Promise<any>;
|
||||
export function getCompanys(): Promise<any>;
|
||||
export function getDepartments(parentId?: number | string): Promise<any>;
|
||||
export function getEmployeeList(tenantId?: number | string): Promise<any>;
|
||||
export function getEmployeeDetail(id: number | string): Promise<any>;
|
||||
export function createEmployee(data: any): Promise<any>;
|
||||
export function editEmployee(id: number | string, data: any): Promise<any>;
|
||||
export function deleteEmployee(id: number | string): Promise<any>;
|
||||
declare module '@/api/organization' {
|
||||
export function createOrganizationApi(module: string): any;
|
||||
export const erpOrganizationApi: any;
|
||||
export const oaOrganizationApi: any;
|
||||
const api: any;
|
||||
export default api;
|
||||
}
|
||||
|
||||
declare module '@/stores/auth' {
|
||||
|
||||
Reference in New Issue
Block a user