电表箱支持按建筑筛选,倍率必填,拆表传id

This commit is contained in:
2025-11-14 17:22:11 +08:00
parent f138fabce9
commit 771bacdafa
5 changed files with 10 additions and 6 deletions

View File

@@ -49,8 +49,8 @@ export const getWorkMeterDetail = async function(code = '') {
}
// 获取某一园区下的电表箱列表
export const getParkBoxList = async function({park = "", keyword = "", page = 1}) {
return await GET(`/box/${park}?page=${page}&keyword=${replaceSpecialIcon(keyword)}`);
export const getParkBoxList = async function({park = "", keyword = "", page = 1, building =- ""}) {
return await GET(`/box/${park}?page=${page}&keyword=${replaceSpecialIcon(keyword)}&building=${building}`);
}
// 获取卡列表