소스 검색

feat: 细节调整

zhangjie 7 달 전
부모
커밋
7b33cab26d

+ 11 - 0
card/assets/styles/card-preview.scss

@@ -875,6 +875,17 @@
           padding: 16px 10px;
           text-align: center;
         }
+
+        .head-dynamic-rect {
+          margin: 0 30px;
+
+          &:first-child {
+            margin-left: 0;
+          }
+          &:last-child {
+            margin-right: 0;
+          }
+        }
       }
     }
   }

+ 9 - 0
card/assets/styles/card-temp.css

@@ -722,6 +722,15 @@
   padding: 16px 10px;
   text-align: center;
 }
+.card-head-body .head-dynamic-aorb .dynamic-aorb-rects .head-dynamic-rect {
+  margin: 0 30px;
+}
+.card-head-body .head-dynamic-aorb .head-dynamic-rect:first-child {
+  margin-left: 0;
+}
+.card-head-body .head-dynamic-aorb .head-dynamic-rect:last-child {
+  margin-right: 0;
+}
 .card-head-part {
   border: 1px solid #000;
 }

+ 2 - 2
card/components/PagePropEdit.vue

@@ -36,11 +36,11 @@
           ></i>
         </el-button>
       </el-form-item>
-      <el-form-item label-width="0px">
+      <!-- <el-form-item label-width="0px">
         <el-checkbox v-model="form.aOrB" @change="configChange"
           >启用A/B卷</el-checkbox
         >
-      </el-form-item>
+      </el-form-item> -->
       <el-form-item label="大题顺序">
         <ul class="topicno-list" v-if="topicNoSeries.length">
           <li v-for="item in topicNoSeries" :key="item.id">

파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
+ 0 - 0
card/previewTemp.js


+ 14 - 12
src/modules/exam/components/taskApply/TaskFlow.vue

@@ -332,19 +332,21 @@ export default {
     ]),
     ...mapActions("exam", ["addPreviewLog"]),
     async initData() {
-      const paperAttachments = this.curTaskApply.paperAttachmentIds
-        ? JSON.parse(this.curTaskApply.paperAttachmentIds)
-        : [];
-
       const auditLogCache = { paper: {}, card: {} };
-      paperAttachments.forEach((paper) => {
-        if (
-          paper.attachmentId &&
-          this.curTaskApply.auditContent.includes("PAPER")
-        )
-          auditLogCache.paper[paper.attachmentId] = false;
-        if (paper.cardId && this.curTaskApply.auditContent.includes("CARD"))
-          auditLogCache.card[paper.cardId] = false;
+      (this.curTaskApply.examTaskDetailList || []).map((item) => {
+        const paperAttachmentIds = item.paperAttachmentIds
+          ? JSON.parse(item.paperAttachmentIds)
+          : [];
+        paperAttachmentIds.forEach((aitem) => {
+          aitem.serialNumber = item.serialNumber;
+          if (
+            aitem.attachmentId &&
+            this.curTaskApply.auditContent.includes("PAPER")
+          )
+            auditLogCache.paper[aitem.attachmentId] = false;
+          if (aitem.cardId && this.curTaskApply.auditContent.includes("CARD"))
+            auditLogCache.card[aitem.cardId] = false;
+        });
       });
       this.setAuditLogCache(auditLogCache);
 

+ 0 - 2
src/modules/target/components/target-statistics/DetailTargetStatistics.vue

@@ -935,9 +935,7 @@ export default {
           data: dataList.map((item) => item.index),
           axisLabel: {
             color: "#6F7482",
-            interval: 0,
             fontSize: 12,
-            margin: 12,
           },
           axisLine: {
             show: true,

이 변경점에서 너무 많은 파일들이 변경되어 몇몇 파일들은 표시되지 않았습니다.