|
@@ -31,12 +31,12 @@
|
|
|
<a-card size="small" :bordered="false">
|
|
|
<a-spin :spinning="spinning" tip="Loading...">
|
|
|
<div class="table-operator">
|
|
|
- <a-button type="primary" v-if="$hasPermissions('B_power_role_add')" class="button-error" @click="openModal" id="roleList-openModal">新增</a-button>
|
|
|
+ <a-button type="primary" v-if="$hasPermissions('B_power_role_add')" @click="openModal" id="roleList-openModal">新增</a-button>
|
|
|
</div>
|
|
|
<s-table
|
|
|
class="sTable fixPagination"
|
|
|
ref="table"
|
|
|
- :style="{ height: tableHeight+84.5+'px' }"
|
|
|
+ :style="{ height: tableHeight+70+'px' }"
|
|
|
size="small"
|
|
|
rowKey="id"
|
|
|
:columns="columns"
|
|
@@ -269,7 +269,7 @@ export default {
|
|
|
},
|
|
|
setTableH () {
|
|
|
const tableSearchH = this.$refs.tableSearch.offsetHeight
|
|
|
- this.tableHeight = window.innerHeight - tableSearchH - 250
|
|
|
+ this.tableHeight = window.innerHeight - tableSearchH - 236
|
|
|
}
|
|
|
},
|
|
|
watch: {
|