开始做充值,,调整了首页

This commit is contained in:
2024-04-02 17:32:28 +08:00
parent 3284bea475
commit db6d253898
44 changed files with 676 additions and 141 deletions

View File

@@ -9,4 +9,9 @@ export const getMeterList = async function() {
// 获取表计详情
export const getMeterDetail = async function({ tenement, code }) {
return await GET(`/wx/getMeterDetail/${tenement}/${code}`);
}
// 获取某一商户的电表列表
export const getTenementMeterList = async function(tid) {
return await GET(`/wx/getMeterList/${tid}`);
}

View File

@@ -2,8 +2,8 @@ import apis from '../utils/request';
const { GET, POST, PUT, DELETE } = apis
// 获取充值记录
export const getRechargeList = async function(year) {
return await GET(`/wx/getRechargeList?year=${year}`);
export const getRechargeList = async function(year, tenement) {
return await GET(`/wx/getRechargeList?year=${year}&tenement=${tenement}`);
}
// 预备充值请求