From 83e5d4c26d40017c99de854f02af712cf142cab3 Mon Sep 17 00:00:00 2001 From: zhangdi <1104545947@qq.com> Date: Mon, 30 Mar 2026 21:48:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E8=89=BA=E4=BB=BB=E5=8A=A1=E5=88=86?= =?UTF-8?q?=E6=B4=BE=E9=A1=B5=E9=9D=A2=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/processManagement/taskDispatch.vue | 44 ++++++++++++++++---- 1 file changed, 36 insertions(+), 8 deletions(-) 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', + }, + ]; }, }, };