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

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

@ -160,7 +160,7 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div class="pagination"> <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)" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePagination('size', $event)"
@current-change="handlePagination('page', $event)"></el-pagination> @current-change="handlePagination('page', $event)"></el-pagination>
</div> </div>
@ -447,6 +447,8 @@ const resetSearch = function () {
market: "", market: "",
auditStatus: rechargeAudit.value.auditStatus auditStatus: rechargeAudit.value.auditStatus
} }
//
getObj.value.pageNum = 1
selectedMarketPath.value = [] selectedMarketPath.value = []
getTime.value = [] getTime.value = []
activeTimeRange.value = '' // activeTimeRange.value = '' //

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

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

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

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

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

@ -262,6 +262,8 @@ const reset = function () {
getTime.value = {} getTime.value = {}
activeTimeRange.value = '' // activeTimeRange.value = '' //
//
getObj.value.pageNum = 1
// //
ConsumeSelectBy() ConsumeSelectBy()
@ -545,7 +547,7 @@ const getTagText = (state) => {
<!-- 分页 --> <!-- 分页 -->
<div class="pagination"> <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" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination> @current-change="handleCurrentChange"></el-pagination>
</div> </div>

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

@ -296,6 +296,8 @@ const reset = function () {
getTime.value = {} getTime.value = {}
activeTimeRange.value = '' // activeTimeRange.value = '' //
//
getObj.value.pageNum = 1
// //
selectLiveBy() selectLiveBy()
@ -590,7 +592,7 @@ const getTagText = (state) => {
<el-table-column prop="consumeTime" label="消费时间" sortable="custom" width="180px" /> <el-table-column prop="consumeTime" label="消费时间" sortable="custom" width="180px" />
</el-table> </el-table>
</div> </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" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination> @current-change="handleCurrentChange"></el-pagination>
</el-card> </el-card>

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

@ -334,6 +334,8 @@ const reset = function () {
activeTimeRange.value = '' // activeTimeRange.value = '' //
selectedMarketPath.value = [] selectedMarketPath.value = []
//
getObj.value.pageNum = 1
// //
ConsumeSelectBy() ConsumeSelectBy()
@ -708,7 +710,7 @@ const getMarket = async function () {
<!-- 分页 --> <!-- 分页 -->
<div class="pagination"> <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" layout="total, sizes, prev, pager, next, jumper" :total="total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination> @current-change="handleCurrentChange"></el-pagination>
</div> </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="createTime" label="更新时间" width="200" header-align="center" align="center" />
<el-table-column prop="remark" label="备注" show-overflow-tooltip width="200" align="center" /> <el-table-column prop="remark" label="备注" show-overflow-tooltip width="200" align="center" />
</el-table> </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" :total="pagination.total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination> @current-change="handleCurrentChange"></el-pagination>
</el-card> </el-card>
@ -108,6 +108,8 @@ const resetSearch = function () {
name: '', name: '',
jwcode: '' jwcode: ''
} }
//
pagination.value.pageNum = 1
dateRange.value = [] dateRange.value = []
} }
const handlePageSizeChange = function (val) { 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="createTime" label="更新时间" width="200" header-align="center" align="center" />
<el-table-column prop="remark" label="备注" show-overflow-tooltip width="200" align="center" /> <el-table-column prop="remark" label="备注" show-overflow-tooltip width="200" align="center" />
</el-table> </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" :total="pagination.total" @size-change="handlePageSizeChange"
@current-change="handleCurrentChange"></el-pagination> @current-change="handleCurrentChange"></el-pagination>
</el-card> </el-card>
@ -106,6 +106,8 @@ const resetSearch = function () {
name: '', name: '',
jwcode: '' jwcode: ''
} }
//
pagination.value.pageNum = 1
dateRange.value = [] dateRange.value = []
} }
const handlePageSizeChange = function (val) { 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> </template>
</el-table-column> </el-table-column>
</el-table> </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" layout="total, sizes, prev, pager, next, jumper" :total="pagination.total"
@size-change="handlePageSizeChange" @current-change="handleCurrentChange" @size-change="handlePageSizeChange" @current-change="handleCurrentChange"
style="margin-top: 1vh;"></el-pagination> style="margin-top: 1vh;"></el-pagination>
@ -714,6 +714,8 @@ const reset = function () {
markets: [], markets: [],
statuses: [] statuses: []
} }
//
pagination.value.pageNum = 1
dateRange.value = [] dateRange.value = []
getRefund() getRefund()
} }

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

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

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

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

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

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

4
src/views/permissions/rolePermission.vue

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

5
src/views/permissions/userPermission.vue

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Loading…
Cancel
Save