xiatian преди 2 години
родител
ревизия
399ba47570
променени са 2 файла, в които са добавени 4 реда и са изтрити 2 реда
  1. 1 1
      src/modules/questions/views/CheckDuplicateList.vue
  2. 3 1
      src/modules/questions/views/EditPaperPendingTrial.vue

+ 1 - 1
src/modules/questions/views/CheckDuplicateList.vue

@@ -409,7 +409,7 @@ export default {
       this.loading = true;
       this.$http.get(url, { params: this.formSearch }).then((response) => {
         this.tableData = response.data.content;
-        this.currentPage = response.data.number + 1;
+        this.currentPage = response.data.number;
         this.total = response.data.totalElements;
         this.loading = false;
       });

+ 3 - 1
src/modules/questions/views/EditPaperPendingTrial.vue

@@ -1177,7 +1177,7 @@
       <PaperBlue
         v-if="blueDialog"
         :paper-id="paperId"
-        :course-code="paper.course.code"
+        :course-id="paper.course.id"
       ></PaperBlue>
     </el-dialog>
     <!-- 审核记录 -->
@@ -1256,6 +1256,7 @@ export default {
       parentView: "",
       paper: {
         course: {
+          id: "",
           code: "",
           name: "",
         },
@@ -1862,6 +1863,7 @@ export default {
       this.loading = true;
       this.paper = {
         course: {
+          id: "",
           code: "",
           name: "",
         },