fix(接口自动化): 修复集合报告失败问题

This commit is contained in:
fit2-zhao 2021-04-30 15:11:24 +08:00 committed by fit2-zhao
parent d1a9368f9f
commit 66051ee558
4 changed files with 25 additions and 5 deletions

View File

@ -0,0 +1 @@
ALTER TABLE api_scenario_report MODIFY COLUMN scenario_name VARCHAR(3000);

View File

@ -43,11 +43,11 @@
<el-form-item :label="$t('api_test.request.sql.result_variable')" prop="resultVariable">
<el-input v-model="request.resultVariable" maxlength="300" show-word-limit size="small"/>
<el-input v-model="request.resultVariable" maxlength="500" show-word-limit size="small"/>
</el-form-item>
<el-form-item :label="$t('api_test.request.sql.variable_names')" prop="variableNames">
<el-input v-model="request.variableNames" maxlength="300" show-word-limit size="small"/>
<el-input v-model="request.variableNames" maxlength="500" show-word-limit size="small"/>
</el-form-item>
<el-tabs v-model="activeName">

View File

@ -32,7 +32,16 @@
<span v-if="!disabled" class="node-operate child">
<el-tooltip
v-if="data.id != 'root' && data.name !='默认模块'"
v-if="data.id !== 'root' && data.name !=='默认模块'"
class="item"
effect="dark"
:open-delay="200"
:content="$t('test_track.module.rename')"
placement="top">
<i @click.stop="edit(node, data)" class="el-icon-edit"></i>
</el-tooltip>
<el-tooltip
v-if="data.name ==='默认模块' && data.level !==1"
class="item"
effect="dark"
:open-delay="200"
@ -48,8 +57,18 @@
placement="top">
<i @click.stop="append(node, data)" class="el-icon-circle-plus-outline"></i>
</el-tooltip>
<el-tooltip
v-if="data.id != 'root' && data.name !='默认模块'"
v-if="data.name ==='默认模块' && data.level !==1"
class="item" effect="dark"
:open-delay="200"
:content="$t('commons.delete')"
placement="top">
<i @click.stop="remove(node, data)" class="el-icon-delete"></i>
</el-tooltip>
<el-tooltip
v-if="data.id !== 'root' && data.name !=='默认模块'"
class="item" effect="dark"
:open-delay="200"
:content="$t('commons.delete')"

@ -1 +1 @@
Subproject commit e50f0463826ac4d7837ea3a237333827774a1b19
Subproject commit e7709b9a340394e78610b91105b2cec0f1b8289d