瀏覽代碼

评卷老师在评卷时,可以看到对应这张试卷的客观分,并显示当前批阅试卷的ID号

xiatian 5 年之前
父節點
當前提交
3e71b0dd6c
共有 2 個文件被更改,包括 20 次插入10 次删除
  1. 12 8
      src/modules/marking/views/MarkPaperCheck.vue
  2. 8 2
      src/modules/marking/views/Marking.vue

+ 12 - 8
src/modules/marking/views/MarkPaperCheck.vue

@@ -121,10 +121,10 @@
                 style="width:150px;"
               ></el-input>
             </el-form-item>
-            <el-form-item label="试卷ID" prop="studentPaperId">
+            <el-form-item label="试卷ID" prop="examRecordDataId">
               <el-input
                 placeholder="请输入试卷ID"
-                v-model="formSearch.studentPaperId"
+                v-model="formSearch.examRecordDataId"
                 style="width:150px;"
               ></el-input>
             </el-form-item>
@@ -163,7 +163,11 @@
             border
             style="width: 100%"
           >
-            <el-table-column label="试卷ID" width="150" prop="studentPaperId" />
+            <el-table-column
+              label="试卷ID"
+              width="150"
+              prop="examRecordDataId"
+            />
             <el-table-column
               label="身份证号"
               width="150"
@@ -271,7 +275,7 @@ export default {
         workId: "",
         examType: "",
         markRemark: "",
-        studentPaperId: "",
+        examRecordDataId: "",
         identityNumber: ""
       },
       orgList: [],
@@ -337,7 +341,7 @@ export default {
         userId: "",
         examType: "",
         markRemark: "",
-        studentPaperId: "",
+        examRecordDataId: "",
         identityNumber: ""
       });
     },
@@ -454,7 +458,7 @@ export default {
             examType: this.examType,
             currentPage: this.currentPage,
             pageSize: this.pageSize,
-            studentPaperId: this.formSearch.studentPaperId,
+            examRecordDataId: this.formSearch.examRecordDataId,
             identityNumber: this.formSearch.identityNumber
           }
         });
@@ -473,7 +477,7 @@ export default {
         userId: "",
         workId: "",
         markRemark: "",
-        studentPaperId: "",
+        examRecordDataId: "",
         identityNumber: ""
       });
       this.tableData = [];
@@ -530,7 +534,7 @@ export default {
         this.formSearch.courseCode = formData.courseCode;
         this.formSearch.userId = formData.userId;
         this.formSearch.tag = formData.tag;
-        this.formSearch.studentPaperId = formData.studentPaperId;
+        this.formSearch.examRecordDataId = formData.examRecordDataId;
         this.formSearch.identityNumber = formData.identityNumber;
         this.examId = formData.examId;
         this.examType = formData.examType;

+ 8 - 2
src/modules/marking/views/Marking.vue

@@ -9,6 +9,12 @@
           <small class="marktitle titlefont">
             <span>试卷编号:{{ task.basePaperName }}</span>
           </small>
+          <small class="marktitle titlefont">
+            <span>试卷ID:{{ studentPaper.examRecordDataId }}</span>
+          </small>
+          <small class="marktitle titlefont">
+            <span>客观分:{{ studentPaper.objectiveScore }}</span>
+          </small>
           <small class="marktitle titlefont">
             <span>待评:{{ task.leftCount }}</span>
           </small>
@@ -130,9 +136,9 @@
                 script
               >
                 <el-table-column
-                  label="答卷Id"
+                  label="试卷ID"
                   width="100"
-                  prop="studentPaperId"
+                  prop="examRecordDataId"
                 />
                 <el-table-column label="得分" prop="score" />
                 <el-table-column label="评阅时间">