优化分页统一返回

This commit is contained in:
不做码农
2021-11-28 11:11:34 +08:00
parent 79b3c306f9
commit 8dc832cdbd
37 changed files with 145 additions and 357 deletions

View File

@@ -291,7 +291,7 @@ export default {
this.loading = true;
queryTasks(this.queryParams).then((response) => {
this.dataTasks = response.data.result;
this.total = response.data.totalCount;
this.total = response.data.totalNum;
this.loading = false;
});
},

View File

@@ -161,7 +161,7 @@ export default {
listJobLog(this.addDateRange(this.queryParams, this.dateRange)).then(
(response) => {
this.jobLogList = response.data.result;
this.total = response.data.totalCount;
this.total = response.data.totalNum;
this.loading = false;
}
);