wangyingjie 2 лет назад
Родитель
Сommit
8ffa2dfc8e
1 измененных файлов с 4 добавлено и 7 удалено
  1. 4 7
      src/view/mst/dictionary/index.vue

+ 4 - 7
src/view/mst/dictionary/index.vue

@@ -28,17 +28,14 @@
     <div>
 
       <!--  列表区  -->
-      <div :style="'height: ' + tableHeight + 'px'" class="split-div-class">
+      <div :style="'height: ' + (tableHeight - 65)+ 'px'"  class="split-div-class">
         <DkSplit v-model="split">
           <!-- 左边部分   -->
           <DkTable slot="left"
                    ref="leftTable"
                    :data="searchInfo"
-                   :height="tableHeight"
-                   :page-flag="false"
-                   :page-total-flag="false"
-                   :show-setting-flag="false"
-                   :freeze="false"
+                   :pageFlag="false"
+                   :height="this.tableHeight - 65" primaryKey="uniqueId"
                    :choose-flag="false"
                    @current-change="currentChangeEvent($event)">
             <DkTableColumn :title="$t('dictionary')" field="dictName"
@@ -49,7 +46,7 @@
                    :page-total="pageInfo.total"
                    :current-page="pageInfo.currentPage"
                    :choose-flag="false"
-                   :height="this.tableHeight" primaryKey="dataId"
+                   :height="tableHeight - 65" primaryKey="dataId"
                    @pageChange="pageSizeChange">
             <DkTableColumn field="dataValue" type="link"
                            @on-link="handleLink(Object.assign($event,{button:'edit'}))"></DkTableColumn>