feat(接口测试): 事务、条件、循环控制器内支持添加等待控制器

--story=1010042 --user=宋天阳 【接口测试】提供等待控件能拉到循环器内部
https://www.tapd.cn/55049933/s/1296237
This commit is contained in:
song-tianyang 2022-11-16 15:30:09 +08:00 committed by 建国
parent 53d3d906c7
commit af3ce00a58
2 changed files with 14 additions and 6 deletions

View File

@ -129,6 +129,7 @@ export function getAll() {
allArray = allArray.concat(PLUGIN_ELEMENTS.get('menu_non_test_elements'));
allArray = allArray.concat(PLUGIN_ELEMENTS.get('menu_generative_controller'));
allArray = allArray.concat(PLUGIN_ELEMENTS.get('menu_threads'));
allArray = allArray.concat(PLUGIN_ELEMENTS.get('menu_timer'));
return allArray;
}

View File

@ -50,22 +50,24 @@
{{ scope.row.updateTime | datetimeFormat }}
</template>
</el-table-column>
<el-table-column prop="caseTotal" :label="$t('home.new_case.relation_case')"
width="120">
<el-table-column prop="caseTotal" :label="$t('home.new_case.relation_case')" align="right" width="120">
<template v-slot:default="{row}">
<el-link style="color: #783887;width: 100%;" type="info" :underline="false"
@click="redirectPage( 'api', 'apiTestCase', 'singleList:' + row.id)">
<span style="float: right">
{{ row.caseTotal }}
</span>
</el-link>
</template>
</el-table-column>
<el-table-column prop="scenarioTotal"
:label="$t('home.new_case.relation_scenario')"
<el-table-column prop="scenarioTotal" :label="$t('home.new_case.relation_scenario')" align="right"
width="140">
<template v-slot:default="{row}">
<el-link style="color: #783887;width: 100%;" type="info"
<el-link style="color: #783887;width: 100%;" type="info" :underline="false"
@click="redirectPage('scenario', 'scenario','list:' +row.scenarioIds)">
<span style="float: right">
{{ row.scenarioTotal }}
</span>
</el-link>
</template>
</el-table-column>
@ -80,7 +82,7 @@
</template>
</el-table>
<home-table-pagination :change="search" :current-page.sync="currentPage" :page-size.sync="pageSize"
layout="prev, pager, next"
layout="prev, pager, next, sizes"
:total="total"/>
</div>
</div>
@ -166,4 +168,9 @@ export default {
.update-api-table :deep(.el-table__body tr:hover ) {
cursor: pointer;
}
.update-api-table :deep(.el-table .cell) {
padding-left: 12px;
padding-right: 12px;
}
</style>