diff --git a/src/views/processManagement/taskDispatch.vue b/src/views/processManagement/taskDispatch.vue index 7fed8e6..aa2f3ff 100644 --- a/src/views/processManagement/taskDispatch.vue +++ b/src/views/processManagement/taskDispatch.vue @@ -74,7 +74,7 @@ export default { border: true, index: true, selection: true, - selectable:false, + selectable: false, viewBtn: false, delBtn: false, editBtn: false, @@ -278,15 +278,43 @@ export default { }, // 加载页面数据 onLoad(page, params = {}) { - this.loading = true; + this.loading = false; - getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { - this.data = res.data.data.records; + // getList(page.currentPage, page.pageSize, Object.assign(params, this.query)).then(res => { + // this.data = res.data.data.records; - this.loading = false; - this.page.total = res.data.data.total; - this.selectionClear(); - }); + // this.loading = false; + // this.page.total = res.data.data.total; + // this.selectionClear(); + // }); + this.data = [ + { + children: [ + { + partCode: '123', + partName: '123', + partNo: '123', + partQty: '123', + partStatus: '123', + partType: '123', + partUnit: '123', + partWorkCenter: '123', + partWorkCenterName: '123', + partWorkCenterType: '123', + partWorkCenterTypeName: '123', + + } + ], + partCode: '123', + partName: '123', + taskType: '123', + pdmCreateTime: '123', + pdmWay: '123', + wayDetails: '123', + wipTake: '123', + remarks: '123', + }, + ]; }, }, };