测试详情搜索

This commit is contained in:
chenjianxing 2020-04-17 18:17:55 +08:00
parent 084e1285bf
commit eb7c2ddba0
1 changed files with 5 additions and 2 deletions

View File

@ -44,7 +44,7 @@
<el-input type="text" size="small" :placeholder="$t('load_test.search_by_name')" <el-input type="text" size="small" :placeholder="$t('load_test.search_by_name')"
prefix-icon="el-icon-search" prefix-icon="el-icon-search"
maxlength="60" maxlength="60"
v-model="condition.name" @change="initTableData" clearable/> v-model="condition.name" @change="search" clearable/>
</span> </span>
</el-col> </el-col>
</el-row> </el-row>
@ -137,7 +137,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<ms-table-pagination :change="initTableData" :current-page.sync="currentPage" :page-size.sync="pageSize" <ms-table-pagination :change="search" :current-page.sync="currentPage" :page-size.sync="pageSize"
:total="total"/> :total="total"/>
</el-card> </el-card>
@ -195,6 +195,9 @@
}); });
} }
}, },
search() {
this.initTableData();
},
buildPagePath(path) { buildPagePath(path) {
return path + "/" + this.currentPage + "/" + this.pageSize; return path + "/" + this.currentPage + "/" + this.pageSize;
}, },