-
1
-
+
{{ index + 1 }}
+
- - 0KM
- - 22秒
- - 5KM/h
- - 0KM/h
+ - {{ item.tripdistance }}KM
+ - {{ item.drivingDuration }}秒
+ - {{ item.maxspeed }}KM/h
+ - {{ item.averagespeed }}KM/h
- 里程
@@ -64,9 +69,9 @@
始
- 2024-07-18 01:18:53
+ {{ item.startTime }}
-
安徽省------
+
{{ item.startAddress }}
@@ -77,9 +82,9 @@
"
>终
- 2024-07-18 01:18:53
+ {{ item.endTime }}
-
安徽省------
+
{{ item.endAddress }}
@@ -118,7 +123,11 @@
@@ -406,6 +473,7 @@ export default {
margin: 0;
list-style: none;
display: flex;
+ align-items: center;
li {
flex: 1;
text-align: center;
diff --git a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue
index 3d8c0a95..5e5e4924 100644
--- a/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue
+++ b/sgzb-ui/src/views/warehouseManage/machinery/coding/index.vue
@@ -224,9 +224,9 @@
- 未绑定
+ {{
+ row.iotNum === 0 ? '未绑定' : row.iotNum
+ }}
+ -
@@ -853,13 +855,8 @@ export default {
async handleMap(row) {
this.deviceName = row.specificationType
this.deviceType = row.maStatusName
- // 获取绑定的iot设备
- const res = await getTypeListApi({ maCode: row.maCode })
+ this.iotCode = row.iotCode
- if (res.rows.length > 0) {
- this.iotCode = res.rows[0].iotCode
- }
- // console.log(res, '获取的iot设备信息')
this.mapDialogVisible = true
},
handlePush() {