fix(接口测试): 修复报告脚本标识展示问题

This commit is contained in:
fit2-zhao 2024-03-15 15:02:39 +08:00 committed by Craftsman
parent c9d1bba662
commit 99fd56d3d4
1 changed files with 7 additions and 7 deletions

View File

@ -62,7 +62,7 @@
</a-trigger>
</template>
<!-- 报告结果筛选 -->
<template #statusFilter="{ record, columnConfig }">
<template #statusFilter="{ columnConfig }">
<a-trigger
v-model:popup-visible="statusFilterVisible"
trigger="click"
@ -79,11 +79,7 @@
<div class="flex items-center justify-center px-[6px] py-[2px]">
<a-checkbox-group v-model:model-value="statusListFilters" direction="vertical" size="small">
<a-checkbox v-for="key of statusFilters" :key="key" :value="key">
<ExecutionStatus
:module-type="props.moduleType"
:status="key"
:script-identifier="record.scriptIdentifier"
/>
<ExecutionStatus :module-type="props.moduleType" :status="key" />
</a-checkbox>
</a-checkbox-group>
</div>
@ -93,7 +89,11 @@
</template>
<template #status="{ record }">
<ExecutionStatus :module-type="props.moduleType" :status="record.status" />
<ExecutionStatus
:module-type="props.moduleType"
:status="record.status"
:script-identifier="record.scriptIdentifier"
/>
</template>
<template #triggerMode="{ record }">
<span>{{ t(TriggerModeLabel[record.triggerMode]) }}</span>