fix(测试计划): 修改测试计划报告列表通过率展示问题&替换接口图表缝隙问题

This commit is contained in:
xinxin.wu 2024-05-27 17:03:31 +08:00 committed by 刘瑞斌
parent c9f1ae7f15
commit aee7e10a90
3 changed files with 8 additions and 28 deletions

View File

@ -264,18 +264,6 @@
show: false, show: false,
position: 'center', position: 'center',
}, },
itemStyle: {
normal: {
borderWidth: 2,
borderColor: '#ffffff',
},
emphasis: {
borderWidth: 0,
shadowBlur: 0,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)',
},
},
emphasis: { emphasis: {
label: { label: {
show: false, show: false,
@ -386,6 +374,8 @@
name: t(item.label), name: t(item.label),
itemStyle: { itemStyle: {
color: item.color, color: item.color,
borderWidth: 2,
borderColor: '#ffffff',
}, },
}; };
}); });

View File

@ -270,18 +270,6 @@
show: false, show: false,
position: 'center', position: 'center',
}, },
itemStyle: {
normal: {
borderWidth: 2,
borderColor: '#ffffff',
},
emphasis: {
borderWidth: 0,
shadowBlur: 0,
shadowOffsetX: 0,
shadowColor: 'rgba(0, 0, 0, 0.5)',
},
},
emphasis: { emphasis: {
label: { label: {
show: false, show: false,
@ -364,6 +352,8 @@
name: t(item.label), name: t(item.label),
itemStyle: { itemStyle: {
color: item.color, color: item.color,
borderWidth: 2,
borderColor: '#ffffff',
}, },
}; };
}); });

View File

@ -56,7 +56,7 @@
</template> </template>
<template #passRate="{ record }"> <template #passRate="{ record }">
<div class="text-[var(--color-text-1)]"> <div class="text-[var(--color-text-1)]">
{{ `${record.passRate | 0}%` }} {{ `${record.passRate}%` }}
</div> </div>
</template> </template>
<!-- 执行状态筛选 --> <!-- 执行状态筛选 -->
@ -239,9 +239,9 @@
showInTable: true, showInTable: true,
width: 150, width: 150,
showDrag: true, showDrag: true,
// filterConfig: { filterConfig: {
// options: triggerModeOptions.value, options: triggerModeOptions.value,
// }, },
}, },
{ {
title: 'report.operator', title: 'report.operator',