diff --git a/src/views/productionManagement/WIPChange.vue b/src/views/productionManagement/WIPChange.vue index 7a2d4fe..448899a 100644 --- a/src/views/productionManagement/WIPChange.vue +++ b/src/views/productionManagement/WIPChange.vue @@ -173,7 +173,7 @@ export default { }, { label: '调度员', - prop: 'searchCode', + prop: 'dispatchManName', search: true, sortable: true, filter: true, @@ -233,6 +233,28 @@ export default { closeDialog() { this.isHandleShow = false; this.isAssignShow = false; + }, + 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; @@ -240,7 +262,6 @@ export default { this.data = res.data.data.records; this.loading = false; this.page.total = res.data.data.total; - this.selectionClear(); }); }, },