diff --git a/frontend/src/business/components/common/components/MsTableHeader.vue b/frontend/src/business/components/common/components/MsTableHeader.vue
index 5f6c227456..e48db2f2b0 100644
--- a/frontend/src/business/components/common/components/MsTableHeader.vue
+++ b/frontend/src/business/components/common/components/MsTableHeader.vue
@@ -17,7 +17,7 @@
-
+
@@ -65,6 +65,12 @@
isTesterPermission: {
type: Boolean,
default: false
+ },
+ tip: {
+ String,
+ default() {
+ return this.$t('commons.search_by_name');
+ }
}
},
methods: {
diff --git a/frontend/src/business/components/common/components/MsTableSearchBar.vue b/frontend/src/business/components/common/components/MsTableSearchBar.vue
index dfa1584494..788b25bdc4 100644
--- a/frontend/src/business/components/common/components/MsTableSearchBar.vue
+++ b/frontend/src/business/components/common/components/MsTableSearchBar.vue
@@ -4,7 +4,7 @@
class="search"
type="text"
size="small"
- :placeholder="$t('commons.search_by_name')"
+ :placeholder="tip"
prefix-icon="el-icon-search"
@change="search"
maxlength="60"
@@ -18,6 +18,12 @@
props: {
condition: {
type: Object
+ },
+ tip: {
+ String,
+ default() {
+ return this.$t('commons.search_by_name');
+ }
}
},
methods: {
diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue
index 543f5bcee9..ee0ac0f9b4 100644
--- a/frontend/src/business/components/track/case/components/TestCaseList.vue
+++ b/frontend/src/business/components/track/case/components/TestCaseList.vue
@@ -4,7 +4,7 @@
-
diff --git a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue
index aebcecb982..d9ab742e7e 100644
--- a/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue
+++ b/frontend/src/business/components/track/plan/view/comonents/TestPlanTestCaseEdit.vue
@@ -497,7 +497,10 @@
this.result = this.$post("/issues/add", param, () => {
this.$success(this.$t('commons.save_success'));
this.getIssues(param.testCaseId);
- })
+ });
+ this.issuesSwitch = false;
+ this.testCase.issues.title = "";
+ this.testCase.issues.content = "";
},
getIssues(caseId) {
this.result = this.$get("/issues/get/" + caseId, response => {
diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js
index 3a4de71e7a..91b91c2bc3 100644
--- a/frontend/src/i18n/en-US.js
+++ b/frontend/src/i18n/en-US.js
@@ -60,6 +60,7 @@ export default {
not_filled: 'Not filled',
please_select: 'Please select',
search_by_name: 'Search by name',
+ search_by_name_or_id: 'Search by name or id',
personal_information: 'Personal Information',
exit_system: 'Exit System',
verification: 'Verification',
diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js
index 4f66dd0c7d..5d54f71902 100644
--- a/frontend/src/i18n/zh-CN.js
+++ b/frontend/src/i18n/zh-CN.js
@@ -60,6 +60,7 @@ export default {
not_filled: '未填写',
please_select: '请选择',
search_by_name: '根据名称搜索',
+ search_by_name_or_id: '根据ID或名称搜索',
personal_information: '个人信息',
exit_system: '退出系统',
verification: '验证',
diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js
index 11e685dfb4..2f458fd823 100644
--- a/frontend/src/i18n/zh-TW.js
+++ b/frontend/src/i18n/zh-TW.js
@@ -60,6 +60,7 @@ export default {
not_filled: '未填寫',
please_select: '請選擇',
search_by_name: '根據名稱搜索',
+ search_by_name_or_id: '根據ID或名稱搜索',
personal_information: '個人信息',
exit_system: '退出系統',
verification: '驗證',