个人周报填报页面增加分页,个人周报填报详情页面更改
This commit is contained in:
parent
f4121f89b2
commit
97e0580ca2
@ -85,8 +85,11 @@
|
|||||||
if (userId === '0') {
|
if (userId === '0') {
|
||||||
this.isSuper = true;
|
this.isSuper = true;
|
||||||
}
|
}
|
||||||
// this.pageLoading = true;
|
let projectWeeklyFindReq={
|
||||||
Api.ProjectManagements.getWeekly().then(result=>{
|
pageNo:this.pageNo,
|
||||||
|
pageSize:this.pageSize
|
||||||
|
}
|
||||||
|
Api.ProjectManagements.getWeekly(projectWeeklyFindReq).then(result=>{
|
||||||
this.tableRowsData = [];
|
this.tableRowsData = [];
|
||||||
this.pageLoading = false;
|
this.pageLoading = false;
|
||||||
console.log("周报填报列表",result)
|
console.log("周报填报列表",result)
|
||||||
@ -101,6 +104,8 @@
|
|||||||
thisWeek: dataList[i].thisWeek,
|
thisWeek: dataList[i].thisWeek,
|
||||||
nextWeek: dataList[i].nextWeek
|
nextWeek: dataList[i].nextWeek
|
||||||
})
|
})
|
||||||
|
// this.pageNo=result.data.pages
|
||||||
|
this.tableTotalPage=result.data.total
|
||||||
}
|
}
|
||||||
console.log("tableRowsData",this.tableRowsData)
|
console.log("tableRowsData",this.tableRowsData)
|
||||||
}
|
}
|
||||||
@ -174,7 +179,7 @@
|
|||||||
},
|
},
|
||||||
tableSingleCheck (index){
|
tableSingleCheck (index){
|
||||||
this.$router.push({
|
this.$router.push({
|
||||||
name: "ExpenseClaimApplyCheck",
|
name: "ExpenseClaimApplyEdit",
|
||||||
params: {id: this.tableRowsData[index].id}
|
params: {id: this.tableRowsData[index].id}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user