Browse Source

调整表格默认高度

zhulu 2 years ago
parent
commit
97f3221dec

+ 1 - 1
src/views/core/drill/drillDictionary/index.vue

@@ -62,7 +62,7 @@
           <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
         </el-row>
 
-        <el-table border v-loading="loading" :data="drillDictionaryList" @selection-change="handleSelectionChange">
+        <el-table border height="555px" v-loading="loading" :data="drillDictionaryList" @selection-change="handleSelectionChange">
           <el-table-column label="序号" type="index" align="center" width="60"/>
           <el-table-column label="机构名称" align="left" header-align="center" prop="orgName" />
 

+ 1 - 1
src/views/core/drill/plan/index.vue

@@ -62,7 +62,7 @@
           <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
         </el-row>
 
-        <el-table height="500" max-height="550px" border :data="planList" @selection-change="handleSelectionChange"
+        <el-table height="560px" border :data="planList" @selection-change="handleSelectionChange"
                   row-key="id"
                   :tree-props="{ children: 'children' }">
           <el-table-column label="序号" align="center" width="60" prop="no"/>

+ 2 - 1
src/views/core/drill/task/index.vue

@@ -60,9 +60,10 @@
             <el-button type="primary" icon="el-icon-download" size="mini" @click="handleExport">导出数据
             </el-button>
           </el-col>
+          <right-toolbar :showSearch.sync="showSearch" @queryTable="getList"></right-toolbar>
         </el-row>
 
-        <el-table border height="561px" v-loading="loading" :data="eduTaskList" @selection-change="handleSelectionChange">
+        <el-table border height="555px" v-loading="loading" :data="eduTaskList" @selection-change="handleSelectionChange">
           <el-table-column label="序号" type="index" align="center" width="60"/>
           <el-table-column label="任务名称" width="250" align="left" header-align="center" prop="title"/>
           <el-table-column label="演练机构" width="200" align="left" header-align="center" prop="orgName"/>