fix(接口测试): 场景表格通过率提示
This commit is contained in:
parent
b4990750d1
commit
18164669c9
|
@ -107,6 +107,17 @@
|
||||||
</a-select>
|
</a-select>
|
||||||
<apiStatus v-else :status="record.status" />
|
<apiStatus v-else :status="record.status" />
|
||||||
</template>
|
</template>
|
||||||
|
<template #requestPassRateColumn>
|
||||||
|
<div class="flex items-center text-[var(--color-text-3)]">
|
||||||
|
{{ t('apiScenario.table.columns.passRate') }}
|
||||||
|
<a-tooltip :content="t('case.passRateTip')" position="right">
|
||||||
|
<icon-question-circle
|
||||||
|
class="ml-[4px] text-[var(--color-text-4)] hover:text-[rgb(var(--primary-5))]"
|
||||||
|
size="16"
|
||||||
|
/>
|
||||||
|
</a-tooltip>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
<template #createUserName="{ record }">
|
<template #createUserName="{ record }">
|
||||||
<a-tooltip :content="`${record.createName}`" position="tl">
|
<a-tooltip :content="`${record.createName}`" position="tl">
|
||||||
<div class="one-line-text">{{ characterLimit(record.createUserName) }}</div>
|
<div class="one-line-text">{{ characterLimit(record.createUserName) }}</div>
|
||||||
|
@ -738,6 +749,8 @@
|
||||||
{
|
{
|
||||||
title: 'apiScenario.table.columns.passRate',
|
title: 'apiScenario.table.columns.passRate',
|
||||||
dataIndex: 'requestPassRate',
|
dataIndex: 'requestPassRate',
|
||||||
|
slotName: 'requestPassRate',
|
||||||
|
titleSlotName: 'requestPassRateColumn',
|
||||||
showDrag: true,
|
showDrag: true,
|
||||||
showInTable: false,
|
showInTable: false,
|
||||||
width: 100,
|
width: 100,
|
||||||
|
|
Loading…
Reference in New Issue