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 ++--
src/views/system/report/index.vue | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/views/system/report/index.vue b/src/views/system/report/index.vue
index 259d6fb..8ca0331 100644
--- a/src/views/system/report/index.vue
+++ b/src/views/system/report/index.vue
@@ -344,7 +344,7 @@
this.queryParams["endAuditingTime"] = this.daterangeAuditingTime[1];
}
listReport(this.queryParams).then(response => {
- this.reportList = response.data;
+ this.reportList = response.data.records;
this.total = response.total;
this.loading = false;
});
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