feat(报告): 接口测试报告和测试计划报告去除执行状态列
This commit is contained in:
parent
9c2004030c
commit
504691496e
|
@ -50,12 +50,6 @@
|
||||||
:script-identifier="props.moduleType === ReportEnum.API_SCENARIO_REPORT ? record.scriptIdentifier : null"
|
:script-identifier="props.moduleType === ReportEnum.API_SCENARIO_REPORT ? record.scriptIdentifier : null"
|
||||||
/>
|
/>
|
||||||
</template>
|
</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 }">
|
<template #[FilterSlotNameEnum.API_TEST_CASE_API_REPORT_EXECUTE_RESULT]="{ filterContent }">
|
||||||
<ExecStatus :status="filterContent.value" />
|
<ExecStatus :status="filterContent.value" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -212,23 +206,7 @@
|
||||||
sorter: true,
|
sorter: true,
|
||||||
},
|
},
|
||||||
showInTable: true,
|
showInTable: true,
|
||||||
width: 200,
|
width: 150,
|
||||||
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,
|
|
||||||
showDrag: true,
|
showDrag: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
|
@ -64,12 +64,6 @@
|
||||||
<template #resultStatus="{ record }">
|
<template #resultStatus="{ record }">
|
||||||
<ExecutionStatus v-if="record.resultStatus !== '-'" :status="record.resultStatus" />
|
<ExecutionStatus v-if="record.resultStatus !== '-'" :status="record.resultStatus" />
|
||||||
</template>
|
</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 }">
|
<template #[FilterSlotNameEnum.TEST_PLAN_STATUS_FILTER]="{ filterContent }">
|
||||||
<ExecutionStatus :status="filterContent.value" />
|
<ExecutionStatus :status="filterContent.value" />
|
||||||
</template>
|
</template>
|
||||||
|
@ -210,19 +204,6 @@
|
||||||
showDrag: true,
|
showDrag: true,
|
||||||
columnSelectorDisabled: 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',
|
title: 'report.result',
|
||||||
dataIndex: 'resultStatus',
|
dataIndex: 'resultStatus',
|
||||||
|
@ -236,7 +217,7 @@
|
||||||
filterSlotName: FilterSlotNameEnum.TEST_PLAN_STATUS_FILTER,
|
filterSlotName: FilterSlotNameEnum.TEST_PLAN_STATUS_FILTER,
|
||||||
},
|
},
|
||||||
showInTable: true,
|
showInTable: true,
|
||||||
width: 200,
|
width: 150,
|
||||||
showDrag: true,
|
showDrag: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue