feat(报告): 接口测试报告和测试计划报告去除执行状态列

This commit is contained in:
baiqi 2024-10-16 11:54:51 +08:00 committed by 刘瑞斌
parent 9c2004030c
commit 504691496e
2 changed files with 2 additions and 43 deletions

View File

@ -50,12 +50,6 @@
:script-identifier="props.moduleType === ReportEnum.API_SCENARIO_REPORT ? record.scriptIdentifier : null"
/>
</template>
<template #[FilterSlotNameEnum.API_TEST_CASE_API_REPORT_STATUS]="{ filterContent }">
<ExecutionStatus :module-type="ReportEnum.API_REPORT" :status="filterContent.value" />
</template>
<template #execStatus="{ record }">
<ExecStatus :status="record.execStatus" />
</template>
<template #[FilterSlotNameEnum.API_TEST_CASE_API_REPORT_EXECUTE_RESULT]="{ filterContent }">
<ExecStatus :status="filterContent.value" />
</template>
@ -212,23 +206,7 @@
sorter: true,
},
showInTable: true,
width: 200,
showDrag: true,
},
{
title: 'report.status',
dataIndex: 'execStatus',
slotName: 'execStatus',
filterConfig: {
options: ExecStatusList.value,
filterSlotName: FilterSlotNameEnum.API_TEST_CASE_API_REPORT_EXECUTE_RESULT,
},
sortable: {
sortDirections: ['ascend', 'descend'],
sorter: true,
},
showInTable: true,
width: 200,
width: 150,
showDrag: true,
},
{

View File

@ -64,12 +64,6 @@
<template #resultStatus="{ record }">
<ExecutionStatus v-if="record.resultStatus !== '-'" :status="record.resultStatus" />
</template>
<template #execStatus="{ record }">
<ExecStatus :status="record.execStatus" />
</template>
<template #[FilterSlotNameEnum.TEST_PLAN_REPORT_EXEC_STATUS]="{ filterContent }">
<ExecStatus :status="filterContent.value" />
</template>
<template #[FilterSlotNameEnum.TEST_PLAN_STATUS_FILTER]="{ filterContent }">
<ExecutionStatus :status="filterContent.value" />
</template>
@ -210,19 +204,6 @@
showDrag: true,
columnSelectorDisabled: true,
},
{
title: 'report.execStatus',
dataIndex: 'execStatus',
slotName: 'execStatus',
filterConfig: {
options: executeResultOptions.value,
filterSlotName: FilterSlotNameEnum.TEST_PLAN_REPORT_EXEC_STATUS,
},
showInTable: true,
width: 200,
showDrag: true,
},
{
title: 'report.result',
dataIndex: 'resultStatus',
@ -236,7 +217,7 @@
filterSlotName: FilterSlotNameEnum.TEST_PLAN_STATUS_FILTER,
},
showInTable: true,
width: 200,
width: 150,
showDrag: true,
},
{