diff --git a/backend/src/main/java/io/metersphere/track/service/TestReviewTestCaseService.java b/backend/src/main/java/io/metersphere/track/service/TestReviewTestCaseService.java
index 89362dca7e..ab6d852dfe 100644
--- a/backend/src/main/java/io/metersphere/track/service/TestReviewTestCaseService.java
+++ b/backend/src/main/java/io/metersphere/track/service/TestReviewTestCaseService.java
@@ -110,12 +110,6 @@ public class TestReviewTestCaseService {
MSException.throwException("非此用例的评审人员!");
}
- TestCaseReview testCaseReview = testCaseReviewMapper.selectByPrimaryKey(reviewId);
- Long endTime = testCaseReview.getEndTime();
- if (System.currentTimeMillis() > endTime) {
- MSException.throwException("此用例评审已到截止时间!");
- }
-
// 记录测试用例评审状态变更
testCaseReviewTestCase.setStatus(testCaseReviewTestCase.getStatus());
testCaseReviewTestCase.setReviewer(SessionUtils.getUser().getId());
diff --git a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue
index b03372812f..500004fbdf 100644
--- a/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue
+++ b/frontend/src/business/components/track/review/view/components/TestReviewTestCaseEdit.vue
@@ -38,10 +38,12 @@
@click="handleNext()"/>
-
+
{{ $t('test_track.review.pass') }}
-
+
{{ $t('test_track.review.un_pass') }}
@@ -290,6 +292,10 @@ export default {
this.$success(this.$t('commons.save_success'));
this.updateTestCases(param);
this.setReviewStatus(this.testCase.reviewId);
+ // 修改当前用例的评审状态
+ this.testCase.reviewStatus = status;
+ // 修改当前用例在整个用例列表的状态
+ this.testCases[this.index].reviewStatus = status;
});
},
updateTestCases(param) {