style(接口测试): 文档断言加入到场景步骤中显示不全问题修复
--bug=1018432 --user=赵勇 【接口测试】接口场景-文档结构断言,在小屏上无法删除 https://www.tapd.cn/55049933/s/1270100
This commit is contained in:
parent
2c58d642c0
commit
67e5b0748e
|
@ -1,6 +1,6 @@
|
||||||
<template>
|
<template>
|
||||||
<ms-container>
|
<ms-container>
|
||||||
<ms-aside-container :height="'calc(100vh - 90px)'">
|
<ms-aside-container :height="'calc(100vh - 20px)'">
|
||||||
<div @click="showAll" style="overflow-x: hidden">
|
<div @click="showAll" style="overflow-x: hidden">
|
||||||
<div class="tip">{{ $t('test_track.plan_view.base_info') }}</div>
|
<div class="tip">{{ $t('test_track.plan_view.base_info') }}</div>
|
||||||
<el-form :model="currentScenario" label-position="right" label-width="80px" size="small" :rules="rules"
|
<el-form :model="currentScenario" label-position="right" label-width="80px" size="small" :rules="rules"
|
||||||
|
|
|
@ -75,7 +75,7 @@
|
||||||
</template>
|
</template>
|
||||||
<!--请求内容-->
|
<!--请求内容-->
|
||||||
<template v-slot:request>
|
<template v-slot:request>
|
||||||
<legend style="width: 100%;">
|
<legend style="width: 100%;display:table-column">
|
||||||
<div v-if="!ifFromVariableAdvance">
|
<div v-if="!ifFromVariableAdvance">
|
||||||
<customize-req-info :is-customize-req="isCustomizeReq" :request="request" @setDomain="setDomain"/>
|
<customize-req-info :is-customize-req="isCustomizeReq" :request="request" @setDomain="setDomain"/>
|
||||||
<p class="tip">{{ $t('api_test.definition.request.req_param') }} </p>
|
<p class="tip">{{ $t('api_test.definition.request.req_param') }} </p>
|
||||||
|
|
|
@ -233,7 +233,7 @@ export default {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.scenario && this.scenario.hashTree && this.node.expanded) {
|
if (this.scenario && this.scenario.hashTree && this.node.expanded) {
|
||||||
this.recursive(this.scenario.hashTree, this.scenario.projectId, false);
|
this.recursive(this.scenario.hashTree, this.scenario.projectId, (this.scenario.id && this.scenario.referenced === 'REF'));
|
||||||
}
|
}
|
||||||
this.reload();
|
this.reload();
|
||||||
},
|
},
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
:if-from-variable-advance="ifFromVariableAdvance"
|
:if-from-variable-advance="ifFromVariableAdvance"
|
||||||
:title="title" v-loading="loading">
|
:title="title" v-loading="loading">
|
||||||
<!--自定义脚本-->
|
<!--自定义脚本-->
|
||||||
<legend style="width: 100%" v-if="request && this.request.type === 'JSR223Processor'">
|
<legend style="width: 100%;display:table-column" v-if="request && this.request.type === 'JSR223Processor'">
|
||||||
<p class="ms-tip">{{ $t('api_test.definition.request.req_param') }} </p>
|
<p class="ms-tip">{{ $t('api_test.definition.request.req_param') }} </p>
|
||||||
<el-tabs v-model="activeName" class="request-tabs" @tab-click="tabClick">
|
<el-tabs v-model="activeName" class="request-tabs" @tab-click="tabClick">
|
||||||
<!-- 请求头-->
|
<!-- 请求头-->
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
:title="pluginName">
|
:title="pluginName">
|
||||||
|
|
||||||
<template v-slot:request>
|
<template v-slot:request>
|
||||||
<legend style="width: 100%">
|
<legend style="width: 100%;display:table-column">
|
||||||
<p class="tip">{{ $t('api_test.definition.request.req_param') }} </p>
|
<p class="tip">{{ $t('api_test.definition.request.req_param') }} </p>
|
||||||
<el-tabs v-model="activeName" class="request-tabs" @tab-click="tabClick">
|
<el-tabs v-model="activeName" class="request-tabs" @tab-click="tabClick">
|
||||||
<!-- 请求头-->
|
<!-- 请求头-->
|
||||||
|
|
|
@ -28,7 +28,7 @@
|
||||||
v-loading="loading"
|
v-loading="loading"
|
||||||
ref="table">
|
ref="table">
|
||||||
|
|
||||||
<el-table-column prop="name" :label="$t('api_test.definition.request.esb_table.name')" width="230">
|
<el-table-column prop="name" :label="$t('api_test.definition.request.esb_table.name')" width="230" fixed="left">
|
||||||
<template slot-scope="scope">
|
<template slot-scope="scope">
|
||||||
<el-input
|
<el-input
|
||||||
v-if="(scope.row.status && scope.column.fixed && scope.row.id!=='root') || (scope.row.type !=='object' && !scope.row.name)"
|
v-if="(scope.row.status && scope.column.fixed && scope.row.id!=='root') || (scope.row.type !=='object' && !scope.row.name)"
|
||||||
|
|
Loading…
Reference in New Issue