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', dataIndex: 'num',
slotName: 'num', slotName: 'num',
width: 100, width: 100,
fixed: 'left',
showInTable: true, showInTable: true,
columnSelectorDisabled: true, columnSelectorDisabled: true,
}, },

View File

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

View File

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