fix: 注释接口性能测试(评审)

This commit is contained in:
wenyann 2021-03-18 14:43:56 +08:00
parent 21709ff323
commit 5818947ca7
3 changed files with 7 additions and 9 deletions

View File

@ -13,16 +13,16 @@
class="el-menu-demo header-menu" mode="horizontal" @select="handleSelect"
:default-active="activeIndex">
<el-menu-item index="functional">功能测试用例</el-menu-item>
<el-menu-item index="api">接口测试用例</el-menu-item>
<el-menu-item index="load">性能测试用例</el-menu-item>
<!-- <el-menu-item index="api">接口测试用例</el-menu-item>
<el-menu-item index="load">性能测试用例</el-menu-item>-->
<!-- <el-menu-item index="report">报告统计</el-menu-item>-->
</el-menu>
</template>
</ms-test-plan-header-bar>
<test-review-function v-if="activeIndex === 'functional'" :redirectCharType="redirectCharType"
:clickType="clickType" :review-id="reviewId"></test-review-function>
<test-review-api v-if="activeIndex === 'api'" :review-id="reviewId"></test-review-api>
<test-review-load v-if="activeIndex === 'load'" :review-id="reviewId"></test-review-load>
<!-- <test-review-api v-if="activeIndex === 'api'" :review-id="reviewId"></test-review-api>
<test-review-load v-if="activeIndex === 'load'" :review-id="reviewId"></test-review-load>-->
</div>

View File

@ -82,10 +82,6 @@
</el-container>
<template v-slot:footer>
<div style="margin-bottom: 15px">
<el-checkbox v-model="checked">同步添加关联的接口和性能测试</el-checkbox>
</div>
<ms-dialog-footer @cancel="dialogFormVisible = false" @confirm="saveReviewRelevance"/>
</template>
@ -203,7 +199,9 @@ export default {
param.reviewId = this.reviewId;
param.testCaseIds = [...this.selectIds];
param.request = this.condition;
/*
param.checked = this.checked;
*/
//
if (this.testReviews.length === param.testCaseIds.length) {
param.testCaseIds = ['all'];

View File

@ -1,6 +1,6 @@
<template>
<div class="card-container">
<ms-table-header :is-,tester-permission="true" :condition.sync="condition" @search="initTableData"
<ms-table-header :tester-permission="true" :condition.sync="condition" @search="initTableData"
:show-create="false" :tip="$t('commons.search_by_name_or_id')">
<template v-slot:button>
<ms-table-button :is-tester-permission="true" icon="el-icon-video-play"