预约记录
This commit is contained in:
@@ -12,7 +12,7 @@ import { requestClient } from '#/api/request';
|
||||
* @returns 巡检项目列表
|
||||
*/
|
||||
export function inspectionItemList(params?: InspectionItemQuery) {
|
||||
return requestClient.get<PageResult<InspectionItemVO>>('/property/inspectionItem/list', { params });
|
||||
return requestClient.get<PageResult<InspectionItemVO>>('/property/item/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -30,7 +30,7 @@ export function inspectionItemExport(params?: InspectionItemQuery) {
|
||||
* @returns 巡检项目详情
|
||||
*/
|
||||
export function inspectionItemInfo(id: ID) {
|
||||
return requestClient.get<InspectionItemVO>(`/property/inspectionItem/${id}`);
|
||||
return requestClient.get<InspectionItemVO>(`/property/item/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -39,7 +39,7 @@ export function inspectionItemInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function inspectionItemAdd(data: InspectionItemForm) {
|
||||
return requestClient.postWithMsg<void>('/property/inspectionItem', data);
|
||||
return requestClient.postWithMsg<void>('/property/item', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -48,7 +48,7 @@ export function inspectionItemAdd(data: InspectionItemForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function inspectionItemUpdate(data: InspectionItemForm) {
|
||||
return requestClient.putWithMsg<void>('/property/inspectionItem', data);
|
||||
return requestClient.putWithMsg<void>('/property/item', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,5 +57,5 @@ export function inspectionItemUpdate(data: InspectionItemForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function inspectionItemRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/inspectionItem/${id}`);
|
||||
return requestClient.deleteWithMsg<void>(`/property/item/${id}`);
|
||||
}
|
||||
|
@@ -12,7 +12,7 @@ import { requestClient } from '#/api/request';
|
||||
* @returns 巡检点列表
|
||||
*/
|
||||
export function inspectionPointList(params?: InspectionPointQuery) {
|
||||
return requestClient.get<PageResult<InspectionPointVO>>('/property/inspectionPoint/list', { params });
|
||||
return requestClient.get<PageResult<InspectionPointVO>>('/property/point/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -30,7 +30,7 @@ export function inspectionPointExport(params?: InspectionPointQuery) {
|
||||
* @returns 巡检点详情
|
||||
*/
|
||||
export function inspectionPointInfo(id: ID) {
|
||||
return requestClient.get<InspectionPointVO>(`/property/inspectionPoint/${id}`);
|
||||
return requestClient.get<InspectionPointVO>(`/property/point/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -39,7 +39,7 @@ export function inspectionPointInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function inspectionPointAdd(data: InspectionPointForm) {
|
||||
return requestClient.postWithMsg<void>('/property/inspectionPoint', data);
|
||||
return requestClient.postWithMsg<void>('/property/point', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -48,7 +48,7 @@ export function inspectionPointAdd(data: InspectionPointForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function inspectionPointUpdate(data: InspectionPointForm) {
|
||||
return requestClient.putWithMsg<void>('/property/inspectionPoint', data);
|
||||
return requestClient.putWithMsg<void>('/property/point', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,5 +57,5 @@ export function inspectionPointUpdate(data: InspectionPointForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function inspectionPointRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/inspectionPoint/${id}`);
|
||||
return requestClient.deleteWithMsg<void>(`/property/point/${id}`);
|
||||
}
|
||||
|
Reference in New Issue
Block a user