fix(测试计划&测试用例): 修复测试计划报告切换测试点清空关键字&脑图缺陷位置展示调整
This commit is contained in:
parent
520ee8df10
commit
c8bad6d1d6
|
@ -1,17 +1,10 @@
|
||||||
<template>
|
<template>
|
||||||
<a-spin :loading="bugListLoading" class="block h-full pl-[16px]">
|
<a-spin :loading="bugListLoading" class="block h-full pl-[16px]">
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<div class="flex items-center justify-between">
|
|
||||||
<a-button v-if="hasEditPermission" class="mr-3" type="primary" @click="linkBug">
|
|
||||||
{{ t('caseManagement.featureCase.linkDefect') }}
|
|
||||||
</a-button>
|
|
||||||
<a-button v-permission="['PROJECT_BUG:READ+ADD']" type="outline" @click="createBug">
|
|
||||||
{{ t('caseManagement.featureCase.createDefect') }}
|
|
||||||
</a-button>
|
|
||||||
</div>
|
|
||||||
<a-radio-group
|
<a-radio-group
|
||||||
v-model:model-value="showType"
|
v-model:model-value="showType"
|
||||||
type="button"
|
type="button"
|
||||||
|
size="medium"
|
||||||
class="file-show-type ml-[4px]"
|
class="file-show-type ml-[4px]"
|
||||||
@change="handleShowTypeChange"
|
@change="handleShowTypeChange"
|
||||||
>
|
>
|
||||||
|
@ -22,6 +15,14 @@
|
||||||
{{ t('caseManagement.featureCase.testPlan') }}
|
{{ t('caseManagement.featureCase.testPlan') }}
|
||||||
</a-radio>
|
</a-radio>
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
|
<div v-if="showType === 'link'" class="flex items-center justify-between">
|
||||||
|
<a-button v-if="hasEditPermission" class="mr-3" type="primary" @click="linkBug">
|
||||||
|
{{ t('caseManagement.featureCase.linkDefect') }}
|
||||||
|
</a-button>
|
||||||
|
<a-button v-permission="['PROJECT_BUG:READ+ADD']" type="outline" @click="createBug">
|
||||||
|
{{ t('caseManagement.featureCase.createDefect') }}
|
||||||
|
</a-button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<MsList
|
<MsList
|
||||||
v-model:data="bugList"
|
v-model:data="bugList"
|
||||||
|
|
|
@ -123,6 +123,7 @@
|
||||||
const showSetTable = computed(() => (props.isPreview ? enabledTestSet.value : false));
|
const showSetTable = computed(() => (props.isPreview ? enabledTestSet.value : false));
|
||||||
|
|
||||||
function changeHandler(value: boolean) {
|
function changeHandler(value: boolean) {
|
||||||
|
keyword.value = '';
|
||||||
testPlanReportStore.setTestStatus(isGroup.value, value, props.activeType);
|
testPlanReportStore.setTestStatus(isGroup.value, value, props.activeType);
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue