flat: 国庆节暂存

This commit is contained in:
史典卓
2024-10-09 09:39:34 +08:00
parent c40af81ac4
commit 9d9d7972c9
24 changed files with 571 additions and 285 deletions

View File

@@ -31,7 +31,7 @@ import {addServeLog, getMainServeUserLog, removeServeLog, updateServeLog} from "
import {getTenantTalentsWarn, tenantTalentsWarn, updateTenantTalentsWarn} from "@/api/tenant/LocalWarningDisposal";
const page = {
pageSize: 10,
size: 10,
currentPage: 1,
total: 0,
}
@@ -190,15 +190,15 @@ export default {
this.page.currentPage = currentPage;
this.onLoad(this.page, this.query);
},
sizeChange(pageSize) {
this.page.pageSize = pageSize;
sizeChange(size) {
this.page.size = size;
this.onLoad(this.page, this.query);
},
onLoad(page, params = {}) {
const {releaseTimeRange} = params;
let paramsed = {
current: page.currentPage,
pageSize: page.pageSize,
size: page.size,
...this.query
};
this.loading = true;
@@ -207,7 +207,7 @@ export default {
this.dataSource = records;
this.loading = false;
this.page = {
pageSize: size,
size: size,
currentPage: current,
total: total,
}