diff --git a/test-track/frontend/src/business/review/view/components/TestReviewTestCaseList.vue b/test-track/frontend/src/business/review/view/components/TestReviewTestCaseList.vue
index 197623ecdd..b849ba5deb 100644
--- a/test-track/frontend/src/business/review/view/components/TestReviewTestCaseList.vue
+++ b/test-track/frontend/src/business/review/view/components/TestReviewTestCaseList.vue
@@ -38,19 +38,30 @@
@filter="search"
ref="table"
>
+
+
-
+ min-width="120px"/>-->
@@ -73,7 +84,7 @@
:field="item"
:fields-width="fieldsWidth"
:filters="priorityFilters"
- sortable="custom"
+ sortable
min-width="120px"
:label="$t('test_track.case.priority')">
@@ -193,6 +204,7 @@ import {
} from "@/api/test-review";
import {useStore} from "@/store";
import {getVersionFilters} from "@/business/utils/sdk-utils";
+import {getProjectApplicationConfig} from "@/api/project-application";
export default {
name: "TestReviewTestCaseList",
@@ -281,7 +293,8 @@ export default {
{name: this.$t('test_track.review.un_pass'), id: 'UnPass'},
]
},
- versionFilters: []
+ versionFilters: [],
+ customNum: false,
};
},
props: {
@@ -337,6 +350,7 @@ export default {
this.initTableHeader();
this.getVersionOptions();
this.getProject();
+ this.getCustomNum();
},
methods: {
nextPage() {
@@ -552,6 +566,17 @@ export default {
.then(r => this.versionFilters = r.data);
}
},
+ getCustomNum() {
+ getProjectApplicationConfig('CASE_CUSTOM_NUM')
+ .then(result => {
+ let data = result.data;
+ if (data && data.typeValue === 'true') {
+ this.customNum = true;
+ } else {
+ this.customNum = false;
+ }
+ });
+ },
}
};