Commit 0e6f4240813c4a16e1ec9a723683cd1175412d8e
1 parent
02a649b6
fix: 优化数据展示效果
Showing
2 changed files
with
3 additions
and
2 deletions
src/views/main/manager/index.vue
| @@ -36,7 +36,8 @@ | @@ -36,7 +36,8 @@ | ||
| 36 | </el-col> | 36 | </el-col> |
| 37 | </el-row> | 37 | </el-row> |
| 38 | 38 | ||
| 39 | - <el-table v-loading="loading" :stripe="true" :data="driverList" border @selection-change="handleSelectionChange"> | 39 | + <el-table max-height="600px" v-loading="loading" :stripe="true" :data="driverList" border |
| 40 | + @selection-change="handleSelectionChange"> | ||
| 40 | <el-table-column type="selection" width="40" align="center" fixed="left" /> | 41 | <el-table-column type="selection" width="40" align="center" fixed="left" /> |
| 41 | <el-table-column label="工号" show-overflow-tooltip="true" align="center" width="100" prop="jobCode" fixed="left" /> | 42 | <el-table-column label="工号" show-overflow-tooltip="true" align="center" width="100" prop="jobCode" fixed="left" /> |
| 42 | <el-table-column label="姓名" show-overflow-tooltip="true" align="center" width="100" prop="name" fixed="left" /> | 43 | <el-table-column label="姓名" show-overflow-tooltip="true" align="center" width="100" prop="name" fixed="left" /> |
src/views/schedulingAssociateNum/schedulingAssociateNum/index.vue
| @@ -26,7 +26,7 @@ | @@ -26,7 +26,7 @@ | ||
| 26 | <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> | 26 | <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar> |
| 27 | </el-row> | 27 | </el-row> |
| 28 | 28 | ||
| 29 | - <el-table border v-loading="loading" max-height="650px" stripe :data="schedulingAssociateNumList" | 29 | + <el-table border v-loading="loading" max-height="600px" stripe :data="schedulingAssociateNumList" |
| 30 | @selection-change="handleSelectionChange"> | 30 | @selection-change="handleSelectionChange"> |
| 31 | <el-table-column type="selection" width="55" align="center" /> | 31 | <el-table-column type="selection" width="55" align="center" /> |
| 32 | <el-table-column label="班次类型" align="center" prop="ruleType"> | 32 | <el-table-column label="班次类型" align="center" prop="ruleType"> |