feat: 车辆收费、水电抄表、排版管理页面
This commit is contained in:
@@ -12,7 +12,7 @@ import { requestClient } from '#/api/request';
|
||||
* @returns 费用-水电抄列表
|
||||
*/
|
||||
export function costMeterWaterList(params?: CostMeterWaterQuery) {
|
||||
return requestClient.get<PageResult<CostMeterWaterVO>>('/property/costMeterWater/list', { params });
|
||||
return requestClient.get<PageResult<CostMeterWaterVO>>('/property/meterWater/list', { params });
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -30,7 +30,7 @@ export function costMeterWaterExport(params?: CostMeterWaterQuery) {
|
||||
* @returns 费用-水电抄详情
|
||||
*/
|
||||
export function costMeterWaterInfo(id: ID) {
|
||||
return requestClient.get<CostMeterWaterVO>(`/property/costMeterWater/${id}`);
|
||||
return requestClient.get<CostMeterWaterVO>(`/property/meterWater/${id}`);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -39,7 +39,7 @@ export function costMeterWaterInfo(id: ID) {
|
||||
* @returns void
|
||||
*/
|
||||
export function costMeterWaterAdd(data: CostMeterWaterForm) {
|
||||
return requestClient.postWithMsg<void>('/property/costMeterWater', data);
|
||||
return requestClient.postWithMsg<void>('/property/meterWater', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -48,7 +48,7 @@ export function costMeterWaterAdd(data: CostMeterWaterForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function costMeterWaterUpdate(data: CostMeterWaterForm) {
|
||||
return requestClient.putWithMsg<void>('/property/costMeterWater', data);
|
||||
return requestClient.putWithMsg<void>('/property/meterWater', data);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,5 +57,5 @@ export function costMeterWaterUpdate(data: CostMeterWaterForm) {
|
||||
* @returns void
|
||||
*/
|
||||
export function costMeterWaterRemove(id: ID | IDS) {
|
||||
return requestClient.deleteWithMsg<void>(`/property/costMeterWater/${id}`);
|
||||
}
|
||||
return requestClient.deleteWithMsg<void>(`/property/meterWater/${id}`);
|
||||
}
|
Reference in New Issue
Block a user