fix(接口定义): 修复场景关联case搜索失效的缺陷

--bug=1015321 --user=王孝刚 【接口测试】github#16228,接口自动化场景导入CASE时,检索CASE名称失效
https://www.tapd.cn/55049933/s/1210530
This commit is contained in:
wxg0103 2022-07-25 17:00:22 +08:00 committed by fit2-zhao
parent 994f4b8d07
commit 4dc3af4e06
1 changed files with 6 additions and 3 deletions

View File

@ -1,8 +1,8 @@
<template>
<div v-loading="result.loading">
<api-list-container
:is-api-list-enable="isApiListEnable"
@isApiListEnableChange="isApiListEnableChange">
:is-api-list-enable="isApiListEnable"
@isApiListEnableChange="isApiListEnableChange">
<template>
<slot name="version"></slot>
@ -11,7 +11,7 @@
<ms-environment-select :project-id="projectId" v-if="isTestPlan || isScript" :is-read-only="isReadOnly"
@setEnvironment="setEnvironment" ref="msEnvironmentSelect"/>
<el-input :placeholder="$t('commons.search_by_name_or_id')" @change="initTable"
<el-input :placeholder="$t('commons.search_by_name_or_id')" @change="change"
class="search-input" size="small" v-model="condition.name"/>
<ms-table-adv-search-bar :condition.sync="condition" class="adv-search-bar"
v-if="condition.components !== undefined && condition.components.length > 0"
@ -236,6 +236,9 @@ export default {
selectCountChange(data) {
this.$emit('selectCountChange', data);
},
change() {
this.initTable();
},
initTable(projectId) {
this.condition.status = "";
this.condition.moduleIds = this.selectNodeIds;