Browse Source

fix:修复剩余的重置页码

zhangrenyuan/feature-20251104133449-现金管理二期
lihui 3 weeks ago
parent
commit
61af3c61d2
  1. 4
      src/views/moneyManage/receiveDetail/receiveDetail1.vue
  2. 4
      src/views/moneyManage/receiveDetail/receiveFinance.vue
  3. 3
      src/views/moneyManage/receiveDetail/receiveHead.vue
  4. 13
      src/views/moneyManage/receiveDetail/receiveManage.vue
  5. 4
      src/views/moneyManage/receiveDetail/receiveService.vue

4
src/views/moneyManage/receiveDetail/receiveDetail1.vue

@ -251,7 +251,7 @@
</el-table>
</div>
<div class="pagination">
<el-pagination background :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total"
@size-change="handlePagination('size', $event)"
@current-change="handlePagination('page', $event)"></el-pagination>
@ -719,6 +719,8 @@ const search = () => {
const reset = () => {
searchData.value = {}
getTime.value = []
//
pageInfo.value.pageNum = 1
getlist()
}
//

4
src/views/moneyManage/receiveDetail/receiveFinance.vue

@ -205,7 +205,7 @@
</el-table>
</div>
<div class="pagination">
<el-pagination background :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total"
@size-change="handlePagination('size', $event)"
@current-change="handlePagination('page', $event)"></el-pagination>
@ -552,6 +552,8 @@ const search = () => {
const reset = () => {
searchData.value = {};
//
pageInfo.value.pageNum = 1;
getlist();
};

3
src/views/moneyManage/receiveDetail/receiveHead.vue

@ -168,7 +168,7 @@
</div>
<!-- 分页组件 -->
<div class="pagination">
<el-pagination background :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total"
@size-change="handlePagination('size', $event)"
@current-change="handlePagination('page', $event)"></el-pagination>
@ -354,6 +354,7 @@ const search = () => {
const reset = () => {
searchData.value = {}
getTime.value = []
pageInfo.value.pageNum = 1
getlist()
}
const getlist = async () => {

13
src/views/moneyManage/receiveDetail/receiveManage.vue

@ -207,7 +207,7 @@
</el-table>
</div>
<div class="pagination">
<el-pagination background :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total"
@size-change="handlePagination('size', $event)"
@current-change="handlePagination('page', $event)"></el-pagination>
@ -450,9 +450,12 @@ const defaultTime = [
const getTime = ref([])
//
const handleDatePickerChange = ref(() => { })
const disabledDate = ref(() => { })
const handleSortChange = ref(() => { })
const handleDatePickerChange = ref(() => {
})
const disabledDate = ref(() => {
})
const handleSortChange = ref(() => {
})
const search = () => {
getlist()
@ -461,6 +464,8 @@ const search = () => {
const reset = () => {
searchData.value = {}
getTime.value = []
//
pageInfo.value.pageNum = 1
getlist()
}

4
src/views/moneyManage/receiveDetail/receiveService.vue

@ -139,7 +139,7 @@
</div>
<div class="pagination">
<el-pagination background :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="pageInfo.pageNum" :page-size="pageInfo.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total"
@size-change="handlePagination('size', $event)"
@current-change="handlePagination('page', $event)"></el-pagination>
@ -425,6 +425,8 @@ const search = () => {
const reset = () => {
searchData.value = {}
getTime.value = []
//
pageInfo.value.pageNum = 1
getlist()
}

Loading…
Cancel
Save