From 9e98e7d0fe92ce312af646ccc78ee720ea1ddc1e Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Thu, 23 Apr 2026 13:58:12 +0800
Subject: [PATCH] feat: 判空处理
---
applications/task-work-order/src/views/orderView/deviceInvocation/deviceCallRecord/FormDiaLog.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/applications/task-work-order/src/views/orderView/deviceInvocation/deviceCallRecord/FormDiaLog.vue b/applications/task-work-order/src/views/orderView/deviceInvocation/deviceCallRecord/FormDiaLog.vue
index 7eef5a2..79eaf5d 100644
--- a/applications/task-work-order/src/views/orderView/deviceInvocation/deviceCallRecord/FormDiaLog.vue
+++ b/applications/task-work-order/src/views/orderView/deviceInvocation/deviceCallRecord/FormDiaLog.vue
@@ -100,9 +100,10 @@
}
async function loadDetail(id) {
- formData.value.id = id || formData.value.id
+ formData.value.callId = id || formData.value.callId
const res = await getDeviceCallRecordDetails(formData.value)
- detailsList.value = res?.data?.data.records
+ detailsList.value = res?.data?.data.records || []
+ total.value = res?.data?.data.total || 0
}
function handleClosed() {
--
Gitblit v1.9.3