Commit 4bf38995 4bf389954c9b0b759ce681aae91b22d167075d0b by zhanghao

commit

1 parent 060cca27
<template xmlns:el-col="http://www.w3.org/1999/html">
<div>
<br/>
<span>查询接口测试用例验证结果</span>
<span>接口请求参数测试次数</span>
<el-table
:data="baseReports"
border
style="width: 100%"
:header-cell-style="{background: 'deepskyblue', color: 'snow'}">
<el-table-column
prop="method"
label="接口名称"
min-width="3">
</el-table-column>
<el-table-column
prop="tcDescribe"
label="请求参数"
min-width="5">
</el-table-column>
<el-table-column
prop="tcSuccess"
label="测试次数"
min-width="1">
</el-table-column>
</el-table>
<br/>
<br/>
<span>测试用例验证结果</span>
<el-table
:data="bigdataReports"
border
......@@ -44,6 +68,7 @@
data() {
return {
project: this.$route.query.project,
baseReports: [],
bigdataReports: []
}
},
......@@ -76,6 +101,7 @@
project: this.project
}),config).then((res)=>{
console.log(res.data)
this.baseReports=res.data.baseReports
this.bigdataReports=res.data.bigdataReports
loading.close();
}).catch(error=>{
......