This commit is contained in:
fit2-zhao 2021-03-23 15:07:12 +08:00
commit 00af593531
4 changed files with 5 additions and 12 deletions

View File

@ -23,7 +23,8 @@ public class ReportFailureAdvanceResultComponent extends ReportComponent {
@Override
public void readRecord(TestPlanCaseDTO testCase) {
if (StringUtils.equals(testCase.getStatus(), TestPlanTestCaseStatus.Failure.name())) {
if (StringUtils.equals(testCase.getStatus(), TestPlanTestCaseStatus.Failure.name()) ||
StringUtils.equals(testCase.getStatus(), TestPlanTestCaseStatus.Blocking.name())) {
this.functionalTestCases.add(testCase);
}
}

View File

@ -52,10 +52,7 @@ export default {
this.defaultCheckedKeys.push(i.id)
}
)
console.log(this.defaultCheckedKeys)
console.log(this.optionalFields)
console.log(this.fieldSelected)
this.fieldSelected = items;
},
saveHeader() {
let param = {
@ -67,8 +64,8 @@ export default {
console.log(this.optionalFields)
console.log(this.fieldSelected)
this.$success(this.$t("commons.save_success"));
this.dialogTableVisible = false
this.initTableData()
this.close();
})
},
removeAt(idx) {

View File

@ -682,8 +682,6 @@ export default {
}
this.dialogFormVisible = false;
this.$emit("refresh");
// 广 head
TrackEvent.$emit(LIST_CHANGE);
});
}
} else {

View File

@ -453,15 +453,12 @@ export default {
this.initTable();
},
singleRun(row) {
if (!row.environmentId) {
this.$warning(this.$t('api_test.environment.select_environment'));
return;
}
this.runData = [];
this.rowLoading = row.id;
this.$get('/api/testcase/get/' + row.caseId, (response) => {
console.log(response.data)
let apiCase = response.data;
let request = JSON.parse(apiCase.request);
request.name = row.id;