From b76fd2fa93c2036d66e5142654cf66cf1e371531 Mon Sep 17 00:00:00 2001 From: 龚焕茏 <2842157468@qq.com> Date: 星期二, 30 四月 2024 17:12:34 +0800 Subject: [PATCH] 改为连表查询 --- src/views/system/work-order/distribute/index.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/system/work-order/distribute/index.vue b/src/views/system/work-order/distribute/index.vue index 142e0dc..dce8735 100644 --- a/src/views/system/work-order/distribute/index.vue +++ b/src/views/system/work-order/distribute/index.vue @@ -202,7 +202,7 @@ queryParams: { unitId: null, pageNum: 1, - pageSize: 20, + pageSize: 10, }, // 鎬绘潯鏁� total: 0, @@ -266,7 +266,7 @@ this.loading = true; this.selectUnit(); distributeWorkOrder(this.queryParams).then(res => { - this.workOrderList = res.data; + this.workOrderList = res.data.records; this.total = res.total; this.loading = false; }) -- Gitblit v1.8.0