From 1134e1021cd3b164d3d736e85533345a7d7851a3 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?yinjinlu-pc=5C=E5=B0=B9=E9=87=91=E8=B7=AF?=
<411641505@qq.com>
Date: Wed, 29 Mar 2023 11:00:33 +0800
Subject: [PATCH] =?UTF-8?q?=E6=8E=92=E4=BA=A7=E9=A1=B5=E9=9D=A2=E5=88=86?=
=?UTF-8?q?=E9=A1=B5?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/mes/pro/schedule/index.vue | 15 ++++++++++++++-
1 file changed, 14 insertions(+), 1 deletion(-)
diff --git a/src/views/mes/pro/schedule/index.vue b/src/views/mes/pro/schedule/index.vue
index cba8103..546feb9 100644
--- a/src/views/mes/pro/schedule/index.vue
+++ b/src/views/mes/pro/schedule/index.vue
@@ -138,6 +138,14 @@
+
+
@@ -292,6 +300,8 @@ export default {
loading: true,
// 显示搜索条件
showSearch: true,
+ // 总条数
+ total: 0,
// 非单个禁用
single: true,
// 非多个禁用
@@ -308,6 +318,8 @@ export default {
open: false,
// 查询参数
queryParams: {
+ pageNum: 1,
+ pageSize: 10,
workorderCode: null,
workorderName: null,
orderSource: null,
@@ -346,7 +358,8 @@ export default {
getList() {
this.loading = true;
listWorkorder(this.queryParams).then(response => {
- this.workorderList = this.handleTree(response.data, "workorderId", "parentId");
+ this.workorderList = this.handleTree(response.rows, "workorderId", "parentId");
+ this.total = response.total;
this.loading = false;
});
},