|
@@ -38,8 +38,7 @@
|
|
|
<el-table
|
|
|
:data="tableData"
|
|
|
stripe
|
|
|
- height="calc(100% - 80px)"
|
|
|
- style="width: 100%; height: calc(100% - 80px)"
|
|
|
+ style="width: 100%; height: calc(100% - 70px)"
|
|
|
>
|
|
|
<el-table-column
|
|
|
prop="ruleName"
|
|
@@ -99,7 +98,7 @@
|
|
|
<div class="pagination">
|
|
|
<el-pagination
|
|
|
layout="total,sizes, prev, pager, next"
|
|
|
- hide-on-single-page
|
|
|
+ :hide-on-single-page="false"
|
|
|
:current-page="query.page"
|
|
|
:page-size="query.limit"
|
|
|
:page-sizes="[22, 50, 100, 200, 500]"
|
|
@@ -130,7 +129,7 @@ const pageTitle = "规则修改日志";
|
|
|
const query = reactive({
|
|
|
page: 1,
|
|
|
limit: 22,
|
|
|
- pageTotal: null,
|
|
|
+ pageTotal: 0,
|
|
|
});
|
|
|
let tableData = ref([]);
|
|
|
let input = ref("");
|
|
@@ -176,7 +175,7 @@ const handlePageChange = (val) => {
|
|
|
</script>
|
|
|
<style lang="less" scoped>
|
|
|
.logs {
|
|
|
- height: calc(100% - 40px);
|
|
|
+ height: 100%;
|
|
|
padding: 20px;
|
|
|
.form-wrapper {
|
|
|
display: flex;
|
|
@@ -214,7 +213,7 @@ const handlePageChange = (val) => {
|
|
|
}
|
|
|
}
|
|
|
.table-wrapper {
|
|
|
- height: calc(100% - 23px);
|
|
|
+ height: calc(100% - 48px);
|
|
|
width: 100%;
|
|
|
.leftContent {
|
|
|
width: 242px;
|