Explorar o código

添加准考证号、科目代码的条件

Michael Wang %!s(int64=3) %!d(string=hai) anos
pai
achega
5107bfd372
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/features/ImageDownload/ImageDownload.vue

+ 4 - 0
src/features/ImageDownload/ImageDownload.vue

@@ -52,6 +52,8 @@ onMounted(async () => {
         withSheetUrl: true,
         withScoreDetail: config.watermark,
         withGroupScoreTrack: config.watermark && config.trackMode,
+        examNumberIn: config.examNumber ?? "",
+        subjectCodeIn: config.subjectCode ?? "",
       });
       totalCount.value = res.data;
 
@@ -69,6 +71,8 @@ onMounted(async () => {
             withSheetUrl: true,
             withScoreDetail: config.watermark,
             withGroupScoreTrack: config.watermark && config.trackMode === "1",
+            examNumberIn: config.examNumber ?? "",
+            subjectCodeIn: config.subjectCode ?? "",
           }
         );
         students = resStudents.data;