fix: 修复分页问题 supervision/mytask

This commit is contained in:
zty 2024-10-25 16:16:57 +08:00
parent 50540c6c38
commit be5ada2da1
1 changed files with 1 additions and 10 deletions

View File

@ -801,7 +801,7 @@
type: 10, type: 10,
}; };
const listQuery = { const listQuery = {
page: 1, page: 0,
belong_dept:null, belong_dept:null,
page_size: 20, page_size: 20,
}; };
@ -1026,7 +1026,6 @@
that.numbers.num_acc = ''; that.numbers.num_acc = '';
that.numbers.num_expect = ''; that.numbers.num_expect = '';
that.numbers.num_issue = ''; that.numbers.num_issue = '';
that.listQuery.page = 1;
that.orgData.filter(item=>{ that.orgData.filter(item=>{
if(item.id==that.listQuery.belong_dept){ if(item.id==that.listQuery.belong_dept){
that.deptName = item.name; that.deptName = item.name;
@ -1037,14 +1036,6 @@
close_dialog(){ close_dialog(){
this.dialogOin = false this.dialogOin = false
}, },
resetFilter() {
this.listQuery = {
page: 1,
belong_dept:'',
page_size: 20,
}
this.getList();
},
itemClick(item){ itemClick(item){
// console.log(item); // console.log(item);
let that = this; let that = this;