|
|
@@ -42,6 +42,7 @@ interface OliDevice {
|
|
|
carOnline: string
|
|
|
deptName: string
|
|
|
vehicleName: string
|
|
|
+ mqttUrl: string
|
|
|
}
|
|
|
|
|
|
const list = ref<OliDevice[]>([])
|
|
|
@@ -154,7 +155,8 @@ const openDetail = (
|
|
|
code: string,
|
|
|
dept: string,
|
|
|
vehicle: string,
|
|
|
- carOnline: string
|
|
|
+ carOnline: string,
|
|
|
+ mqttUrl: string
|
|
|
) => {
|
|
|
if (time === null || time === undefined) {
|
|
|
message.warning('没有数采数据')
|
|
|
@@ -162,7 +164,7 @@ const openDetail = (
|
|
|
}
|
|
|
router.push({
|
|
|
name: 'MonitoringDetail',
|
|
|
- query: { id, ifInline, carOnline, time, name, code, dept, vehicle }
|
|
|
+ query: { id, ifInline, carOnline, time, name, code, dept, vehicle, mqttUrl }
|
|
|
})
|
|
|
}
|
|
|
</script>
|
|
|
@@ -280,7 +282,8 @@ const openDetail = (
|
|
|
scope.row.deviceCode,
|
|
|
scope.row.deptName,
|
|
|
scope.row.vehicleName,
|
|
|
- scope.row.carOnline ?? ''
|
|
|
+ scope.row.carOnline ?? '',
|
|
|
+ scope.row.mqttUrl ?? ''
|
|
|
)
|
|
|
"
|
|
|
>
|
|
|
@@ -410,7 +413,8 @@ const openDetail = (
|
|
|
item.deviceCode,
|
|
|
item.deptName,
|
|
|
item.vehicleName,
|
|
|
- item.carOnline ?? ''
|
|
|
+ item.carOnline ?? '',
|
|
|
+ item.mqttUrl ?? ''
|
|
|
)
|
|
|
"
|
|
|
>查看详情</span
|