diff --git a/pages/210/historyRecords/index.vue b/pages/210/historyRecords/index.vue
index b7c7a5b..b271e9c 100644
--- a/pages/210/historyRecords/index.vue
+++ b/pages/210/historyRecords/index.vue
@@ -48,7 +48,6 @@
white-space: nowrap;
overflow: hidden;
position: relative;
-
}
.tab-container {
@@ -56,14 +55,12 @@
cursor: pointer;
margin-bottom: 40rpx;
justify-content: space-between;
-
}
.tab-item {
font-size: 28rpx;
padding: 0 30rpx;
text-align: center;
-
}
.active {
diff --git a/pages/6170/allShare/index.vue b/pages/6170/allShare/index.vue
index 91c9135..cadcdb2 100644
--- a/pages/6170/allShare/index.vue
+++ b/pages/6170/allShare/index.vue
@@ -17,7 +17,7 @@
{{
tabs[activeTab].name === '我的分享'
? `分享给“${group.sharedTo}”的设备`
- : `来自“${group.sharedTo}”分享的设备`
+ : `来自“${group.othersharedTo}”分享的设备`
}}
{{editingGroup === groupIndex ? '完成' : '编辑'}}
@@ -41,11 +41,9 @@
ID:{{item.deviceImei}}
- 在线
+ 在线
- 离线
+ 离线
电量:{{item.battery || '0'}}%
@@ -54,11 +52,6 @@
-
-
@@ -122,10 +115,12 @@
const groups = {};
this.deviceList.forEach(device => {
// 这里假设device.sharedTo是分享目标的手机号
- const key = device.sharedTo || '未分享';
+ const key = this.activeTab === 0 ? device.phonenumber : device.otherPhonenumber;
+ const displayName = this.activeTab === 0 ? device.phonenumber : device.otherPhonenumber;
if (!groups[key]) {
groups[key] = {
- sharedTo: key,
+ sharedTo: displayName, // 显示用名称
+ othersharedTo: displayName, // 显示用名称
devices: []
};
}
@@ -218,7 +213,8 @@
const newDevices = res.rows.map(device => ({
...device,
showConfirm: false,
- sharedTo: device.phonenumber || '未分享'
+ sharedTo: device.phonenumber,
+ othersharedTo: device.otherPhonenumber
}));
// 分页处理
if (this.page === 1) {
diff --git a/pages/6170/deviceControl/index.vue b/pages/6170/deviceControl/index.vue
index 6f5e6ff..bec848d 100644
--- a/pages/6170/deviceControl/index.vue
+++ b/pages/6170/deviceControl/index.vue
@@ -67,7 +67,7 @@
-
+
设备强制报警中
-
+
+
+
@@ -285,7 +299,6 @@
lightModeSettings, //灯光模式设置
laserModeSettings, //激光模式设置
lightBrightnessSettings, //灯光亮度设置
- mapReverseGeocoding //地图逆解析
} from '@/api/6170/deviceControl.js'
import {
baseURL,
@@ -379,6 +392,9 @@
this.lightModeB = false;
this.lightModeC = false;
},
+ closeProgress() {
+ this.Progress.show = false; // 直接关闭进度条
+ },
// *******定位******
gpsPosition(item) {
// 添加调试日志
@@ -409,7 +425,6 @@
cardTouchMove(e) {
if (!this.cardRect || e.touches.length === 0) return;
-
const deltaX = e.touches[0].clientX - this.touchStartX;
const deltaY = e.touches[0].clientY - this.touchStartY;
diff --git a/pages/6170/shareManagement/index.vue b/pages/6170/shareManagement/index.vue
index 540b9e6..5466a96 100644
--- a/pages/6170/shareManagement/index.vue
+++ b/pages/6170/shareManagement/index.vue
@@ -86,7 +86,7 @@
},
getData(val) {
let data = {
- deviceid: val
+ deviceId: val
}
deviceShareList(data).then((res) => {
if (res.code == 200) {
diff --git a/pages/common/index/index.vue b/pages/common/index/index.vue
index 1edd3cb..a898dee 100644
--- a/pages/common/index/index.vue
+++ b/pages/common/index/index.vue
@@ -31,7 +31,7 @@
+ :style="{ border: item.communicationMode==0 && item.onlineStatus==0 ? '1px solid rgba(224, 52, 52, 1)' : 'none' }">
报警中
+ v-if="item.communicationMode==0 && item.onlineStatus==0">报警中
已连接
未连接
@@ -78,7 +78,7 @@
-
+
-
+