fix(测试计划): 用例详情展示状态有误
--bug=1040846 --user=宋昌昌 【测试计划】计划详情-用例详情-用例未执行状态展示为未开始 https://www.tapd.cn/55049933/s/1521461
This commit is contained in:
parent
386e1d91c6
commit
95943e6665
|
@ -37,6 +37,31 @@
|
|||
color: 'var(--color-text-n8)',
|
||||
class: '!text-[var(--color-text-4)]',
|
||||
},
|
||||
SUCCESS: {
|
||||
label: 'common.success',
|
||||
color: 'rgb(var(--success-2))',
|
||||
class: '!text-[rgb(var(--success-6))]',
|
||||
},
|
||||
ERROR: {
|
||||
label: 'common.fail',
|
||||
color: 'rgb(var(--danger-2))',
|
||||
class: '!text-[rgb(var(--danger-6))]',
|
||||
},
|
||||
PENDING: {
|
||||
label: 'common.unExecute',
|
||||
color: 'var(--color-text-n8)',
|
||||
class: '!text-[var(--color-text-1)]',
|
||||
},
|
||||
BLOCKED: {
|
||||
label: 'common.block',
|
||||
color: 'var(--color-bg-6)',
|
||||
class: '!text-[rgb(var(--primary-6))]',
|
||||
},
|
||||
UN_EXECUTED: {
|
||||
label: 'common.unExecute',
|
||||
color: 'var(--color-text-n8)',
|
||||
class: '!text-[var(--color-text-1)]',
|
||||
},
|
||||
} as const;
|
||||
</script>
|
||||
|
||||
|
|
|
@ -61,7 +61,7 @@
|
|||
<a-spin :loading="caseDetailLoading" class="relative flex h-full flex-1 flex-col overflow-hidden">
|
||||
<div class="flex px-[16px] pt-[16px]">
|
||||
<div class="mr-[24px] flex flex-1 items-center overflow-hidden">
|
||||
<MsStatusTag :status="caseDetail.status || 'PREPARED'" />
|
||||
<MsStatusTag :status="caseDetail.lastExecuteResult || 'PREPARED'" />
|
||||
<div class="ml-[8px] mr-[2px] cursor-pointer font-medium text-[rgb(var(--primary-5))]" @click="goCaseDetail"
|
||||
>[{{ caseDetail.num }}]</div
|
||||
>
|
||||
|
|
Loading…
Reference in New Issue