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