Browse Source

scoresync

xiaofei 2 years ago
parent
commit
c08e1c8e72
1 changed files with 7 additions and 9 deletions
  1. 7 9
      src/modules/stmms/views/ScoreSync.vue

+ 7 - 9
src/modules/stmms/views/ScoreSync.vue

@@ -33,15 +33,12 @@
           width="70"
           :index="indexMethod"
         ></el-table-column>
-        <el-table-column
-          prop="examId"
-          label="考试ID"
-          min-width="100"
-        ></el-table-column>
         <el-table-column prop="examName" label="考试名称" min-width="200">
-          <span slot-scope="scope">{{
-            scope.row.examName | defaultFieldFilter
-          }}</span>
+          <span slot-scope="scope"
+            >{{ scope.row.examName | defaultFieldFilter }}({{
+              scope.row.examId
+            }})</span
+          >
         </el-table-column>
         <el-table-column prop="startTime" label="开始时间" width="170">
           <span slot-scope="scope">{{
@@ -174,7 +171,8 @@ export default {
       this.syncLoading = true;
       const res = await scoreLogSync({
         semesterId: this.filter.semesterId,
-        examId: row.examId
+        thirdRelateId: row.examId,
+        examId: this.filter.examId
       }).catch(() => {});
       this.syncLoading = false;
       if (!res) return;