diff --git a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestReviewCaseMapper.xml b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestReviewCaseMapper.xml index b45fe51755..8bb9c97cec 100644 --- a/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestReviewCaseMapper.xml +++ b/backend/src/main/java/io/metersphere/base/mapper/ext/ExtTestReviewCaseMapper.xml @@ -115,6 +115,9 @@ test_case.custom_num ${order.type} + + test_case.num ${order.type} + test_case.priority ${order.type} diff --git a/frontend/src/business/components/track/case/components/TestCaseList.vue b/frontend/src/business/components/track/case/components/TestCaseList.vue index 4e04bbfedc..b36b19cf11 100644 --- a/frontend/src/business/components/track/case/components/TestCaseList.vue +++ b/frontend/src/business/components/track/case/components/TestCaseList.vue @@ -54,7 +54,8 @@ v-if="!customNum" :field="item" :fields-width="fieldsWidth" - prop="num" + :column-key="'num'" + :prop="'num'" sortable :label="$t('commons.id')" min-width="80"> @@ -68,7 +69,8 @@ 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 c22145ed56..3c20e25d97 100644 --- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue +++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseList.vue @@ -40,12 +40,31 @@ > + min-width="80"> + + + + + + { + let data = result.data; + if (data) { + this.$store.commit('setCurrentProjectIsCustomNum', data.caseCustomNum); + } + }); + }, buildPagePath(path) { return path + "/" + this.currentPage + "/" + this.pageSize; },