diff --git a/src/views/intelligenceTest/runningTask/index.vue b/src/views/intelligenceTest/runningTask/index.vue
index 3a82023..1267fb4 100644
--- a/src/views/intelligenceTest/runningTask/index.vue
+++ b/src/views/intelligenceTest/runningTask/index.vue
@@ -66,7 +66,8 @@
:activeStep="taskRunningInfo[runTask.id]?.activeStep || 0" />
@@ -154,7 +155,8 @@
-
+
+
@@ -590,11 +592,17 @@ const subscribeDebounced = debounce(async (sub) => {
const logDialogVisible = ref(false)
const logDialogData = ref([])
+
+// 历史表格行里的 taskId 是任务定义 ID;日志组件使用它查询本次任务包含的全部检测项。
+const logDialogTaskId = ref('')
const logDialogLoading = ref(false)
let logDialogRequestId = 0
const handleOpenLog = async (row) => {
const requestId = ++logDialogRequestId
logDialogVisible.value = true
+
+ // 在请求实例日志前先更新 taskId,让检测项请求与日志请求并行执行,减少弹窗等待时间。
+ logDialogTaskId.value = row.taskId
logDialogData.value = []
logDialogLoading.value = true
try {
diff --git a/src/views/intelligenceTest/runningTask/task-log.vue b/src/views/intelligenceTest/runningTask/task-log.vue
index 9156739..8d19199 100644
--- a/src/views/intelligenceTest/runningTask/task-log.vue
+++ b/src/views/intelligenceTest/runningTask/task-log.vue
@@ -1,12 +1,443 @@
-
+
+
+
+ 检测项
+ 状态
+
+
+
检测项加载中...
+
暂无检测项
+
+
+
+
+
+
+
+
+ 节点执行日志
+ {{ group.logs.length }} 条
+
+
+ 节点:{{ group.nodeNames.join('、') }}
+
+
+
该检测项暂未产生节点日志
+
+
+
+
+
+