zhangjie 3 лет назад
Родитель
Сommit
0f0112a9c4

+ 30 - 0
src/assets/styles/pages.scss

@@ -307,6 +307,11 @@
       p {
         display: inline;
       }
+      audio {
+        display: inline-block;
+        vertical-align: top;
+        height: 20px;
+      }
     }
     &-action {
       position: absolute;
@@ -326,6 +331,11 @@
       p {
         margin-bottom: 0;
       }
+      audio {
+        display: inline-block;
+        vertical-align: top;
+        height: 20px;
+      }
     }
   }
 
@@ -333,6 +343,11 @@
     p {
       display: inline;
     }
+    audio {
+      display: inline-block;
+      vertical-align: top;
+      height: 20px;
+    }
   }
 
   .edit-paper-questions {
@@ -478,6 +493,11 @@
     p {
       display: inline;
     }
+    audio {
+      display: inline-block;
+      vertical-align: top;
+      height: 20px;
+    }
   }
   &-question-body {
     min-height: 24px;
@@ -487,6 +507,11 @@
     p {
       margin-bottom: 0;
     }
+    audio {
+      display: inline-block;
+      vertical-align: top;
+      height: 20px;
+    }
   }
   &-question-option {
     line-height: 24px;
@@ -494,6 +519,11 @@
     p {
       display: inline;
     }
+    audio {
+      display: inline-block;
+      vertical-align: top;
+      height: 20px;
+    }
   }
 }
 .row-question-body {

+ 2 - 2
src/modules/questions/views/GenPaperDetail.vue

@@ -9,7 +9,7 @@
         <h1 class="part-box-title">组卷</h1>
         <div>
           <el-button
-            v-if="genModelType == 'A-Type'"
+            v-if="genModelType == 'M-Type'"
             type="primary"
             icon="icon icon-save-white"
             @click="confirmGenPaperMType"
@@ -851,7 +851,7 @@ export default {
               this.tempPaperIds
           )
           .then((response) => {
-            console.log("response:", response);
+            // console.log("response:", response);
             this.selectPapers = response.data.content;
             this.totalSelect = response.data.totalElements;
             this.curSelect = response.data.number + 1;

+ 3 - 1
src/modules/questions/views/InsertPaperStructure.vue

@@ -2,7 +2,9 @@
   <div class="insert-paper-structure">
     <div class="part-box">
       <div class="part-box-header">
-        <h1 class="part-box-title">精确结构创建</h1>
+        <h1 class="part-box-title">
+          {{ paperStructId ? "精确结构编辑" : "精确结构创建" }}
+        </h1>
         <div>
           <el-button
             type="primary"