mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-12-02 12:09:13 +08:00
fix(接口测试): 修复等待控制器显示状态的缺陷
--bug=1026218 --user=王孝刚 【接口测试】场景-生成报告-等待控制器显示执行结果success https://www.tapd.cn/55049933/s/1376396
This commit is contained in:
parent
2c7aede979
commit
5cb8ae30a0
@ -23,8 +23,8 @@
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<div style="float: right">
|
||||
<ms-api-report-status :status="node.totalStatus"
|
||||
v-if="node.type !=='ConstantTimer'|| node.type !=='Assertion'"/>
|
||||
<ms-api-report-status :status="node.totalStatus" v-if="node.type !=='ConstantTimer' && node.type !=='Assertion'
|
||||
&& node.children && node.children.length > 0"/>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
@ -924,15 +924,21 @@ export default {
|
||||
getProjectUsers().then((res) => {
|
||||
this.userInProject = res.data;
|
||||
//判断审核人是否在其中,如果不在则置空。
|
||||
let isExist = false;
|
||||
let isExistPer = false;
|
||||
let isExistApi = false;
|
||||
this.userInProject.forEach((item) => {
|
||||
if (item.id === this.config.performanceScriptReviewer) {
|
||||
isExist = true;
|
||||
isExistPer = true;
|
||||
}
|
||||
if (item.id === this.config.apiScriptReviewer) {
|
||||
isExistApi = true;
|
||||
}
|
||||
});
|
||||
if (!isExist) {
|
||||
this.$set(this.config, "performanceScriptReviewer", null);
|
||||
this.$set(this.config, "performanceReviewLoadTestScript", false);
|
||||
}
|
||||
if (!isExistApi) {
|
||||
this.$set(this.config, "apiScriptReviewer", null);
|
||||
this.$set(this.config, "apiReviewTestScript", false);
|
||||
}
|
||||
|
@ -19,7 +19,8 @@
|
||||
</el-col>
|
||||
<el-col :span="2">
|
||||
<div style="float: right">
|
||||
<ms-api-report-status :status="node.totalStatus" v-if="node.type !=='ConstantTimer'|| node.type !=='Assertion'"/>
|
||||
<ms-api-report-status :status="node.totalStatus" v-if="node.type !=='ConstantTimer' && node.type !=='Assertion'
|
||||
&& node.children && node.children.length > 0"/>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
|
Loading…
Reference in New Issue
Block a user