抄表记录提交

This commit is contained in:
2025-09-17 16:48:57 +08:00
parent 4308096394
commit 95e6937d06
7 changed files with 94 additions and 24 deletions

View File

@@ -30,4 +30,14 @@ export const createReading = async function(park, code, data) {
// 查询符合指定条件的抄表记录
export const getReadingList = async function(park, keyword, page) {
return await GET(`/reading/${park}?keyword=${keyword}&page=${page}`,);
}
// 删除抄表记录
export const deleteReading = async function(id, overall) {
return await DELETE(`/meter/delete/records/${id}`, { overall });
}
// 修改抄表记录
export const updateReading = async function(park, code, read_at, data) {
return await PUT(`/reading/${park}/${code}/${read_at}`, data);
}