From 9859152fdaebb4162e80e8a112705bf397f35e09 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Tue, 23 Jun 2026 14:34:34 +0800
Subject: [PATCH] feat: 添加事件名称

---
 applications/task-work-order/src/views/orderView/deviceInvocation/deviceCallRecord/FormDiaLog.vue |   11 ++++-------
 1 files changed, 4 insertions(+), 7 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..97cec03 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
@@ -4,11 +4,7 @@
 		<!--		<div class="detail-row-view" v-if="dialogReadonly">-->
 		<el-table :data="detailsList" class="gd-dialog-table">
 			<el-table-column type="index" show-overflow-tooltip label="序号" />
-			<el-table-column prop="deviceStatus" show-overflow-tooltip label="设备状态" >
-				<template v-slot="{ row }">
-					{{ getStatusText(row.deviceStatus) }}
-				</template>
-			</el-table-column>
+			<el-table-column prop="deviceStatus" show-overflow-tooltip label="设备状态" />
 			<el-table-column prop="occurTime" show-overflow-tooltip label="发生时间" />
 		</el-table>
 		<div class="gd-pagination-parent">
@@ -100,9 +96,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