- 花纹深度:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-1-2`))[0].currentTextureDepth }}
-
-
- 轮胎编号:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-1-2`))[0].outerTireNumber }}
+
{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-1-2`))[0].temperature }}
- 花纹:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-1-2`))[0].pattern }}
+
{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-1-2`))[0].pressure }}
+
+
+
- 花纹深度:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-2`))[0].currentTextureDepth }}
+
{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-2`))[0].temperature }}
- 轮胎编号:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-2`))[0].outerTireNumber }}
-
-
- 花纹:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-2`))[0].pattern }}
+
{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-2`))[0].pressure }}
+
+
+
- 花纹深度:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-1`))[0].currentTextureDepth }}
-
-
- 轮胎编号:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-1`))[0].outerTireNumber }}
+
{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-1`))[0].temperature }}
- 花纹:{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-1`))[0].pattern }}
+
{{ tyreList.filter(e => e.tyrePositionS === (`${index + 1}-2-1`))[0].pressure }}
+
+
+
@@ -356,15 +356,15 @@ const tableChange = async (e) => {
pageId.value = e.id
const {data: info} = await getCarGpsList({id: pageId.value})
cardInfo.value = {
- carLicense: info[0].carLicense
+ carLicense: info.carLicense
}
- let TireRow1 = info[0].cartype?.split('T')[1]?.split('|').filter(e => e !== '') || []
+ let TireRow1 = info.cartype?.split('T')[1]?.split('|').filter(e => e !== '') || []
let title = []
TireRow1.forEach((res) => {
title.push(parseInt(res.split('-')[1]))
})
TireRow.value = title
- let tyreListData = info[0].tyreList.map(e => {
+ let tyreListData = info.tyreList.map(e => {
return {
...e,
tyrePositionS: e.tyrePosition?.split('-')[0] + '-' + e.tyrePosition?.split('-')[1] + '-' + e.tyrePosition?.split('-')[2]
@@ -376,7 +376,7 @@ const tableChange = async (e) => {
let timeOut = () => {
setTimeout(() => {
if (map) {
- setMarker(info[0])
+ setMarker(info)
clearTimeout(timeOut)
}
}, 1000)
@@ -532,4 +532,28 @@ onBeforeUnmount(() => {
.el-descriptions__label {
width: 170px;
}
+.icon1{
+ margin-left: 5px;
+ display: inline-block;
+ vertical-align: top;
+ margin-top: 3px;
+ width: 30px;
+ height: 30px;
+ margin-right: 6px;
+ background-repeat: no-repeat;
+ background-size: 100% 100%;
+ background-image: url('@/assets/images/temperature.png')
+}
+.icon2{
+ margin-left: 5px;
+ display: inline-block;
+ vertical-align: top;
+ margin-top: 3px;
+ width: 30px;
+ height: 30px;
+ margin-right: 6px;
+ background-repeat: no-repeat;
+ background-size: 100% 100%;
+ background-image: url('@/assets/images/pressure.png')
+}
\ No newline at end of file
diff --git a/ruoyi-ui/src/views/realTimeMonitoring/historicalRoute/index.vue b/ruoyi-ui/src/views/realTimeMonitoring/historicalRoute/index.vue
index 7d22868..bdef943 100644
--- a/ruoyi-ui/src/views/realTimeMonitoring/historicalRoute/index.vue
+++ b/ruoyi-ui/src/views/realTimeMonitoring/historicalRoute/index.vue
@@ -12,14 +12,15 @@
@keyup.enter.native="handleQuery"
/>