style(测试用例): 评审详情-用例详情-修改评审结果的数据和样式
This commit is contained in:
parent
42e54321af
commit
4c461e9e31
|
@ -40,6 +40,11 @@
|
|||
:title="t('caseManagement.featureCase.reviewResult')"
|
||||
@handle-change="handleExecResultChange"
|
||||
>
|
||||
<template #item="{ filterItem }">
|
||||
<a-tag :color="reviewResultMap[filterItem.value as ReviewResult].color" class="px-[4px]" size="small">
|
||||
{{ t(reviewResultMap[filterItem.value as ReviewResult].label) }}
|
||||
</a-tag>
|
||||
</template>
|
||||
</MsCheckboxDropdown>
|
||||
</div>
|
||||
<a-spin :loading="caseListLoading" class="h-[calc(100%-46px)] w-full">
|
||||
|
@ -344,12 +349,14 @@
|
|||
|
||||
const type = ref<string[]>([]);
|
||||
const tableFilter = ref();
|
||||
const typeOptions = ref([
|
||||
{ label: t(reviewResultMap.UN_REVIEWED.label), value: 'UN_REVIEWED' },
|
||||
{ label: t(reviewResultMap.PASS.label), value: 'PASS' },
|
||||
{ label: t(reviewResultMap.UN_PASS.label), value: 'UN_PASS' },
|
||||
{ label: t(reviewResultMap.RE_REVIEWED.label), value: 'RE_REVIEWED' },
|
||||
]);
|
||||
const typeOptions = computed(() => {
|
||||
return Object.keys(reviewResultMap).map((key) => {
|
||||
return {
|
||||
value: key,
|
||||
label: t(reviewResultMap[key as ReviewResult].label),
|
||||
};
|
||||
});
|
||||
});
|
||||
|
||||
const viewFlag = ref(false);
|
||||
const onlyMineStatus = ref(false);
|
||||
|
|
Loading…
Reference in New Issue