|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div class='page-table-template' style='display: flex;flex-direction: column;flex-grow: 1;flex-shrink: 1;'>
|
|
|
<div class="btn-box">
|
|
|
- <el-button type='danger' @click='someDel'>批量删除</el-button>
|
|
|
+ <el-button type='danger' @click='someDel' :disabled="!allChecked.length">批量删除</el-button>
|
|
|
</div>
|
|
|
<div class='data-table'>
|
|
|
<el-table
|
|
@@ -10,6 +10,7 @@
|
|
|
border
|
|
|
v-loading='loading'
|
|
|
@selection-change='handleSelectionChange'
|
|
|
+ height="600px"
|
|
|
>
|
|
|
<el-table-column type='selection' width='55' align='center'></el-table-column>
|
|
|
<el-table-column header-align='center' align='center' prop='BuildName' label='建筑' width='150'></el-table-column>、
|
|
@@ -317,5 +318,7 @@ export default {
|
|
|
<style scoped lang='less'>
|
|
|
.btn-box {
|
|
|
padding: 10px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: flex-end;
|
|
|
}
|
|
|
</style>
|