fix(测试用例): 修复测试用例按钮不持平&新建缺陷弹窗大小
This commit is contained in:
parent
645e00054f
commit
365d8f3b74
|
@ -1,7 +1,13 @@
|
||||||
<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 gap-[24px]">
|
<div class="flex items-center justify-between gap-[24px]">
|
||||||
<a-radio-group v-model:model-value="showType" type="button" class="ml-[4px]" @change="handleShowTypeChange">
|
<a-radio-group
|
||||||
|
v-model:model-value="showType"
|
||||||
|
type="button"
|
||||||
|
class="ml-[4px]"
|
||||||
|
size="medium"
|
||||||
|
@change="handleShowTypeChange"
|
||||||
|
>
|
||||||
<a-radio value="link" class="show-type-icon p-[2px]">
|
<a-radio value="link" class="show-type-icon p-[2px]">
|
||||||
{{ t('caseManagement.featureCase.directLink') }}
|
{{ t('caseManagement.featureCase.directLink') }}
|
||||||
</a-radio>
|
</a-radio>
|
||||||
|
|
|
@ -3,8 +3,12 @@
|
||||||
<div class="mb-[16px] flex items-center justify-between">
|
<div class="mb-[16px] flex items-center justify-between">
|
||||||
<div>
|
<div>
|
||||||
<a-radio-group v-model:model-value="showType" type="button" size="medium">
|
<a-radio-group v-model:model-value="showType" type="button" size="medium">
|
||||||
<a-radio value="link">{{ t('caseManagement.featureCase.directLink') }}</a-radio>
|
<a-radio value="link" class="show-type-icon p-[2px]">
|
||||||
<a-radio value="testPlan">{{ t('caseManagement.featureCase.testPlan') }}</a-radio>
|
{{ t('caseManagement.featureCase.directLink') }}
|
||||||
|
</a-radio>
|
||||||
|
<a-radio value="testPlan" class="show-type-icon p-[2px]">
|
||||||
|
{{ t('caseManagement.featureCase.testPlan') }}
|
||||||
|
</a-radio>
|
||||||
</a-radio-group>
|
</a-radio-group>
|
||||||
<a-input-search
|
<a-input-search
|
||||||
v-model:model-value="keyword"
|
v-model:model-value="keyword"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
:title="bugId ? t('bugManagement.editBug') : t('caseManagement.featureCase.createDefect')"
|
:title="bugId ? t('bugManagement.editBug') : t('caseManagement.featureCase.createDefect')"
|
||||||
:ok-text="t('common.create')"
|
:ok-text="t('common.create')"
|
||||||
:ok-loading="drawerLoading"
|
:ok-loading="drawerLoading"
|
||||||
:width="900"
|
:width="1200"
|
||||||
:mask-closable="true"
|
:mask-closable="true"
|
||||||
unmount-on-close
|
unmount-on-close
|
||||||
:show-continue="true"
|
:show-continue="true"
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
:bug-id="bugId"
|
:bug-id="bugId"
|
||||||
:case-type="props.caseType"
|
:case-type="props.caseType"
|
||||||
:fill-config="props.fillConfig"
|
:fill-config="props.fillConfig"
|
||||||
file-name-max-width="200px"
|
file-name-max-width="300px"
|
||||||
@save-params="saveParams"
|
@save-params="saveParams"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue