Commit 12074ca1 authored by huangyuanyuan's avatar huangyuanyuan

修改pagesize

parent 5202b17d
......@@ -1217,6 +1217,9 @@ export default {
cW = allW - 90;
cH = allH - 350;
this.msg.pageSize = parseInt(cH / 30) - 1;
if(this.msg.pageSize<=0){
this.msg.pageSize=10;
}
let userInfo = this.getLocalStorage();
this.getCompanyMsg.RB_Group_Id = userInfo.RB_Group_id; //集团ID
this.userId = userInfo.EmployeeId;
......@@ -1667,9 +1670,9 @@ export default {
this.msg,
res => {
if (res.data.resultCode == 1) {
let data = res.data.data.pageData;
let data = res.data.data.pmodel.pageData;
// res.data.data.TotalRevenue
this.total = res.data.data.count;
this.total = res.data.data.pmodel.count;
if (this.total == 0) {
this.DataList = [];
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment