初步完成电费账单列表

This commit is contained in:
2024-05-08 14:25:49 +08:00
parent 6ad47c47ac
commit aab3819a9d
9 changed files with 345 additions and 44 deletions

8
service/report.js Normal file
View File

@@ -0,0 +1,8 @@
import apis from '../utils/request';
const { GET, POST, PUT, DELETE } = apis
// 获取电费账单
export const getReportDetail = async function(id) {
const tenement = wx.getStorageSync('tenement')
return await GET(`/report/${id}/tenement/${tenement?.id}`);
}