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. 123
      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) {

123
src/views/moneyManage/executor/executor.vue

@ -3,25 +3,25 @@
<div class="condition1">
<div class="search">
<el-text size="large" style="width:4vw;">姓名</el-text>
<el-input v-model="searchForm.name" placeholder="请输入姓名" style="width:9vw;" clearable />
<el-input v-model="searchForm.name" placeholder="请输入姓名" style="width:9vw;" clearable/>
</div>
<div class="search">
<el-text size="large" style="width:4vw;">精网号</el-text>
<el-input v-model="searchForm.jwcode" placeholder="请输入精网号" style="width:9vw;" clearable />
<el-input v-model="searchForm.jwcode" placeholder="请输入精网号" style="width:9vw;" clearable/>
</div>
<div class="search">
<el-text size="large" style="width:4vw;">所属地区</el-text>
<el-cascader style="width: 9vw;" v-model="searchForm.markets" :options="market" placeholder="请选择所属地区"
clearable />
clearable/>
</div>
<div class="search">
<el-text size="large" style="width:4vw;">产品名称</el-text>
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" clearable />
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" clearable/>
</div>
<div class="search">
<el-text size="large" style="width:4vw;">退款币种</el-text>
<el-select v-model="searchForm.refundCurrency" style="width:9vw;" clearable>
<el-option v-for="item in currencies" :key="item.value" :label="item.label" :value="item.value" />
<el-option v-for="item in currencies" :key="item.value" :label="item.label" :value="item.value"/>
</el-select>
</div>
</div>
@ -30,20 +30,20 @@
<el-text size="large" style="width:4vw;">退款途径</el-text>
<el-select v-model="searchForm.refundChannels" style="width:9vw;" clearable>
<el-option v-for="item in channelOptions" :key="item.value" :label="item.label"
:value="item.value" />
:value="item.value"/>
</el-select>
</div>
<div class="search2">
<el-text size="large" style="width:4vw;">订单状态</el-text>
<el-select v-model="searchForm.statuses" style="width:9vw;" clearable>
<el-option v-for="item in statusList" :label="item" :value="item" :key="item" />
<el-option v-for="item in statusList" :label="item" :value="item" :key="item"/>
</el-select>
</div>
<div class="search2" style="width: 28vw;">
<el-text size="large" style="width:4vw;">退款时间</el-text>
<el-date-picker v-model="dateRange" type="datetimerange" range-separator="" start-placeholder="起始时间"
end-placeholder="结束时间" style="width:22vw;" @change="handleDatePickerChange" clearable
:disabled-date="disabledDate" :default-time="defaultTime" />
:disabled-date="disabledDate" :default-time="defaultTime"/>
</div>
<div>
<el-button type="primary" @click="getRefund">查询</el-button>
@ -56,12 +56,12 @@
<el-card style="background-color: rgb(231,244,253);">
<el-table :data="tableData" style="height:60vh;width:82vw;">
<el-table-column type="index" label="序号" width="60" fixed="left" />
<el-table-column prop="name" label="Homily ID" width="120" fixed="left" />
<el-table-column prop="jwcode" label="姓名" width="120" fixed="left" show-overflow-tooltip />
<el-table-column prop="marketName" label="所属地区" width="120" />
<el-table-column prop="goodsName" label="产品名称" width="120" />
<el-table-column prop="goodNum" label="产品数量" width="120" />
<el-table-column type="index" label="序号" width="60" fixed="left"/>
<el-table-column prop="name" label="Homily ID" width="120" fixed="left"/>
<el-table-column prop="jwcode" label="姓名" width="120" fixed="left" show-overflow-tooltip/>
<el-table-column prop="marketName" label="所属地区" width="120"/>
<el-table-column prop="goodsName" label="产品名称" width="120"/>
<el-table-column prop="goodNum" label="产品数量" width="120"/>
<el-table-column prop="refundModel" label="退款方式" width="120">
<template #default="scope">
{{ scope.row.refundModel === 1 ? '部分退款' : '全部退款' }}
@ -92,7 +92,7 @@
<template #default="scope">
<el-image v-if="scope.row.refundVoucher" :src="scope.row.refundVoucher"
@click="previewImage(scope.row.refundVoucher)"
style="width: 40px; height: 40px; cursor: pointer;z-index: 99999;" fit="cover" />
style="width: 40px; height: 40px; cursor: pointer;z-index: 99999;" fit="cover"/>
<span v-else style="color: #FA5A1E;">待补充</span>
</template>
</el-table-column>
@ -122,8 +122,8 @@
</template>
</el-table-column>
</el-table>
<el-pagination v-model:current-page="pagination.pageNum" v-model:page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" style="margin-top: 1vh;" />
<el-pagination :current-page="pagination.pageNum" :page-size="pagination.pageSize"
layout="total, sizes, prev, pager, next, jumper" :total="pagination.total" style="margin-top: 1vh;"/>
</el-card>
<el-dialog v-model="showEdit" class="edit" overflow draggable style="width: 40vw;">
@ -131,19 +131,19 @@
<div class="left">
<div class="dialog-item">
<el-text style="width:4vw;">精网号</el-text>
<el-input v-model="editRow.jwcode" style="width:10vw;" disabled />
<el-input v-model="editRow.jwcode" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">客户姓名</el-text>
<el-input v-model="editRow.name" style="width:10vw;" disabled />
<el-input v-model="editRow.name" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">所属地区</el-text>
<el-input v-model="editRow.marketName" style="width:10vw;" disabled />
<el-input v-model="editRow.marketName" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">产品名称</el-text>
<el-input v-model="editRow.goodsName" style="width:10vw;" disabled />
<el-input v-model="editRow.goodsName" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">退款类型</el-text>
@ -154,23 +154,23 @@
</div>
<div class="dialog-item">
<el-text style="width:4vw;">付款币种</el-text>
<el-input v-model="editRow.paymentCurrency" style="width:10vw;" disabled />
<el-input v-model="editRow.paymentCurrency" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">付款金额</el-text>
<el-input v-model="editRow.paymentAmount" style="width:10vw;" disabled />
<el-input v-model="editRow.paymentAmount" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">支付方式</el-text>
<el-input v-model="editRow.payType" style="width:10vw;" disabled />
<el-input v-model="editRow.payType" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">付款时间</el-text>
<el-date-picker v-model="editRow.payTime" type="datetime" style="width:10vw;" disabled />
<el-date-picker v-model="editRow.payTime" type="datetime" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">提交人</el-text>
<el-input v-model="editRow.submitterName" style="width:10vw;" disabled />
<el-input v-model="editRow.submitterName" style="width:10vw;" disabled/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">转账凭证</el-text>
@ -183,7 +183,7 @@
<div class="dialog-item">
<el-text style="width:4vw;">备注</el-text>
<el-input v-model="editRow.remark" style="width:10vw;" :row="3" disabled maxlength="100"
type="textarea" show-word-limit clearable />
type="textarea" show-word-limit clearable/>
</div>
</div>
<div class="right">
@ -191,24 +191,24 @@
<el-text style="width:4vw;">退款币种</el-text>
<el-select v-model="editForm.refundCurrency" placeholder="请选择退款币种" style="width:10vw;">
<el-option v-for="item in currencies" :key="item.value" :label="item.label"
:value="item.value" />
:value="item.value"/>
</el-select>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">退款金额</el-text>
<el-input v-model="editForm.refundAmount" placeholder="请输入退款金额" style="width:10vw;" clearable />
<el-input v-model="editForm.refundAmount" placeholder="请输入退款金额" style="width:10vw;" clearable/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">退款途径</el-text>
<el-select v-model="editForm.refundChannels" placeholder="请选择退款途径" style="width:10vw;">
<el-option v-for="item in channelOptions" :key="item.value" :label="item.label"
:value="item.value" />
:value="item.value"/>
</el-select>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">退款时间</el-text>
<el-date-picker v-model="editForm.refundTime" type="datetime" placeholder="请选择退款时间"
style="width:10vw;" clearable />
style="width:10vw;" clearable/>
</div>
<div class="dialog-item">
<el-text style="width:4vw;">支付凭证</el-text>
@ -219,7 +219,7 @@
<img v-if="editForm.imageUrl" :src="editForm.imageUrl"
style="width: 80px; height: 80px; object-fit: cover;">
<el-icon v-else>
<Plus />
<Plus/>
</el-icon>
</template>
</el-upload>
@ -227,7 +227,7 @@
<div class="dialog-item">
<el-text style="width:4vw;">备注</el-text>
<el-input v-model="editForm.refundRemark" placeholder="请输入备注" style="width:10vw;" :rows="3"
maxlength="100" show-word-limit type="textarea" clearable />
maxlength="100" show-word-limit type="textarea" clearable/>
</div>
<div style="display:flex;justify-content: center;margin-top: 5vh;">
<el-button type="default" @click="hideEditDialog" style="margin-right: 2vw;">取消</el-button>
@ -238,16 +238,17 @@
</el-dialog>
</template>
<script setup>
import { ref, onMounted } from 'vue'
import { ElMessage } from 'element-plus'
import {ref, onMounted} from 'vue'
import {ElMessage} from 'element-plus'
import API from '@/util/http.js'
import dayjs from 'dayjs'
import { useAdminStore } from "@/store/index.js"
import { storeToRefs } from "pinia"
import { Delete, Download, Plus, ZoomIn } from '@element-plus/icons-vue'
import {useAdminStore} from "@/store/index.js"
import {storeToRefs} from "pinia"
import {Delete, Download, Plus, ZoomIn} from '@element-plus/icons-vue'
const adminStore = useAdminStore()
const { adminData, menuTree } = storeToRefs(adminStore)
import { permissionMapping, findMenuById } from "@/utils/menuTreePermission.js"
const {adminData, menuTree} = storeToRefs(adminStore)
import {permissionMapping, findMenuById} from "@/utils/menuTreePermission.js"
const uploadUrl = 'https://api.homilychart.com/hljw/api/aws/upload'
const dateRange = ref([])
@ -393,46 +394,46 @@ const channelOptions = ref([{
value: '银行转账',
label: '银行转账'
},
{
{
value: '刷卡',
label: '刷卡'
},
{
},
{
value: '现金',
label: '现金'
},
{
},
{
value: '支票',
label: '支票'
},
{
},
{
value: 'Grabpay',
label: 'Grabpay'
},
{
},
{
value: 'Nets',
label: 'Nets'
},
{
},
{
value: 'E-Transfer',
label: 'E-Transfer'
},
{
},
{
value: 'PayPal',
label: 'PayPal'
},
{
},
{
value: 'Stripe-链接收款',
label: 'Stripe-链接收款'
},
{
},
{
value: 'PaymentAsia-链接收款',
label: 'PaymentAsia-链接收款'
},
{
},
{
value: 'Ipay88-链接收款',
label: 'Ipay88-链接收款'
}
}
])
const currencies = ref([
@ -674,6 +675,8 @@ const reset = function () {
markets: [],
statuses: []
}
//
pagination.value.pageNum = 1
dateRange.value = []
getRefund()
}

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