From 7d4274e4452711090396ccab0cd5468a5778dd7b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E7=A3=8A?= <45566618@qq.com> Date: Fri, 14 Nov 2025 15:58:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E8=81=94=E8=AE=BE=E5=A4=87=E4=B8=8E?= =?UTF-8?q?=E6=8A=A4=E7=90=86=E5=8D=95=E5=85=83=E5=90=8C=E6=AD=A5=E7=8A=B6?= =?UTF-8?q?=E6=80=81=E5=80=BC01=E6=94=B9=E4=B8=BAYN?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/deviceSync/compoents/DbList.vue | 18 +++++++++--------- src/views/deviceSync/compoents/SbList.vue | 16 ++++++++-------- src/views/deviceSync/compoents/SxtList.vue | 12 ++++++------ src/views/deviceSync/compoents/WsdjList.vue | 14 +++++++------- 4 files changed, 30 insertions(+), 30 deletions(-) diff --git a/src/views/deviceSync/compoents/DbList.vue b/src/views/deviceSync/compoents/DbList.vue index 6d725df..666fa76 100644 --- a/src/views/deviceSync/compoents/DbList.vue +++ b/src/views/deviceSync/compoents/DbList.vue @@ -27,7 +27,7 @@
用电量
-
{{item.syncType =='1'?'已同步':'未同步'}}
+
{{item.syncType =='Y'?'已同步':'未同步'}}
同步状态
@@ -38,7 +38,7 @@
维修状态
- + @@ -47,7 +47,7 @@
抄表 - +
移除
@@ -56,10 +56,10 @@ 维修
- + - +
@@ -77,7 +77,7 @@ import { useMessage } from '/@/hooks/web/useMessage'; import CameraPreviewModal from '/@/views/iot/tplink/camera/components/CameraPreviewModal.vue' import { c } from 'node_modules/vite/dist/node/moduleRunnerTransport.d-DJ_mE5sf'; import { defHttp } from '/@/utils/http/axios'; - + const wxvisible = ref(false); const bxInfo = ref({}); const maintainStatus = ref(''); @@ -104,7 +104,7 @@ const plainOptions = [ defHttp.post({ url: '/iot/tq/electricityMeter/weixiu', params }).then(() => { emit("ok"); }); - + } } /** @@ -114,14 +114,14 @@ const plainOptions = [ bxInfo.value = record; wxvisible.value = true; } - + // 抄电表 async function handleRead(record) { const params = { 'cid' : record.cid, 'address' : record.address, }; - await defHttp.get({ url: '/iot/tq/electricityMeter/eleRead', params }).then((res) => { + await defHttp.get({ url: '/iot/tq/electricityMeter/eleRead', params }).then((res) => { console.log("🚀 ~ handleRead ~ res:", res) }); setTimeout(() => { diff --git a/src/views/deviceSync/compoents/SbList.vue b/src/views/deviceSync/compoents/SbList.vue index 2c16e06..aa781aa 100644 --- a/src/views/deviceSync/compoents/SbList.vue +++ b/src/views/deviceSync/compoents/SbList.vue @@ -27,7 +27,7 @@
用水量
-
{{item.syncType =='1'?'已同步':'未同步'}}
+
{{item.syncType =='Y'?'已同步':'未同步'}}
同步状态
@@ -46,7 +46,7 @@
抄表 - +
移除
@@ -55,10 +55,10 @@ 维修
- + - +
@@ -76,7 +76,7 @@ import { useMessage } from '/@/hooks/web/useMessage'; import CameraPreviewModal from '/@/views/iot/tplink/camera/components/CameraPreviewModal.vue' import { c } from 'node_modules/vite/dist/node/moduleRunnerTransport.d-DJ_mE5sf'; import { defHttp } from '/@/utils/http/axios'; - + const wxvisible = ref(false); const bxInfo = ref({}); const maintainStatus = ref(''); @@ -103,7 +103,7 @@ const plainOptions = [ defHttp.post({ url: '/iot/tq/waterMeter/weixiu', params }).then(() => { emit("ok"); }); - + } } /** @@ -113,14 +113,14 @@ const plainOptions = [ bxInfo.value = record; wxvisible.value = true; } - + // 抄水表 async function handleRead(record) { const params = { 'cid' : record.cid, 'address' : record.address, }; - await defHttp.get({ url: '/iot/tq/waterMeter/waterRead', params }).then((res) => { + await defHttp.get({ url: '/iot/tq/waterMeter/waterRead', params }).then((res) => { console.log("🚀 ~ handleRead ~ res:", res) }); setTimeout(() => { diff --git a/src/views/deviceSync/compoents/SxtList.vue b/src/views/deviceSync/compoents/SxtList.vue index 1825d3e..5b72382 100644 --- a/src/views/deviceSync/compoents/SxtList.vue +++ b/src/views/deviceSync/compoents/SxtList.vue @@ -23,7 +23,7 @@ -
{{item.syncType =='1'?'已同步':'未同步'}}
+
{{item.syncType =='Y'?'已同步':'未同步'}}
同步状态
@@ -42,7 +42,7 @@
预览 - +
移除
@@ -54,7 +54,7 @@
- +
@@ -72,7 +72,7 @@ import { useMessage } from '/@/hooks/web/useMessage'; import CameraPreviewModal from '/@/views/iot/tplink/camera/components/CameraPreviewModal.vue' import { c } from 'node_modules/vite/dist/node/moduleRunnerTransport.d-DJ_mE5sf'; import { defHttp } from '/@/utils/http/axios'; - + const wxvisible = ref(false); const bxInfo = ref({}); const maintainStatus = ref(''); @@ -99,7 +99,7 @@ const plainOptions = [ defHttp.post({ url: '/iot/tplink/cameraInfo/weixiu', params }).then(() => { emit("ok"); }); - + } } /** @@ -138,7 +138,7 @@ const plainOptions = [ }, }); } - + } diff --git a/src/views/deviceSync/compoents/WsdjList.vue b/src/views/deviceSync/compoents/WsdjList.vue index 7ff4cf1..83ddb3d 100644 --- a/src/views/deviceSync/compoents/WsdjList.vue +++ b/src/views/deviceSync/compoents/WsdjList.vue @@ -37,7 +37,7 @@ -
{{item.syncType =='1'?'已同步':'未同步'}}
+
{{item.syncType =='Y'?'已同步':'未同步'}}
同步状态
@@ -56,7 +56,7 @@
抄表 - +
移除
@@ -65,7 +65,7 @@ 维修
- + @@ -85,7 +85,7 @@ import { useMessage } from '/@/hooks/web/useMessage'; import CameraPreviewModal from '/@/views/iot/tplink/camera/components/CameraPreviewModal.vue' import { c } from 'node_modules/vite/dist/node/moduleRunnerTransport.d-DJ_mE5sf'; import { defHttp } from '/@/utils/http/axios'; - + const wxvisible = ref(false); const bxInfo = ref({}); const maintainStatus = ref(''); @@ -112,7 +112,7 @@ const plainOptions = [ defHttp.post({ url: '/iot/yiweilian/humidDevice/weixiu', params }).then(() => { emit("ok"); }); - + } } /** @@ -122,13 +122,13 @@ const plainOptions = [ bxInfo.value = record; wxvisible.value = true; } - + // 抄温湿度计 async function handleRead(record) { const params = { 'sn' : record.sn, }; - await defHttp.get({ url: '/iot/yiweilian/humidDevice/updateDeviceRealTime', params }).then((res) => { + await defHttp.get({ url: '/iot/yiweilian/humidDevice/updateDeviceRealTime', params }).then((res) => { console.log("🚀 ~ handleRead ~ res:", res) }); setTimeout(() => {