新增坐席加分页页码

This commit is contained in:
liuxi 2025-03-04 14:57:21 +08:00
parent 2f28185364
commit 6c76fc0a08
3 changed files with 17 additions and 10 deletions

View File

@ -321,11 +321,11 @@
<div class="text-center pt-16">
<el-pagination
@size-change="getCaseInfoList"
@size-change="handleSizeChange"
@current-change="getCaseInfoList"
:current-page="queryParam.current"
:page-size="queryParam.size"
layout="total, prev, pager, next, jumper"
layout="total, prev, pager, next, sizes, jumper"
:total="total">
</el-pagination>
</div>
@ -579,6 +579,10 @@ import { values } from "lodash";
currentPage:this.queryParam.current
}
},
handleSizeChange(val){
this.queryParam.size = val;
this.getCaseInfoList(1)
},
//
getCaseInfoList(val){
//
@ -613,7 +617,7 @@ import { values } from "lodash";
this.queryDate = ''
},
handleSearch() {
this.queryParam.size = 10;
// this.queryParam.size = 10;
this.queryParam.current = 1;
this.getCaseInfoList(1)
},

View File

@ -345,11 +345,11 @@
<div class="text-center pt-16">
<el-pagination
@size-change="getCaseInfoList"
@size-change="handleSizeChange"
@current-change="getCaseInfoList"
:current-page="queryParam.current"
:page-size="queryParam.size"
layout="total, prev, pager, next, jumper"
layout="total, prev, pager, next, sizes, jumper"
:total="total">
</el-pagination>
</div>
@ -691,6 +691,10 @@ import { values } from "lodash";
currentPage:this.queryParam.current
}
},
handleSizeChange(val){
this.queryParam.size = val;
this.getCaseInfoList(1)
},
//
getCaseInfoList(val){
//
@ -734,7 +738,6 @@ import { values } from "lodash";
this.getCaseInfoList(1)
},
handleSearch() {
this.queryParam.size = 10;
this.queryParam.current = 1;
this.getCaseInfoList(1)
},

View File

@ -4,7 +4,7 @@
<div class="flex-row justify-content-between height-56 align-items-center">
<div class="color-text-primary f22">坐席列表</div>
<div class="color-text-regular f14" >
<el-button type="primary" @click="handleAddForm" size="small">新增</el-button>
<el-button type="primary" @click="addOrEditRoleConfig = true" size="small">新增</el-button>
</div>
</div>
</div>
@ -39,8 +39,8 @@
<div class="text-center p-v-24">
<el-pagination
@size-change="getRoleList"
@current-change="getRoleList"
@size-change="getSeatList"
@current-change="getSeatList"
:current-page="queryData.current"
:page-size="queryData.size"
layout="total, prev, pager, next, jumper"
@ -89,7 +89,7 @@ export default {
size: 10,
},
total: 0,
addOrEditRoleConfig:null,//
addOrEditRoleConfig:false,//
}
},
created() {