feat(工作台): 工作台-待办调整

This commit is contained in:
baiqi 2024-11-08 17:27:31 +08:00 committed by Craftsman
parent 2a899a52da
commit f129ba1233
3 changed files with 11 additions and 1 deletions

View File

@ -71,6 +71,7 @@
dataIndex: 'num',
slotName: 'num',
width: 100,
fixed: 'left',
showInTable: true,
columnSelectorDisabled: true,
},

View File

@ -4,7 +4,14 @@
<div class="cursor-pointer font-medium text-[var(--color-text-1)]" @click="goTestPlan">
{{ t('ms.workbench.myFollowed.feature.TEST_PLAN') }}
</div>
<a-radio-group v-model="showType" type="button" class="file-show-type mr-2" size="small" @change="init">
<a-radio-group
v-if="!props.hideShowType"
v-model="showType"
type="button"
class="file-show-type mr-2"
size="small"
@change="init"
>
<a-radio :value="testPlanTypeEnum.ALL" class="show-type-icon p-[2px]">
{{ t('testPlan.testPlanIndex.all') }}
</a-radio>
@ -137,6 +144,7 @@
project: string;
type: 'my_follow' | 'my_create' | 'my_todo';
refreshId: string;
hideShowType?: boolean;
}>();
const { t } = useI18n();

View File

@ -26,6 +26,7 @@
:project="currentProject"
:refresh-id="refreshId"
type="my_follow"
hide-show-type
/>
<caseReviewTable
v-if="features.includes(FeatureEnum.CASE_REVIEW)"