电表强控,工单跳转

This commit is contained in:
2025-11-12 14:12:01 +08:00
parent 7271c982d5
commit 422338f816
8 changed files with 141 additions and 60 deletions

View File

@@ -37,6 +37,12 @@ export const getBackTenementMeters = async function(park, tenement) {
export const handleOperateMeterSwitch = async function({ ids = [], status }) {
return await PUT(`/equipment/batchSwtich`, { ids, status });
}
// 预付费模式
export const handleOperateMeterMode = async function({ ids = [], mode, days, images, reason }) {
return await PUT(`/equipment/batchSetMode`, { ids, mode, days, images, reason });
}
// 绑定时获取电表的最新信息
export const getWorkMeterDetail = async function(code = '') {
return await GET(`/vx/getWorkMeterDetail?code=${code}`);
@@ -70,6 +76,6 @@ export const installMeter = async function(data) {
}
// 拆表
export const uninstallMeter = async function({sn = "", reason = "", images = ""}) {
return await DELETE(`/flow/doMeterRemoveApproval?sn=${sn}&reason=${reason}&images=${images}`);
export const uninstallMeter = async function(data) {
return await POST(`/flow/doMeterRemoveApproval`, data);
}