修改维修功能
This commit is contained in:
parent
0bb15d922c
commit
77589e55a0
|
@ -84,9 +84,10 @@ const plainOptions = [
|
|||
wxvisible.value = false;
|
||||
var params = {
|
||||
id: bxInfo.value.id,
|
||||
departServerUrl: bxInfo.value.departServerUrl,
|
||||
maintainStatus: maintainStatus.value,
|
||||
}
|
||||
defHttp.post({ url: '/iot/tq/electricityMeter/edit', params }).then(() => {
|
||||
defHttp.post({ url: '/iot/tq/electricityMeter/weixiu', params }).then(() => {
|
||||
emit("ok");
|
||||
});
|
||||
|
||||
|
|
|
@ -91,9 +91,10 @@ const plainOptions = [
|
|||
wxvisible.value = false;
|
||||
var params = {
|
||||
id: bxInfo.value.id,
|
||||
departServerUrl: bxInfo.value.departServerUrl,
|
||||
maintainStatus: maintainStatus.value,
|
||||
}
|
||||
defHttp.post({ url: '/iot/tq/waterMeter/edit', params }).then(() => {
|
||||
defHttp.post({ url: '/iot/tq/waterMeter/weixiu', params }).then(() => {
|
||||
emit("ok");
|
||||
});
|
||||
|
||||
|
|
|
@ -81,9 +81,10 @@ const plainOptions = [
|
|||
wxvisible.value = false;
|
||||
var params = {
|
||||
id: bxInfo.value.id,
|
||||
departServerUrl: bxInfo.value.departServerUrl,
|
||||
maintainStatus: maintainStatus.value,
|
||||
}
|
||||
defHttp.post({ url: '/iot/tplink/cameraInfo/edit', params }).then(() => {
|
||||
defHttp.post({ url: '/iot/tplink/cameraInfo/weixiu', params }).then(() => {
|
||||
emit("ok");
|
||||
});
|
||||
|
||||
|
|
|
@ -90,9 +90,10 @@ const plainOptions = [
|
|||
wxvisible.value = false;
|
||||
var params = {
|
||||
id: bxInfo.value.id,
|
||||
departServerUrl: bxInfo.value.departServerUrl,
|
||||
maintainStatus: maintainStatus.value,
|
||||
}
|
||||
defHttp.post({ url: '/iot/yiweilian/humidDevice/edit', params }).then(() => {
|
||||
defHttp.post({ url: '/iot/yiweilian/humidDevice/weixiu', params }).then(() => {
|
||||
emit("ok");
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue