diff --git a/src/views/deviceSync/compoents/DbList.vue b/src/views/deviceSync/compoents/DbList.vue index ee3c590..2761843 100644 --- a/src/views/deviceSync/compoents/DbList.vue +++ b/src/views/deviceSync/compoents/DbList.vue @@ -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"); }); diff --git a/src/views/deviceSync/compoents/SbList.vue b/src/views/deviceSync/compoents/SbList.vue index 4c001ea..87e6436 100644 --- a/src/views/deviceSync/compoents/SbList.vue +++ b/src/views/deviceSync/compoents/SbList.vue @@ -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"); }); diff --git a/src/views/deviceSync/compoents/SxtList.vue b/src/views/deviceSync/compoents/SxtList.vue index 46e289b..ca8c8c4 100644 --- a/src/views/deviceSync/compoents/SxtList.vue +++ b/src/views/deviceSync/compoents/SxtList.vue @@ -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"); }); diff --git a/src/views/deviceSync/compoents/WsdjList.vue b/src/views/deviceSync/compoents/WsdjList.vue index 508f5d6..727091a 100644 --- a/src/views/deviceSync/compoents/WsdjList.vue +++ b/src/views/deviceSync/compoents/WsdjList.vue @@ -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"); });