fix(测试计划): 去除执行页面无用的字段展示

This commit is contained in:
shiziyuan9527 2021-03-22 21:24:50 +08:00
parent 2fb76d69e8
commit 6fe9101144
1 changed files with 2 additions and 13 deletions

View File

@ -48,10 +48,8 @@
<span class="cast_item">{{ testCase.priority }}</span> <span class="cast_item">{{ testCase.priority }}</span>
</el-col> </el-col>
<el-col :span="5"> <el-col :span="5">
<span class="cast_label">{{ $t('test_track.case.case_type') }}</span> <span class="cast_label">{{ $t('test_track.case.module') }}</span>
<span class="cast_item" v-if="testCase.type === 'functional'">{{ $t('commons.functional') }}</span> <span class="cast_item">{{ testCase.nodePath }}</span>
<span class="cast_item" v-if="testCase.type === 'performance'">{{ $t('commons.performance') }}</span>
<span class="cast_item" v-if="testCase.type === 'api'">{{ $t('commons.api') }}</span>
</el-col> </el-col>
<el-col :span="10"> <el-col :span="10">
<test-plan-test-case-status-button class="status-button" <test-plan-test-case-status-button class="status-button"
@ -63,15 +61,6 @@
</el-row> </el-row>
<el-row> <el-row>
<el-col :span="4" :offset="1">
<span class="cast_label">{{ $t('test_track.case.method') }}</span>
<span v-if="testCase.method === 'manual'">{{ $t('test_track.case.manual') }}</span>
<span v-if="testCase.method === 'auto'">{{ $t('test_track.case.auto') }}</span>
</el-col>
<el-col :span="5">
<span class="cast_label">{{ $t('test_track.case.module') }}</span>
<span class="cast_item">{{ testCase.nodePath }}</span>
</el-col>
<el-col :span="4" :offset="1"> <el-col :span="4" :offset="1">
<span class="cast_label">{{ $t('test_track.plan.plan_project') }}</span> <span class="cast_label">{{ $t('test_track.plan.plan_project') }}</span>
<span class="cast_item">{{ testCase.projectName }}</span> <span class="cast_item">{{ testCase.projectName }}</span>