zhangjie 7 місяців тому
батько
коміт
76862eb68e

+ 1 - 0
card/components/CardDesign.vue

@@ -483,6 +483,7 @@ export default {
       const data = {
         title: this.cardConfig.cardTitle,
         pageSize: this.cardConfig.pageSize,
+        openAb: this.cardConfig.aOrB,
         content: model,
         htmlContent,
       };

+ 3 - 3
card/components/PagePropEdit.vue

@@ -36,11 +36,11 @@
           ></i>
         </el-button>
       </el-form-item>
-      <!-- <el-form-item label-width="0px">
+      <el-form-item label="">
         <el-checkbox v-model="form.aOrB" @change="configChange"
-          >启用A/B卷</el-checkbox
+          >启用AB卷</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">

+ 1 - 0
src/modules/card/components/CardBuildDialog.vue

@@ -374,6 +374,7 @@ export default {
         title: this.presetData.paperName,
         status: "SUBMIT",
         pageSize: this.cardConfig.pageSize,
+        openAb: this.cardConfig.aOrB,
         ...this.presetData,
       };
       const result = await saveCard(datas).catch((error) => {