{{$t('commons.cancel')}}
+ {{ $t('commons.cancel') }}
- {{$t('api_report.title')}}
+ {{ $t('api_report.title') }}
- {{$t('api_test.create_performance_test')}}
+ {{ $t('api_test.create_performance_test') }}
- {{$t('api_test.export_config')}}
+ {{ $t('api_test.export_config') }}
- {{$t('api_test.api_import.label')}}
+ {{ $t('api_test.api_import.label') }}
@@ -52,10 +52,12 @@
-
+
-
+
@@ -63,274 +65,279 @@
diff --git a/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue b/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue
index af7e5736b0..e50d70dc37 100644
--- a/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue
+++ b/frontend/src/business/components/performance/test/EditPerformanceTestPlan.vue
@@ -60,6 +60,7 @@ import MsContainer from "../../common/components/MsContainer";
import MsMainContainer from "../../common/components/MsMainContainer";
import {checkoutTestManagerOrTestUser} from "../../../../common/js/utils";
import MsScheduleConfig from "../../common/components/MsScheduleConfig";
+import {LIST_CHANGE, PerformanceEvent} from "@/business/components/common/head/ListEvent";
export default {
name: "EditPerformanceTestPlan",
@@ -172,6 +173,8 @@ export default {
this.$success(this.$t('commons.save_success'));
this.$refs.advancedConfig.cancelAllEdit();
this.$router.push({path: '/performance/test/all'})
+ // 发送广播,刷新 head 上的最新列表
+ PerformanceEvent.$emit(LIST_CHANGE);
});
},
saveAndRun() {
@@ -187,6 +190,8 @@ export default {
this.result = this.$post(this.runPath, {id: this.testPlan.id, triggerMode: 'MANUAL'}, (response) => {
let reportId = response.data;
this.$router.push({path: '/performance/report/view/' + reportId})
+ // 发送广播,刷新 head 上的最新列表
+ PerformanceEvent.$emit(LIST_CHANGE);
})
});
},
diff --git a/frontend/src/business/components/track/case/components/TestCaseEdit.vue b/frontend/src/business/components/track/case/components/TestCaseEdit.vue
index f3a96dc71c..bb33f1b561 100644
--- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue
+++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue
@@ -3,8 +3,8 @@
+ :title="operationType == 'edit' ? ( readOnly ? $t('test_track.case.view_case') : $t('test_track.case.edit_case')) : $t('test_track.case.create')"
+ :visible.sync="dialogFormVisible" width="65%">
@@ -92,7 +92,7 @@
-
-
+
- {{$t('test_track.case.prerequisite')}}:
+ {{ $t('test_track.case.prerequisite') }}:
@@ -125,7 +125,7 @@
- {{$t('test_track.case.steps')}}:
+ {{ $t('test_track.case.steps') }}:
@@ -187,7 +187,7 @@
- {{$t('commons.remark')}}:
+ {{ $t('commons.remark') }}:
@@ -222,302 +222,305 @@
diff --git a/frontend/src/business/components/track/plan/components/TestPlanEdit.vue b/frontend/src/business/components/track/plan/components/TestPlanEdit.vue
index ce53fa9057..b51d0de096 100644
--- a/frontend/src/business/components/track/plan/components/TestPlanEdit.vue
+++ b/frontend/src/business/components/track/plan/components/TestPlanEdit.vue
@@ -92,12 +92,12 @@
@@ -110,116 +110,119 @@