38 lines
1.1 KiB
TypeScript
38 lines
1.1 KiB
TypeScript
import { http, jumpExport } from '@/utils/http/axios';
|
|
|
|
export function DepartmentList(params) {
|
|
return http.request({ url: '/imOrg/departmentList', method: 'GET', params });
|
|
}
|
|
|
|
export function DepartmentExport(params) {
|
|
jumpExport('/imOrg/departmentExport', params);
|
|
}
|
|
|
|
export function DepartmentEdit(params) {
|
|
return http.request({ url: '/imOrg/departmentEdit', method: 'POST', params });
|
|
}
|
|
|
|
export function DepartmentDelete(params) {
|
|
return http.request({ url: '/imOrg/departmentDelete', method: 'POST', params });
|
|
}
|
|
|
|
export function MemberList(params) {
|
|
return http.request({ url: '/imOrg/memberList', method: 'GET', params });
|
|
}
|
|
|
|
export function MemberExport(params) {
|
|
jumpExport('/imOrg/memberExport', params);
|
|
}
|
|
|
|
export function MemberEdit(params) {
|
|
return http.request({ url: '/imOrg/memberEdit', method: 'POST', params });
|
|
}
|
|
|
|
export function MemberDelete(params) {
|
|
return http.request({ url: '/imOrg/memberDelete', method: 'POST', params });
|
|
}
|
|
|
|
export function Search(params) {
|
|
return http.request({ url: '/imOrg/search', method: 'GET', params });
|
|
}
|