Forráskód Böngészése

错题详情样式修改

liurongli 1 hónapja
szülő
commit
fc935f6480

+ 8 - 0
src/components/ReportModule.vue

@@ -320,6 +320,14 @@ defineExpose({
           font-size: 14px;
         }
       }
+      td{
+        &.is-left{
+          .cell{
+            text-align: left;
+          }
+          
+        }
+      }
       .cell {
         display: block;
         text-align: center;

+ 1 - 1
src/views/analysis/index.vue

@@ -151,7 +151,7 @@ const filtersData = ref<FilterItem[]>([
   { label: "班级类型", type: "classType", list: [], value: "" },
   { label: "班级名称", type: "className", list: [], value: "" },
 ]);
-const examId = ref("2036963589738971137");//2036963589738971137
+const examId = ref("");//2036963589738971137
 // --- 工具函数 ---
 const updateBySchool = (school: FilterOption) => {
   if (!school || !school.selectStatusVoList) return;

+ 2 - 2
src/views/exam/components/stepItem.vue

@@ -229,7 +229,7 @@ watch(examStateStr, (newVal) => {
   console.log('考试状态发生变化', newVal)
 })
 
-onMounted(() => {
+onMounted(async () => {
   // 初始化 stepOnIndex
   if (route.path.includes('scanStudentHome')) {
     
@@ -238,7 +238,7 @@ onMounted(() => {
     stepOnIndex.value = 0
    
   }
-  const res = queryQuestionGroupByAiId(examSubjectId.value)
+  const res = await queryQuestionGroupByAiId(examSubjectId.value)
   if (res.code === 200) {
     analysisStore.setIsShowGroupAnalysis(true);
   }else{