feat(用例管理): 评审详情页面开启我的评审状态禁用状态下拉选项&我的评审状态显示
This commit is contained in:
parent
cf5357fb4f
commit
1a42390ec5
|
@ -215,6 +215,7 @@ export interface ReviewCaseItem {
|
|||
reviewers: string[];
|
||||
reviewNames: string[];
|
||||
status: string;
|
||||
myStatus: string;
|
||||
moduleId: string;
|
||||
moduleName: string;
|
||||
}
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
@search="loadCaseList"
|
||||
@press-enter="loadCaseList"
|
||||
/>
|
||||
<a-select v-model:model-value="type" :options="typeOptions" class="w-[92px]" @change="loadCaseList">
|
||||
<a-select v-model:model-value="type" :options="typeOptions" class="w-[92px]" @change="loadCaseList" :disabled="onlyMineStatus">
|
||||
</a-select>
|
||||
</div>
|
||||
<a-spin :loading="caseListLoading" class="h-[calc(100%-46px)] w-full">
|
||||
|
@ -45,7 +45,14 @@
|
|||
>
|
||||
<div class="mb-[4px] flex items-center justify-between">
|
||||
<div>{{ item.num }}</div>
|
||||
<div class="flex items-center gap-[4px] leading-[22px]">
|
||||
<div v-if="onlyMineStatus" class="flex items-center gap-[4px] leading-[22px]">
|
||||
<MsIcon
|
||||
:type="reviewResultMap[item.myStatus]?.icon"
|
||||
:style="{ color: reviewResultMap[item.myStatus]?.color }"
|
||||
/>
|
||||
{{ t(reviewResultMap[item.myStatus]?.label) }}
|
||||
</div>
|
||||
<div v-else class="flex items-center gap-[4px] leading-[22px]">
|
||||
<MsIcon
|
||||
:type="reviewResultMap[item.status]?.icon"
|
||||
:style="{ color: reviewResultMap[item.status]?.color }"
|
||||
|
|
Loading…
Reference in New Issue