diff --git a/frontend/src/business/components/track/case/components/ReviewStatus.vue b/frontend/src/business/components/track/case/components/ReviewStatus.vue new file mode 100644 index 0000000000..87882ffe74 --- /dev/null +++ b/frontend/src/business/components/track/case/components/ReviewStatus.vue @@ -0,0 +1,25 @@ + + + + + diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index a3a974a9b3..b37550b99d 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -107,7 +107,7 @@ :label="$t('test_track.case.status')"> @@ -174,6 +174,7 @@ import {LIST_CHANGE, TrackEvent} from "@/business/components/common/head/ListEvent"; import StatusTableItem from "@/business/components/track/common/tableItems/planview/StatusTableItem"; import TestCaseDetail from "./TestCaseDetail"; + import ReviewStatus from "@/business/components/track/case/components/ReviewStatus"; export default { name: "TestCaseList", components: { @@ -192,7 +193,8 @@ ShowMoreBtn, BatchEdit, StatusTableItem, - TestCaseDetail + TestCaseDetail, + ReviewStatus }, data() { return { @@ -222,9 +224,9 @@ {text: this.$t('commons.api'), value: 'api'} ], statusFilters: [ - {text: this.$t('test_track.plan.plan_status_prepare'), value: 'Prepare'}, - {text: this.$t('test_track.plan_view.pass'), value: 'Pass'}, - {text: '未通过', value: 'UnPass'}, + {text: this.$t('test_track.case.status_prepare'), value: 'Prepare'}, + {text: this.$t('test_track.case.status_pass'), value: 'Pass'}, + {text: this.$t('test_track.case.status_un_pass'), value: 'UnPass'}, ], showMore: false, buttons: [ diff --git a/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue b/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue index 8b7cb45dc0..7c46ed3fb6 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewRelevance.vue @@ -68,7 +68,7 @@ :label="$t('test_track.case.status')" show-overflow-tooltip> @@ -101,6 +101,7 @@ import SwitchProject from "../../../case/components/SwitchProject"; import {TEST_CASE_CONFIGS} from "../../../../common/components/search/search-components"; import {_filter} from "../../../../../../common/js/utils"; import StatusTableItem from "@/business/components/track/common/tableItems/planview/StatusTableItem"; +import ReviewStatus from "@/business/components/track/case/components/ReviewStatus"; export default { name: "TestReviewRelevance", @@ -113,7 +114,8 @@ export default { MsTableAdvSearchBar, MsTableHeader, SwitchProject, - StatusTableItem + StatusTableItem, + ReviewStatus }, data() { return { diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue index e4acd96f0a..6d0da9dfb0 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue @@ -109,7 +109,7 @@ :label="$t('test_track.review_view.execute_result')"> @@ -169,6 +169,7 @@ import {_filter, _sort, checkoutTestManagerOrTestUser, hasRoles} from "../../../ import {TEST_CASE_CONFIGS} from "../../../../common/components/search/search-components"; import {ROLE_TEST_MANAGER, ROLE_TEST_USER} from "../../../../../../common/js/constants"; import TestReviewTestCaseEdit from "./TestReviewTestCaseEdit"; +import ReviewStatus from "@/business/components/track/case/components/ReviewStatus"; export default { name: "TestReviewTestCaseList", @@ -176,7 +177,7 @@ export default { MsTableOperatorButton, MsTableOperator, MethodTableItem, TypeTableItem, StatusTableItem, PriorityTableItem, StatusEdit, ExecutorEdit, MsTipButton, TestReviewTestCaseEdit, MsTableHeader, - NodeBreadcrumb, MsTableButton, ShowMoreBtn, BatchEdit, MsTablePagination + NodeBreadcrumb, MsTableButton, ShowMoreBtn, BatchEdit, MsTablePagination, ReviewStatus }, data() { return { diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index 0fa27d7b0d..5f8a45e0e7 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -714,8 +714,8 @@ export default { batch_delete_case: 'Batch delete', batch_unlink: 'Batch Unlink', project_name: "Project", - status: 'Status', - status_prepare: 'Prepare', + status: 'Review Status', + status_prepare: 'Not reviewed', status_pass: 'Pass', status_un_pass: 'UnPass', cancel_relevance_project: "Disassociating the project will also cancel the associated test cases under the project", diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 6ca3aa5277..9746c62a37 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -716,8 +716,8 @@ export default { batch_delete_case: '批量删除用例', batch_unlink: '批量取消关联', project_name: '所属项目', - status: '状态', - status_prepare: '未开始', + status: '评审状态', + status_prepare: '未评审', status_pass: '通过', status_un_pass: '未通过', cancel_relevance_project: "取消项目关联会同时取消该项目下已关联的测试用例", diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index 0619038219..f8ba87bd57 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -716,8 +716,8 @@ export default { batch_delete_case: '批量刪除用例', batch_unlink: '批量取消關聯', project_name: '所屬項目', - status: '狀態', - status_prepare: '未開始', + status: '評審狀態', + status_prepare: '未評審', status_pass: '通過', status_un_pass: '未通過', cancel_relevance_project: "取消項目關聯會同時取消該項目下已關聯的測試用例",