|
@@ -1,7 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<div class='page-table-template' style='display: flex;flex-direction: column;flex-grow: 1;flex-shrink: 1;'>
|
|
<div class='page-table-template' style='display: flex;flex-direction: column;flex-grow: 1;flex-shrink: 1;'>
|
|
<div class="btn-box">
|
|
<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>
|
|
<div class='data-table'>
|
|
<div class='data-table'>
|
|
<el-table
|
|
<el-table
|
|
@@ -10,6 +10,7 @@
|
|
border
|
|
border
|
|
v-loading='loading'
|
|
v-loading='loading'
|
|
@selection-change='handleSelectionChange'
|
|
@selection-change='handleSelectionChange'
|
|
|
|
+ height="600px"
|
|
>
|
|
>
|
|
<el-table-column type='selection' width='55' align='center'></el-table-column>
|
|
<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>、
|
|
<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'>
|
|
<style scoped lang='less'>
|
|
.btn-box {
|
|
.btn-box {
|
|
padding: 10px;
|
|
padding: 10px;
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: flex-end;
|
|
}
|
|
}
|
|
</style>
|
|
</style>
|