抄表记录提交
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user