mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/fe-manage.git
synced 2025-12-11 11:56:46 +08:00
样式调整
This commit is contained in:
@@ -116,10 +116,12 @@
|
|||||||
</a-table>
|
</a-table>
|
||||||
|
|
||||||
<div class="tableBox">
|
<div class="tableBox">
|
||||||
<!-- <div class="pa">
|
<div class="pa">
|
||||||
<a-pagination
|
<a-pagination
|
||||||
v-if="tableDataTotal > 0"
|
v-if="tableDataTotal > 0"
|
||||||
:showSizeChanger="false"
|
:show-total="total => `共 ${tableDataTotal} 条`"
|
||||||
|
:showSizeChanger="true"
|
||||||
|
:pageSizeOptions="['10', '20', '30', '40']"
|
||||||
:showQuickJumper="true"
|
:showQuickJumper="true"
|
||||||
:hideOnSinglePage="false"
|
:hideOnSinglePage="false"
|
||||||
:pageSize="pageSize"
|
:pageSize="pageSize"
|
||||||
@@ -127,9 +129,10 @@
|
|||||||
:total="tableDataTotal"
|
:total="tableDataTotal"
|
||||||
class="pagination"
|
class="pagination"
|
||||||
@change="changePagination"
|
@change="changePagination"
|
||||||
|
@showSizeChange="handleSizeChange"
|
||||||
/>
|
/>
|
||||||
</div>-->
|
</div>
|
||||||
<div v-if="tableDataTotal > 0" style="text-align: center; margin-top:57px">
|
<!-- <div v-if="tableDataTotal > 0" style="text-align: center; margin-top:57px">
|
||||||
<el-pagination background
|
<el-pagination background
|
||||||
@size-change="changePagination1"
|
@size-change="changePagination1"
|
||||||
@current-change="changePagination"
|
@current-change="changePagination"
|
||||||
@@ -139,7 +142,7 @@
|
|||||||
layout="total, sizes, prev, pager, next, jumper"
|
layout="total, sizes, prev, pager, next, jumper"
|
||||||
:total="tableDataTotal"
|
:total="tableDataTotal"
|
||||||
></el-pagination>
|
></el-pagination>
|
||||||
</div>
|
</div>-->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -460,18 +463,18 @@ export default {
|
|||||||
};
|
};
|
||||||
|
|
||||||
// 分页变化
|
// 分页变化
|
||||||
const changePagination1 = (page) => {
|
const handleSizeChange = (page, pageSize) => {
|
||||||
console.log('page1 :', page);
|
console.log('handleSizeChange page :', page + " , pageSize = " + pageSize);
|
||||||
state.searchParam.pageNo = 1;
|
state.searchParam.pageNo = 1;
|
||||||
state.searchParam.pageSize = page;
|
state.searchParam.pageSize = pageSize;
|
||||||
getTagList();
|
getTagList();
|
||||||
};
|
};
|
||||||
|
|
||||||
// 分页变化
|
// 分页变化
|
||||||
const changePagination = (page) => {
|
const changePagination = (page, pageSize) => {
|
||||||
console.log('page :', page);
|
console.log('changePagination page :', page + " , pageSize = " + pageSize);
|
||||||
state.searchParam.pageNo = page;
|
state.searchParam.pageNo = page;
|
||||||
state.searchParam.pageSize = page;
|
state.searchParam.pageSize = pageSize;
|
||||||
getTagList();
|
getTagList();
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -667,7 +670,7 @@ export default {
|
|||||||
searchSubmit,
|
searchSubmit,
|
||||||
searchReset,
|
searchReset,
|
||||||
changePagination,
|
changePagination,
|
||||||
changePagination1,
|
handleSizeChange,
|
||||||
handleTableChange,
|
handleTableChange,
|
||||||
handleRelTableChange,
|
handleRelTableChange,
|
||||||
handlePublicChange,
|
handlePublicChange,
|
||||||
|
|||||||
Reference in New Issue
Block a user