修改维修功能

This commit is contained in:
yangjun 2025-08-14 13:52:58 +08:00
parent 0bb15d922c
commit 77589e55a0
4 changed files with 8 additions and 4 deletions

View File

@ -84,9 +84,10 @@ const plainOptions = [
wxvisible.value = false; wxvisible.value = false;
var params = { var params = {
id: bxInfo.value.id, id: bxInfo.value.id,
departServerUrl: bxInfo.value.departServerUrl,
maintainStatus: maintainStatus.value, maintainStatus: maintainStatus.value,
} }
defHttp.post({ url: '/iot/tq/electricityMeter/edit', params }).then(() => { defHttp.post({ url: '/iot/tq/electricityMeter/weixiu', params }).then(() => {
emit("ok"); emit("ok");
}); });

View File

@ -91,9 +91,10 @@ const plainOptions = [
wxvisible.value = false; wxvisible.value = false;
var params = { var params = {
id: bxInfo.value.id, id: bxInfo.value.id,
departServerUrl: bxInfo.value.departServerUrl,
maintainStatus: maintainStatus.value, maintainStatus: maintainStatus.value,
} }
defHttp.post({ url: '/iot/tq/waterMeter/edit', params }).then(() => { defHttp.post({ url: '/iot/tq/waterMeter/weixiu', params }).then(() => {
emit("ok"); emit("ok");
}); });

View File

@ -81,9 +81,10 @@ const plainOptions = [
wxvisible.value = false; wxvisible.value = false;
var params = { var params = {
id: bxInfo.value.id, id: bxInfo.value.id,
departServerUrl: bxInfo.value.departServerUrl,
maintainStatus: maintainStatus.value, maintainStatus: maintainStatus.value,
} }
defHttp.post({ url: '/iot/tplink/cameraInfo/edit', params }).then(() => { defHttp.post({ url: '/iot/tplink/cameraInfo/weixiu', params }).then(() => {
emit("ok"); emit("ok");
}); });

View File

@ -90,9 +90,10 @@ const plainOptions = [
wxvisible.value = false; wxvisible.value = false;
var params = { var params = {
id: bxInfo.value.id, id: bxInfo.value.id,
departServerUrl: bxInfo.value.departServerUrl,
maintainStatus: maintainStatus.value, maintainStatus: maintainStatus.value,
} }
defHttp.post({ url: '/iot/yiweilian/humidDevice/edit', params }).then(() => { defHttp.post({ url: '/iot/yiweilian/humidDevice/weixiu', params }).then(() => {
emit("ok"); emit("ok");
}); });