报告模版配置

This commit is contained in:
sjl
2026-02-27 14:46:19 +08:00
parent b25515b5db
commit f5c76c1b7a
5 changed files with 222 additions and 181 deletions

View File

@@ -77,6 +77,7 @@ export default class TableStore {
}
index() {
this.table.beforeSearchFun && this.table.beforeSearchFun()
this.table.data = []
this.table.loading = true
@@ -97,10 +98,12 @@ export default class TableStore {
url: this.url,
method: this.method
},
requestPayload(this.method, this.table.params, this.paramsPOST)
)
)
.then((res: any) => {
if (res.data) {
this.table.data = res.data.records || res.data
this.table.total = res.data?.total || res.data.length || 0
@@ -137,7 +140,7 @@ export default class TableStore {
this.table.params.pageNum = 1
this.index()
console.log('search')
}
],
[