feat(测试跟踪): 用例评审和测试计划页面优化

--story=1006527 --user=宋天阳 用例评审&测试计划页面优化
https://www.tapd.cn/55049933/s/1119938
This commit is contained in:
song-tianyang 2022-03-17 15:34:45 +08:00 committed by CountryBuilder
parent 79153da5b3
commit b6d7cdad31
4 changed files with 5 additions and 5 deletions

View File

@ -1,6 +1,6 @@
<template>
<el-form-item :label="form.stepModel === 'STEP' ? $t('test_track.case.step_describe') : $t('test_track.case.text_describe')" :label-width="labelWidth">
<el-dropdown placement="bottom-start" @command="handleCommand">
<el-dropdown placement="bottom-start" @command="handleCommand" v-if="!disable">
<span class="el-dropdown-link">
{{ $t('test_track.case.change_type') }} <i class="el-icon-arrow-down el-icon--right"/>
</span>

View File

@ -9,7 +9,7 @@
<test-case-test-relate :read-only="readOnly" :case-id="caseId" :version-enable="versionEnable" ref="relateTest"/>
</el-tab-pane>
<el-tab-pane :label="$t('test_track.related_requirements')" name="demand">
<el-tab-pane :label="$t('test_track.related_requirements')" :disabled="readOnly" name="demand">
<el-col :span="7">
<el-form-item :label="$t('test_track.related_requirements')" :label-width="labelWidth"
prop="demandId">
@ -25,7 +25,7 @@
</el-col>
</el-tab-pane>
<el-tab-pane :label="$t('test_track.case.relate_issue')" name="bug">
<el-tab-pane :label="$t('test_track.case.relate_issue')" :disabled="readOnly" name="bug">
<test-case-issue-relate
v-if="tabActiveName === 'bug'"
:plan-id="planId"

View File

@ -48,7 +48,7 @@
<el-row class="head-bar">
<el-col>
<el-divider content-position="left">
<el-button class="test-case-name" type="text" @click="openTestTestCase(testCase)">{{ testCase.name }}</el-button>
<el-button class="test-case-name" type="text" @click="openTestTestCase(testCase)">{{ testCase.num }}-{{ testCase.name }}</el-button>
</el-divider>
</el-col>
</el-row>

View File

@ -62,7 +62,7 @@
<el-col>
<el-divider content-position="left">
<el-button class="test-case-name" type="text" @click="openTestTestCase(testCase)">
{{ testCase.name }}
{{ testCase.num }}-{{ testCase.name }}
</el-button>
</el-divider>
</el-col>