feat(测试计划): 调整测试计划报告自定义配置为空展示优化
This commit is contained in:
parent
53649fbc5e
commit
19f5cb2d27
|
@ -424,9 +424,15 @@
|
|||
const apiScenarioDetail = getSummaryDetail(detail.value.apiScenarioCount || defaultCount);
|
||||
return apiScenarioDetail.successRate;
|
||||
});
|
||||
const functionalCaseTotal = computed(() => detail.value.functionalTotal);
|
||||
const apiCaseTotal = computed(() => detail.value.apiCaseTotal);
|
||||
const scenarioCaseTotal = computed(() => detail.value.apiScenarioTotal);
|
||||
const functionalCaseTotal = computed(() =>
|
||||
props.isPreview ? detail.value.functionalTotal : getSummaryDetail(detail.value.functionalCount).caseTotal
|
||||
);
|
||||
const apiCaseTotal = computed(() =>
|
||||
props.isPreview ? detail.value.apiCaseTotal : getSummaryDetail(detail.value.apiCaseCount).caseTotal
|
||||
);
|
||||
const scenarioCaseTotal = computed(() =>
|
||||
props.isPreview ? detail.value.apiScenarioTotal : getSummaryDetail(detail.value.apiScenarioCount).caseTotal
|
||||
);
|
||||
|
||||
const reportAnalysisList = computed<ReportMetricsItemModel[]>(() => {
|
||||
if (props.isGroup) {
|
||||
|
|
Loading…
Reference in New Issue