Browse Source

修改创建专项答题的参数名,轮播提关联文章弹框的高度固定

huangtao 3 years ago
parent
commit
c67e857cc8

+ 1 - 1
src/views/answerManagement/answerManagementSpecial.vue

@@ -541,7 +541,7 @@ export default {
           let params = {
             name: that.specialName,
             questionList: that.current_tableData,
-            engineerTypeId: [that.engineeringWork],
+            engineerTypes: [that.engineeringWork],
           };
           that.$_http
             .post(

+ 8 - 2
src/views/articleManagement/articleCarouselUpload.vue

@@ -81,7 +81,7 @@
       :maskClosable="false"
       @cancel="handleCloseDialog"
     >
-      <div>
+      <div ref="filterCard">
         <!-- 过滤条件栏目 -->
         <div>
           <div class="filter-condition-box">
@@ -142,12 +142,17 @@
           </div>
         </div>
       </div>
-      <div class="a-card-margin-top">
+      <div
+        class="a-card-margin-top"
+        ref="dialogTableBox"
+        :style="{ height: tableHeight + 'px' }"
+      >
         <a-table
           :columns="columns"
           :row-key="(record) => record.id"
           :data-source="tableData"
           :pagination="false"
+          :scroll="{ y: tableHeight - 32 }"
         >
           <a
             slot="action"
@@ -202,6 +207,7 @@ export default {
         total: 0,
       }, // 分页参数
       searchInputVal: '', // 搜索name
+      tableHeight: 500,
     };
   },
   created() {