diff --git a/frontend/src/business/components/track/review/components/TestCaseReviewEdit.vue b/frontend/src/business/components/track/review/components/TestCaseReviewEdit.vue
index b8301a29ac..904cd42a56 100644
--- a/frontend/src/business/components/track/review/components/TestCaseReviewEdit.vue
+++ b/frontend/src/business/components/track/review/components/TestCaseReviewEdit.vue
@@ -85,6 +85,9 @@
{{ $t('test_track.confirm') }}
+
+ {{ $t('test_track.planning_execution') }}
+
@@ -134,6 +137,34 @@ export default {
};
},
methods: {
+ reviewInfo(form) {
+ this.$refs['reviewForm'].validate((valid) => {
+ if (valid) {
+ let param = {};
+ Object.assign(param, this.form);
+ param.name = param.name.trim();
+ if (this.form.tags instanceof Array) {
+ this.form.tags = JSON.stringify(this.form.tags);
+ }
+ param.tags = this.form.tags;
+ if (param.name === '') {
+ this.$warning(this.$t('test_track.plan.input_plan_name'));
+ return;
+ }
+
+ if (!this.compareTime(new Date().getTime(), this.form.endTime)) {
+ return false;
+ }
+
+ this.result = this.$post('/test/case/review/' + this.operationType, param, response => {
+ this.dialogFormVisible = false;
+ this.$router.push('/track/review/view/' + response.data);
+ });
+ } else {
+ return false;
+ }
+ });
+ },
openCaseReviewEditDialog(caseReview) {
this.resetForm();
this.setReviewerOptions();
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js
index cc8af26412..7b15d6a7b1 100644
--- a/frontend/src/i18n/en-US.js
+++ b/frontend/src/i18n/en-US.js
@@ -1039,6 +1039,7 @@ export default {
test_track: "Track",
confirm: "Confirm",
cancel: "Cancel",
+ planning_execution: "Planning&Execution",
project: "Project",
save: "Save",
return: "Return",
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index de0e5423ff..c5bb583634 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -1041,6 +1041,7 @@ export default {
},
test_track: {
test_track: "测试跟踪",
+ planning_execution: "规划&执行",
confirm: "确 定",
cancel: "取 消",
project: "项目",
diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js
index b92acf43a4..7da7076b41 100644
--- a/frontend/src/i18n/zh-TW.js
+++ b/frontend/src/i18n/zh-TW.js
@@ -1041,6 +1041,7 @@ export default {
test_track: "測試跟蹤",
confirm: "確 定",
cancel: "取 消",
+ planning_execution: "規劃&執行",
project: "項目",
save: "保 存",
return: "返 回",