Browse Source

fix:修复重置页码

zhangrenyuan/feature-20251104133449-现金管理二期
lihui 3 weeks ago
parent
commit
59e6f377fe
  1. 5
      src/views/audit/bean/beanAudit.vue
  2. 4
      src/views/audit/gold/rechargeAudit.vue
  3. 4
      src/views/audit/gold/refundAudit.vue
  4. 6
      src/views/consume/bean/articleVideo.vue
  5. 4
      src/views/consume/bean/dieHardFan.vue
  6. 4
      src/views/consume/bean/liveStream.vue
  7. 4
      src/views/consume/gold/coinConsumeDetail.vue
  8. 6
      src/views/history/newHistory.vue
  9. 6
      src/views/history/oldHistory.vue
  10. 1219
      src/views/moneyManage/executor/executor.vue
  11. 4
      src/views/moneyManage/refundDetail/refundCharge.vue
  12. 2
      src/views/moneyManage/refundDetail/refundFinance.vue
  13. 3
      src/views/moneyManage/refundDetail/refundHeader.vue
  14. 2
      src/views/moneyManage/refundDetail/refundService.vue
  15. 4
      src/views/permissions/rolePermission.vue
  16. 5
      src/views/permissions/userPermission.vue
  17. 4
      src/views/recharge/bean/beanOnlineRecharge.vue
  18. 4
      src/views/recharge/bean/beanSystemRecharge.vue
  19. 4
      src/views/recharge/gold/coinRechargeDetail.vue
  20. 4
      src/views/refund/gold/coinRefundDetail.vue
  21. 2
      src/views/usergold/bean/userbean.vue
  22. 6
      src/views/usergold/gold/clientCountBalance.vue
  23. 4
      src/views/usergold/gold/clientCountDetail.vue

5
src/views/audit/bean/beanAudit.vue

@ -102,7 +102,7 @@
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize"
<el-pagination background :current-page="pagination.pageNum" :page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper" :total="stats.num" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>
@ -472,9 +472,12 @@ const resetSearch = async function () {
auditStartTime: '',
auditEndTime: ''
}
//
pagination.value.pageNum = 1
selectedMarkets.value = []
dateRange.value = []
activeTimeRange.value = ''
await get()
await getStats()
}

4
src/views/audit/gold/rechargeAudit.vue

@ -160,7 +160,7 @@
</el-table-column>
</el-table>
<div class="pagination">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.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>
</div>
@ -447,6 +447,8 @@ const resetSearch = function () {
market: "",
auditStatus: rechargeAudit.value.auditStatus
}
//
getObj.value.pageNum = 1
selectedMarketPath.value = []
getTime.value = []
activeTimeRange.value = '' //

4
src/views/audit/gold/refundAudit.vue

@ -148,7 +148,7 @@
</template>
</el-table-column>
</el-table>
<el-pagination class="pagination" background v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize"
<el-pagination class="pagination" background :current-page="pagination.pageNum" :page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</el-card>
@ -520,6 +520,8 @@ const resetSearch = function () {
sortOrder: '',
auditStatus: auditStatus
}
//
pagination.value.pageNum = 1
dateRange.value = []
activeTimeRange.value = '' //
selectedMarketPath.value = []

6
src/views/consume/bean/articleVideo.vue

