fix(接口测试): 去掉执行历史中,执行状态列
--bug=1047879 --user=陈建星 【接口测试】项目任务中心-用例执行任务列表-操作-停止任务-接口用例详情-执行历史-执行状态未同步更新 https://www.tapd.cn/55049933/s/1598977
This commit is contained in:
parent
53e41c2c3b
commit
21e24ab055
|
@ -35,15 +35,6 @@
|
|||
<template #status="{ record }">
|
||||
<ExecutionStatus :status="record.status" :module-type="ReportEnum.API_REPORT" />
|
||||
</template>
|
||||
<template #execStatus="{ record }">
|
||||
<ExecStatus :status="record.execStatus" />
|
||||
</template>
|
||||
<template #[FilterSlotNameEnum.API_TEST_CASE_API_REPORT_STATUS]="{ filterContent }">
|
||||
<ExecutionStatus :module-type="ReportEnum.API_REPORT" :status="filterContent.value" />
|
||||
</template>
|
||||
<template #[FilterSlotNameEnum.API_TEST_CASE_API_REPORT_EXECUTE_RESULT]="{ filterContent }">
|
||||
<ExecStatus :status="filterContent.value" />
|
||||
</template>
|
||||
<template #operation="{ record, rowIndex }">
|
||||
<div v-if="record.historyDeleted">
|
||||
<a-tooltip :content="t('common.executionResultCleaned')" position="top">
|
||||
|
@ -84,7 +75,6 @@
|
|||
import useTable from '@/components/pure/ms-table/useTable';
|
||||
import MsTag from '@/components/pure/ms-tag/ms-tag.vue';
|
||||
import caseAndScenarioReportDrawer from '@/views/api-test/components/caseAndScenarioReportDrawer.vue';
|
||||
import ExecStatus from '@/views/api-test/report/component/execStatus.vue';
|
||||
import ExecutionStatus from '@/views/api-test/report/component/reportStatus.vue';
|
||||
|
||||
import { getApiCaseExecuteHistory } from '@/api/modules/api-test/management';
|
||||
|
@ -165,22 +155,6 @@
|
|||
},
|
||||
width: 150,
|
||||
},
|
||||
{
|
||||
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: 150,
|
||||
showDrag: true,
|
||||
},
|
||||
{
|
||||
title: 'apiTestManagement.taskOperator',
|
||||
dataIndex: 'operationUser',
|
||||
|
|
|
@ -25,15 +25,6 @@
|
|||
<template #status="{ record }">
|
||||
<ExecutionStatus :status="record.status" :module-type="ReportEnum.API_SCENARIO_REPORT" />
|
||||
</template>
|
||||
<template #execStatus="{ record }">
|
||||
<ExecStatus :status="record.execStatus" />
|
||||
</template>
|
||||
<template #[FilterSlotNameEnum.API_TEST_SCENARIO_EXECUTE_RESULT]="{ filterContent }">
|
||||
<ExecutionStatus :status="filterContent.value" :module-type="ReportEnum.API_SCENARIO_REPORT" />
|
||||
</template>
|
||||
<template #[FilterSlotNameEnum.API_TEST_CASE_API_REPORT_EXECUTE_RESULT]="{ filterContent }">
|
||||
<ExecStatus :status="filterContent.value" />
|
||||
</template>
|
||||
<template #operation="{ record }">
|
||||
<div v-if="record.historyDeleted">
|
||||
<a-tooltip :content="t('common.executionResultCleaned')" position="top">
|
||||
|
@ -76,7 +67,6 @@
|
|||
import useTable from '@/components/pure/ms-table/useTable';
|
||||
import MsTag from '@/components/pure/ms-tag/ms-tag.vue';
|
||||
import caseAndScenarioReportDrawer from '@/views/api-test/components/caseAndScenarioReportDrawer.vue';
|
||||
import ExecStatus from '@/views/api-test/report/component/execStatus.vue';
|
||||
import ExecutionStatus from '@/views/api-test/report/component/reportStatus.vue';
|
||||
|
||||
import { getExecuteHistory } from '@/api/modules/api-test/scenario';
|
||||
|
@ -145,22 +135,6 @@
|
|||
},
|
||||
width: 100,
|
||||
},
|
||||
{
|
||||
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: 150,
|
||||
showDrag: true,
|
||||
},
|
||||
{
|
||||
title: 'apiScenario.executeHistory.execution.operator',
|
||||
dataIndex: 'operationUser',
|
||||
|
|
Loading…
Reference in New Issue