diff --git a/src/views/productionManagement/workReportingManagement.vue b/src/views/productionManagement/workReportingManagement.vue index 7201181..3263f70 100644 --- a/src/views/productionManagement/workReportingManagement.vue +++ b/src/views/productionManagement/workReportingManagement.vue @@ -61,7 +61,7 @@ @@ -248,7 +248,6 @@ export default { }, // 页面切换获取数据 onLoad(page, params = {}) { - this.loading = true; if (this.tabPosition == 'workReporting') { // getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { // this.data = res.data.data.records; @@ -258,6 +257,7 @@ export default { // this.selectionClear(); // }); } else { + this.loading = true; getRecordList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then( res => { this.data = res.data.data.records;