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 @Override
public void readRecord(TestPlanCaseDTO testCase) { 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); this.functionalTestCases.add(testCase);
} }
} }

View File

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

View File

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

View File

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