From 4f4453045a18387fbba414b263902c00b5582072 Mon Sep 17 00:00:00 2001 From: lb Date: Wed, 16 Nov 2022 17:00:33 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E8=AE=BE=E5=A4=87=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/EquipmentManager/HomePage.vue | 34 ++++++---- .../components/TechyAnalysisHeader.vue | 12 ++-- .../components/TechyVerticalTable.vue | 25 +++++--- src/views/EquipmentManager/mockData.js | 62 ++++++++++++++++--- 4 files changed, 98 insertions(+), 35 deletions(-) diff --git a/src/views/EquipmentManager/HomePage.vue b/src/views/EquipmentManager/HomePage.vue index 9baf2da..fe9c373 100644 --- a/src/views/EquipmentManager/HomePage.vue +++ b/src/views/EquipmentManager/HomePage.vue @@ -96,19 +96,19 @@
突发性维护 - +
计划内保养 - +
防御性维护 - +
点检工单 - +
@@ -136,8 +136,14 @@ import { equipmentAnalysisData, sparepartsProps, sparepartsDatalist, - rightSideProps, - rightSideDatalist + suddenMaintainProps, + inPlanMaintainProps, + defenceMaintainProps, + wwwOrderProps, + rightSideDatalist, + rightSideDatalist2, + rightSideDatalist3, + rightSideDatalist4 } from './mockData' import { mapGetters } from 'vuex' @@ -171,8 +177,14 @@ export default { equipmentAnalysisData, sparepartsProps, sparepartsDatalist, - rightSideProps, - rightSideDatalist + suddenMaintainProps, + inPlanMaintainProps, + defenceMaintainProps, + wwwOrderProps, + rightSideDatalist, + rightSideDatalist2, + rightSideDatalist3, + rightSideDatalist4 // refreshKey: 0 } }, @@ -268,13 +280,13 @@ export default { .techy-container__inner { display: flex; flex-direction: column; - gap: calc(8px * var(--beilv)); - height: calc(100% - 4vh); + gap: calc(32px * var(--beilv)); + height: calc(100% - 3vh); /* overflow-y: scroll; */ overflow-y: auto; } .techy-container__inner > div { - flex: 1 1; + flex: 0; } .row-1, diff --git a/src/views/EquipmentManager/components/TechyAnalysisHeader.vue b/src/views/EquipmentManager/components/TechyAnalysisHeader.vue index bdb6258..43ca9a0 100644 --- a/src/views/EquipmentManager/components/TechyAnalysisHeader.vue +++ b/src/views/EquipmentManager/components/TechyAnalysisHeader.vue @@ -1,17 +1,17 @@