refactor(接口测试): tcp协议前后置sql配置页面显示错位的缺陷
--bug=1011632 --user=王孝刚 【接口测试】tcp协议-前/后置sql配置页面显示错位 https://www.tapd.cn/55049933/s/1125289
This commit is contained in:
parent
25ae00ee65
commit
c0eb1251d8
|
@ -6,7 +6,7 @@
|
|||
</div>
|
||||
<el-card class="card-content">
|
||||
|
||||
<el-form :model="api" :rules="rules" ref="apiData" :inline="true" label-position="right">
|
||||
<el-form :model="api" :rules="rules" ref="apiData" :inline="true" label-position="right" style="height: 100%">
|
||||
|
||||
<!-- 操作按钮 -->
|
||||
<el-dropdown split-button type="primary" class="ms-api-buttion" @click="handleCommand('add')"
|
||||
|
@ -31,7 +31,7 @@
|
|||
{{ $t('api_test.definition.request.run_env') }}:
|
||||
<environment-select :type="'TCP'" :current-data="api" :project-id="projectId" ref="environmentSelect"/>
|
||||
</el-form-item>
|
||||
|
||||
</el-form>
|
||||
|
||||
<!-- TCP 请求参数 -->
|
||||
<div v-if="api.method=='TCP'" v-loading="loading">
|
||||
|
@ -48,7 +48,7 @@
|
|||
<esb-definition v-xpack v-if="showXpackCompnent" :show-script="true" :request="api.request"
|
||||
@callback="runTest" ref="requestForm"/>
|
||||
</div>
|
||||
</el-form>
|
||||
|
||||
|
||||
<div v-if="api.method=='ESB'">
|
||||
<p class="tip">{{ $t('api_test.definition.request.res_param') }}</p>
|
||||
|
|
|
@ -305,6 +305,7 @@ export default {
|
|||
if (this.request.disabled) {
|
||||
jdbcPreProcessor.label = 'SCENARIO-REF-STEP';
|
||||
}
|
||||
jdbcPreProcessor.active = false;
|
||||
this.request.hashTree.push(jdbcPreProcessor);
|
||||
this.sort();
|
||||
this.reload();
|
||||
|
@ -317,6 +318,7 @@ export default {
|
|||
if (this.request.disabled) {
|
||||
jdbcPostProcessor.label = 'SCENARIO-REF-STEP';
|
||||
}
|
||||
jdbcPostProcessor.active = false;
|
||||
this.request.hashTree.push(jdbcPostProcessor);
|
||||
this.sort();
|
||||
this.reload();
|
||||
|
|
|
@ -360,7 +360,7 @@ export default {
|
|||
this.result.loading = true;
|
||||
this.fields = getTableHeaderWithCustomFields(this.tableHeaderKey, []);
|
||||
this.result.loading = false;
|
||||
this.$refs.table.reloadTable();
|
||||
setTimeout(this.$refs.table.reloadTable(), 500);
|
||||
},
|
||||
customHeader() {
|
||||
const list = deepClone(this.tableLabel);
|
||||
|
@ -388,8 +388,8 @@ export default {
|
|||
this.tableData = data.listObject;
|
||||
|
||||
});
|
||||
setTimeout(this.$refs.table.reloadTable(), 200);
|
||||
}
|
||||
setTimeout(this.$refs.table.reloadTable(), 500);
|
||||
},
|
||||
getNexPageData() {
|
||||
getTestReviewTestCase(this.currentPage * this.pageSize + 1, 1, this.condition, (data) => {
|
||||
|
|
Loading…
Reference in New Issue