From 8575e6b8b9bd15bf15fc131eef38b8f8d4761bf4 Mon Sep 17 00:00:00 2001
From: 张含笑 <zhx18749296735@163.com>
Date: Sat, 19 Apr 2025 17:44:48 +0800
Subject: [PATCH] feat: 历史任务详细页调整
---
src/components/DeviceJobDetails/JobRelatedEvents.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/components/DeviceJobDetails/JobRelatedEvents.vue b/src/components/DeviceJobDetails/JobRelatedEvents.vue
index 5384cec..93e6713 100644
--- a/src/components/DeviceJobDetails/JobRelatedEvents.vue
+++ b/src/components/DeviceJobDetails/JobRelatedEvents.vue
@@ -48,7 +48,7 @@
const list = ref()
const params = ref({
- wayLineJodInfoId: null,
+ way_line_jod_info_id: null,
})
const sizeParams = ref({
current: 1,
@@ -69,11 +69,13 @@
const wayLineJodInfoId = inject('wayLineJodInfoId')
const getList = () => {
- params.value.wayLineJodInfoId = wayLineJodInfoId.value
+ params.value.way_line_jod_info_id = wayLineJodInfoId.value
+
getDeviceEventList(params.value, sizeParams.value).then(res => {
const resData = res?.data?.data || {}
list.value = resData.records
total.value = resData.total
+
})
}
--
Gitblit v1.9.3