@ -276,6 +276,10 @@ const reset = function () {
getTime.value = {}
activeTimeRange.value = '' //
//
getObj.value.pageNum = 1
console.log('重置页码=======', getObj.value.pageNum)
//
ConsumeSelectBy()
@ -569,7 +573,7 @@ const getTagText = (state) => {
<!-- 分页 -->
<div class="pagination">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

4
src/views/consume/bean/dieHardFan.vue

@ -262,6 +262,8 @@ const reset = function () {
getTime.value = {}
activeTimeRange.value = '' //
//
getObj.value.pageNum = 1
//
ConsumeSelectBy()
@ -545,7 +547,7 @@ const getTagText = (state) => {
<!-- 分页 -->
<div class="pagination">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

4
src/views/consume/bean/liveStream.vue

@ -296,6 +296,8 @@ const reset = function () {
getTime.value = {}
activeTimeRange.value = '' //
//
getObj.value.pageNum = 1
//
selectLiveBy()
@ -590,7 +592,7 @@ const getTagText = (state) => {
<el-table-column prop="consumeTime" label="消费时间" sortable="custom" width="180px" />
</el-table>
</div>
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]" style="margin-top: 20px;"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]" style="margin-top: 20px;"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</el-card>

4
src/views/consume/gold/coinConsumeDetail.vue

@ -334,6 +334,8 @@ const reset = function () {
activeTimeRange.value = '' //
selectedMarketPath.value = []
//
getObj.value.pageNum = 1
//
ConsumeSelectBy()
@ -708,7 +710,7 @@ const getMarket = async function () {
<!-- 分页 -->
<div class="pagination">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

6
src/views/history/newHistory.vue

@ -34,8 +34,8 @@
<el-table-column prop="createTime" label="更新时间" width="200" header-align="center" align="center" />
<el-table-column prop="remark" label="备注" show-overflow-tooltip width="200" align="center" />
</el-table>
<el-pagination background style="margin-top:20px" v-model:current-page="pagination.pageNum"
v-model:page-size="pagination.pageSize" layout="total, sizes, prev, pager, next, jumper"
<el-pagination background style="margin-top:20px" :current-page="pagination.pageNum"
:page-size="pagination.pageSize" layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</el-card>
@ -108,6 +108,8 @@ const resetSearch = function () {
name: '',
jwcode: ''
}
//
pagination.value.pageNum = 1
dateRange.value = []
}
const handlePageSizeChange = function (val) {

6
src/views/history/oldHistory.vue

@ -31,8 +31,8 @@
<el-table-column prop="createTime" label="更新时间" width="200" header-align="center" align="center" />
<el-table-column prop="remark" label="备注" show-overflow-tooltip width="200" align="center" />
</el-table>
<el-pagination background style="margin-top:20px" v-model:current-page="pagination.pageNum"
v-model:page-size="pagination.pageSize" layout="total, sizes, prev, pager, next, jumper"
<el-pagination background style="margin-top:20px" :current-page="pagination.pageNum"
:page-size="pagination.pageSize" layout="total, sizes, prev, pager, next, jumper"
:total="pagination.total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</el-card>
@ -106,6 +106,8 @@ const resetSearch = function () {
name: '',
jwcode: ''
}
//
pagination.value.pageNum = 1
dateRange.value = []
}
const handlePageSizeChange = function (val) {

1219
src/views/moneyManage/executor/executor.vue
File diff suppressed because it is too large
View File

4
src/views/moneyManage/refundDetail/refundCharge.vue

@ -95,7 +95,7 @@
</template>
</el-table-column>
</el-table>
<el-pagination v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize"
<el-pagination :current-page="pagination.pageNum" :page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
@size-change="handlePageSizeChange" @current-change="handleCurrentChange"
style="margin-top: 1vh;"></el-pagination>
@ -714,6 +714,8 @@ const reset = function () {
markets: [],
statuses: []
}
//
pagination.value.pageNum = 1
dateRange.value = []
getRefund()
}

2
src/views/moneyManage/refundDetail/refundFinance.vue

@ -777,6 +777,8 @@ const reset = function () {
markets: [],
statuses: []
}
//
pagination.value.pageNum = 1
dateRange.value = []
getRefund()
}

3
src/views/moneyManage/refundDetail/refundHeader.vue

@ -610,6 +610,9 @@ const reset = function () {
markets: [],
statuses: []
}
//
pagination.value.pageNum = 1
dateRange.value = []
getRefund()
}

2
src/views/moneyManage/refundDetail/refundService.vue

@ -627,6 +627,8 @@ const reset = function () {
market: [],
statuses: []
}
//
pagination.value.pageNum = 1
dateRange.value = []
getRefund()
}

4
src/views/permissions/rolePermission.vue

@ -96,6 +96,8 @@ const searchRole = function () {
const reset = function () {
admin.value = {}
role.value.name = ''
//
getRoleObj.value.pageNum = 1
getRoleList()
}
const RoleArea = ref([])
@ -634,7 +636,7 @@ onMounted(async function () {
</div>
<div style="margin-top: 20px;display: flex;">
<el-pagination background :page-size="getRoleObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getRoleObj.pageNum" :page-size="getRoleObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="roleTotal" @size-change="handleRolePageSizeChange"
@current-change="handleRoleCurrentChange"></el-pagination>
</div>

5
src/views/permissions/userPermission.vue

@ -185,7 +185,8 @@ const search = function () {
//
const reset = function () {
admin.value = {}
//
getObj.value.pageNum = 1
getPermission()
}
const RoleArea = ref([])
@ -1003,7 +1004,7 @@ onMounted(async function () {
</el-table-column>
</el-table>
<div class="pagination" style="margin-top: 1vh;">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

4
src/views/recharge/bean/beanOnlineRecharge.vue

@ -141,6 +141,8 @@ const reset = () => {
startTime: '',
endTime: '',
}
//
getObj.value.pageNum = 1
getTime.value = []
activeTimeRange.value = ''
search()
@ -441,7 +443,7 @@ onMounted(async function () {
<!-- 分页 -->
<div class="pagination" style="margin-top: 20px">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

4
src/views/recharge/bean/beanSystemRecharge.vue

@ -139,6 +139,8 @@ const reset = () => {
startTime: '',
endTime: '',
}
//
getObj.value.pageNum = 1
getTime.value = []
activeTimeRange.value = ''
search()
@ -410,7 +412,7 @@ onMounted(async function () {
<!-- 分页 -->
<div class="pagination" style="margin-top: 1vw">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

4
src/views/recharge/gold/coinRechargeDetail.vue

@ -413,6 +413,8 @@ const reset = function () {
delete sortOrder.value
getTime.value = {}
activeTimeRange.value = '' //
//
getObj.value.pageNum = 1
get()
}
@ -700,7 +702,7 @@ const getTagText = (state) => {
<!-- 分页 -->
<div style="margin-top: 1vh">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

4
src/views/refund/gold/coinRefundDetail.vue

@ -231,6 +231,8 @@ const reset = function () {
getTime.value = {}
activeTimeRange.value = '' //
selectedMarketPath.value = []
//
getObj.value.pageNum = 1
getSelectBy()
}
//
@ -614,7 +616,7 @@ const getMarket = async function () {
<!-- 分页 -->
<div class="pagination" style="margin-top: 20px;display: flex;">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange" @jump="checkPageNumber"></el-pagination>
</div>

2
src/views/usergold/bean/userbean.vue

@ -169,6 +169,8 @@ const trim = () => {
const reset = function () {
searchObj.value.jwcode = ''
searchObj.value.dept = ''
//
pagination.value.pageNum = 1
search()
}
const handlePageSizeChange = function (val) {

6
src/views/usergold/gold/clientCountBalance.vue

@ -203,8 +203,10 @@ const reset = function () {
}
sortField.value = ''
sortOrder.value = ''
get()
selectedMarketPath.value = []
//
getObj.value.pageNum = 1
get()
}
const cellClick = function (row, column) {
console.log('cellClick', column.label)
@ -513,7 +515,7 @@ const format3 = (num) => {
</div>
<!-- 分页 -->
<div class="pagination" style="margin-top: 20px">
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

4
src/views/usergold/gold/clientCountDetail.vue

@ -233,6 +233,8 @@ const reset = function () {
getTime.value = []
activeTimeRange.value = '' //
//
getObj.value.pageNum = 1
search()
}
@ -599,7 +601,7 @@ const format3 = (num) => {
<!-- 此处分页 -->
<div class="pagination" >
<el-pagination background :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
<el-pagination background :current-page="getObj.pageNum" :page-size="getObj.pageSize" :page-sizes="[5, 10, 20, 50, 100]"
layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination>
</div>

Loading…
Cancel
Save