소스 검색

Merge branch 'develop' of SEEC-II-FrontEnd-Team/SEEC-II-FrontEnd into master

WuXinyu 7 년 전
부모
커밋
6a536db1e4
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 1 1
      src/components/CheckList/ResultCheckListItem.vue
  2. 4 3
      src/views/teacher/Review/ReviewDetail/GroupDocDetail/index.vue

+ 1 - 1
src/components/CheckList/ResultCheckListItem.vue

@@ -50,7 +50,7 @@
         <span class="state state-error" v-else>ERROR</span>
         <span class="comments">{{ checkResultItem.teacherComment }}</span>
       </div>
-      <div v-else>
+      <div v-if="isReviewing">
         <div class="line-container">
           <b-checkbox
             class="checkbox-section"

+ 4 - 3
src/views/teacher/Review/ReviewDetail/GroupDocDetail/index.vue

@@ -92,9 +92,10 @@ export default {
       const { reviewId, groupId } = this.$route.params;
       postTeacherArgueResult(reviewId, groupId, checkListItem)
         .then(() =>
-          getTeacherReviewGroupDetail(reviewId, groupId).then(
-            resp => (this.detail = resp.data)
-          )
+          getTeacherReviewGroupDetail(reviewId, groupId).then(resp => {
+            this.detail = resp.data;
+            this.reviewingId = -1;
+          })
         )
         .catch(err =>
           this.$toast.open({