diff --git a/src/views/productionManagement/js/wordReporting.js b/src/views/productionManagement/js/wordReporting.js index 1214ad0..e47ac30 100644 --- a/src/views/productionManagement/js/wordReporting.js +++ b/src/views/productionManagement/js/wordReporting.js @@ -165,7 +165,7 @@ export default { }, { label: '调整时间', - prop: 'adjustmentTime', + prop: 'updateTime', span: 24, overflow: true, search: false, diff --git a/src/views/productionManagement/workReportingManagement.vue b/src/views/productionManagement/workReportingManagement.vue index 39e9401..7201181 100644 --- a/src/views/productionManagement/workReportingManagement.vue +++ b/src/views/productionManagement/workReportingManagement.vue @@ -224,6 +224,28 @@ export default { } }); }, + currentChange(currentPage) { + this.page.currentPage = currentPage; + this.onLoad(this.page, this.query); + }, + sizeChange(pageSize) { + this.page.pageSize = pageSize; + this.onLoad(this.page, this.query); + }, + refreshChange() { + this.onLoad(this.page, this.query); + }, + searchReset() { + this.query = {}; + this.treeDeptId = ''; + this.onLoad(this.page, this.query); + }, + searchChange(params, done) { + this.query = params; + this.page.currentPage = 1; + this.onLoad(this.page, params); + done(); + }, // 页面切换获取数据 onLoad(page, params = {}) { this.loading = true;