frontend & backend update

This commit is contained in:
2023-01-16 21:47:23 +01:00
parent 1d6ff17994
commit 4cec531a25
51 changed files with 1010 additions and 571 deletions

View File

@@ -25,6 +25,10 @@ class Pagination {
this.setData({...this.data, pageSize: pageSize});
}
setTotal(count) {
this.setData({...this.data, total: count});
}
reset() {
this.setData({current: 1, pageSize: 25, total: 0});
}
@@ -37,6 +41,10 @@ class Pagination {
}
}
getParams() {
return [this.data.current, this.data.pageSize];
}
getTotal() {
return this.data.total;
}