Merge branch 'master' of https://github.com/metersphere/metersphere
This commit is contained in:
commit
00af593531
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -682,8 +682,6 @@ export default {
|
|||
}
|
||||
this.dialogFormVisible = false;
|
||||
this.$emit("refresh");
|
||||
// 发送广播,刷新 head 上的最新列表
|
||||
TrackEvent.$emit(LIST_CHANGE);
|
||||
});
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue