diff --git a/frontend/src/business/components/track/case/components/TestCaseEdit.vue b/frontend/src/business/components/track/case/components/TestCaseEdit.vue
index 986d973a9f..8a13ff36d6 100644
--- a/frontend/src/business/components/track/case/components/TestCaseEdit.vue
+++ b/frontend/src/business/components/track/case/components/TestCaseEdit.vue
@@ -90,9 +90,9 @@
-
+
-
+
+
+
+
+
-
{{$t('test_track.case.prerequisite')}}:
@@ -237,6 +241,7 @@
method: '',
prerequisite: '',
testId: '',
+ testName:'',
steps: [{
num: 1,
desc: '',
@@ -446,6 +451,7 @@
if (this.currentProject && this.form.type != '' && this.form.type != 'functional') {
this.result = this.$get('/' + this.form.type + '/list/' + this.currentProject.id, response => {
this.testOptions = response.data;
+ this.testOptions.unshift({id:'other',name:this.$t('test_track.case.other')})
});
}
},
@@ -491,6 +497,7 @@
this.form.prerequisite = '';
this.form.remark = '';
this.form.testId = '';
+ this.form.testName='';
this.form.steps = [{
num: 1,
desc: '',
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js
index ddd0c5db19..47c0f73fec 100644
--- a/frontend/src/i18n/en-US.js
+++ b/frontend/src/i18n/en-US.js
@@ -491,6 +491,9 @@ export default {
execution_result: ": Please select the execution result",
actual_result: ": The actual result is empty",
case: {
+ input_test_case:'Please enter the associated case name',
+ test_name:'TestName',
+ other:'--Other--',
test_case: "Case",
move: "Move case",
case_list: "Test case list",
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index 3990ca7db2..d81e302ad4 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -491,6 +491,9 @@ export default {
actual_result: ": 实际结果为空",
case: {
+ input_test_case:'请输入关联用例名称',
+ test_name:'测试名称',
+ other:"--其他--",
test_case: "测试用例",
move: "移动用例",
case_list: "用例列表",
diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js
index 89513489dd..4dc05b9bbb 100644
--- a/frontend/src/i18n/zh-TW.js
+++ b/frontend/src/i18n/zh-TW.js
@@ -490,6 +490,9 @@ export default {
execution_result: ": 請選擇執行結果",
actual_result: ": 實際結果為空",
case: {
+ input_test_case:'請輸入關聯用例名稱',
+ test_name:'測試名稱',
+ other:'--其他--',
test_case: "測試用例",
move: "移動用例",
case_list: "用例列表",