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(() => {