This commit is contained in:
@@ -12,7 +12,7 @@ import { requestClient } from '#/api/request';
|
||||
* @returns 考勤组基本信息列表
|
||||
*/
|
||||
export function groupList(params?: GroupQuery) {
|
||||
return requestClient.get<PageResult<GroupVO>>('/Property/group/list', { params });
|
||||
return requestClient.get<PageResult<GroupVO>>('/property/group/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -21,7 +21,7 @@ export function groupList(params?: GroupQuery) {
|
||||
* @returns 考勤组基本信息列表
|
||||
*/
|
||||
export function groupExport(params?: GroupQuery) {
|
||||
return commonExport('/Property/group/export', params ?? {});
|
||||
return commonExport('/property/group/export', params ?? {});
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -30,7 +30,7 @@ export function groupExport(params?: GroupQuery) {
|
||||
* @returns 考勤组基本信息详情
|
||||
*/
|
||||
export function groupInfo(id: ID) {
|
||||
return requestClient.get<GroupVO>(`/Property/group/${id}`);
|
||||
return requestClient.get<GroupVO>(`/property/group/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -39,7 +39,7 @@ export function groupInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function groupAdd(data: GroupForm) {
|
||||
return requestClient.postWithMsg<void>('/Property/group', data);
|
||||
return requestClient.postWithMsg<void>('/property/group', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -48,7 +48,7 @@ export function groupAdd(data: GroupForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function groupUpdate(data: GroupForm) {
|
||||
return requestClient.putWithMsg<void>('/Property/group', data);
|
||||
return requestClient.putWithMsg<void>('/property/group', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,7 +57,7 @@ export function groupUpdate(data: GroupForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function groupRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/Property/group/${id}`);
|
||||
return requestClient.deleteWithMsg<void>(`/property/group/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user