From 637d1816382c97ef7d0bef24d5d80fc8b8f2c86e Mon Sep 17 00:00:00 2001 From: lb Date: Tue, 31 Jan 2023 17:02:23 +0800 Subject: [PATCH 1/2] update 3doverview --- .../3DOverview/components/LeftContentPublicConsume.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/3DOverview/components/LeftContentPublicConsume.vue b/src/views/3DOverview/components/LeftContentPublicConsume.vue index 3ca17c8..301093b 100644 --- a/src/views/3DOverview/components/LeftContentPublicConsume.vue +++ b/src/views/3DOverview/components/LeftContentPublicConsume.vue @@ -216,13 +216,13 @@ export default { width: 99%; } .bar-width-4::after { - width: 20%; + width: 42%; } .bar-width-5::after { - width: 29%; + width: 61%; } .bar-width-6::after { - width: 79%; + width: 31%; } .diy-process-bar.color-1::after { -- 2.24.3 From 942da81c4f90bd08fe71623f4f47b1d975529f22 Mon Sep 17 00:00:00 2001 From: lb Date: Wed, 1 Feb 2023 09:50:58 +0800 Subject: [PATCH 2/2] update V3dApp data.js --- .../components/LeftContentPublicConsume.vue | 1 + src/views/3DOverview/index.vue | 1 + src/views/3DOverview/v3dApp/data.js | 31 ++++++++++--------- 3 files changed, 18 insertions(+), 15 deletions(-) diff --git a/src/views/3DOverview/components/LeftContentPublicConsume.vue b/src/views/3DOverview/components/LeftContentPublicConsume.vue index 301093b..017f57c 100644 --- a/src/views/3DOverview/components/LeftContentPublicConsume.vue +++ b/src/views/3DOverview/components/LeftContentPublicConsume.vue @@ -186,6 +186,7 @@ export default { .row > .amount { text-align: right; + width: 15%; } .diy-process-bar { diff --git a/src/views/3DOverview/index.vue b/src/views/3DOverview/index.vue index ac37b12..09d0716 100644 --- a/src/views/3DOverview/index.vue +++ b/src/views/3DOverview/index.vue @@ -170,6 +170,7 @@ export default { }, handle3DClick() { this.eqId = document.getElementById('V3DData').rel + // alert(this.eqId) if (this.eqId) { this.currentEquipment = eqList.find(item => item.id === this.eqId) } diff --git a/src/views/3DOverview/v3dApp/data.js b/src/views/3DOverview/v3dApp/data.js index 8388e62..c9f5f82 100644 --- a/src/views/3DOverview/v3dApp/data.js +++ b/src/views/3DOverview/v3dApp/data.js @@ -1,21 +1,23 @@ export default [ + { id: 'C123-1', pl: 'A', name: 'A钢化', amount: 32, status: '生产中' }, + { id: 'C456-1', pl: 'B', name: 'B钢化', amount: 32, status: '生产中' }, + { id: 'C1-0', pl: 'A1', name: 'A1上片', amount: 32, status: '生产中' }, { id: 'C1-1', pl: 'A1', name: 'A1磨边', amount: 32, status: '生产中' }, - { id: 'C1-2', pl: 'A1', name: 'A1磨边后清洗', amount: 32, status: '调试中' }, + { id: 'C1-2', pl: 'A1', name: 'A1磨边后清洗', amount: 32, status: '生产中' }, { id: 'C1-3', pl: 'A1', name: 'A1打孔', amount: 32, status: '生产中' }, { id: 'C1-4', pl: 'A1', name: 'A1打孔后清洗', amount: 32, status: '生产中' }, { id: 'C1-5', pl: 'A1', name: 'A1丝印', amount: 32, status: '生产中' }, { id: 'C1-6', pl: 'A1', name: 'A1固化', amount: 32, status: '生产中' }, { id: 'C1-7', pl: 'A1', name: 'A1储片', amount: 32, status: '生产中' }, - { id: 'C1-8', pl: 'A1', name: 'A钢化', amount: 32, status: '生产中' }, - { id: 'C1-9', pl: 'A1', name: 'A1钢化后清洗', amount: 32, status: '生产中' }, - { id: 'C1-10', pl: 'A1', name: 'A1下片', amount: 32, status: '生产中' }, + { id: 'C1-8', pl: 'A1', name: 'A1钢化后清洗', amount: 32, status: '生产中' }, + { id: 'C1-9', pl: 'A1', name: 'A1下片', amount: 32, status: '生产中' }, { id: 'C2-0', pl: 'A2', name: 'A2上片', amount: 32, status: '调试中' }, { id: 'C2-1', pl: 'A2', name: 'A2磨边', amount: 32, status: '生产中' }, { id: 'C2-2', pl: 'A2', name: 'A2磨边后清洗', amount: 32, status: '调试中' }, { id: 'C2-3', pl: 'A2', name: 'A2打孔', amount: 32, status: '调试中' }, - { id: 'C2-4', pl: 'A2', name: 'A2打孔后清洗', amount: 32, status: '调试中' }, + { id: 'C2-4', pl: 'A2', name: 'A2打孔后清洗', amount: 32, status: '生产中' }, { id: 'C2-5', pl: 'A2', name: 'A2丝印', amount: 32, status: '生产中' }, { id: 'C2-6', pl: 'A2', name: 'A2固化', amount: 32, status: '生产中' }, { id: 'C2-7', pl: 'A2', name: 'A2储片', amount: 32, status: '生产中' }, @@ -26,8 +28,8 @@ export default [ { id: 'C3-1', pl: 'A3', name: 'A3磨边', amount: 32, status: '生产中' }, { id: 'C3-2', pl: 'A3', name: 'A3磨边后清洗', amount: 32, status: '生产中' }, { id: 'C3-3', pl: 'A3', name: 'A3打孔', amount: 32, status: '生产中' }, - { id: 'C3-4', pl: 'A3', name: 'A3打孔后清洗', amount: 32, status: '生产中' }, - { id: 'C3-5', pl: 'A3', name: 'A3丝印', amount: 32, status: '故障' }, + { id: 'C3-4', pl: 'A3', name: 'A3打孔后清洗', amount: 32, status: '故障' }, + { id: 'C3-5', pl: 'A3', name: 'A3丝印', amount: 32, status: '生产中' }, { id: 'C3-6', pl: 'A3', name: 'A3固化', amount: 32, status: '生产中' }, { id: 'C3-7', pl: 'A3', name: 'A3储片', amount: 32, status: '生产中' }, { id: 'C3-8', pl: 'A3', name: 'A3钢化后清洗', amount: 32, status: '生产中' }, @@ -35,15 +37,14 @@ export default [ { id: 'C4-0', pl: 'B1', name: 'B1上片', amount: 32, status: '故障' }, { id: 'C4-1', pl: 'B1', name: 'B1磨边', amount: 32, status: '生产中' }, - { id: 'C4-2', pl: 'B1', name: 'B1磨边后清洗', amount: 32, status: '生产中' }, + { id: 'C4-2', pl: 'B1', name: 'B1磨边后清洗', amount: 32, status: '故障' }, { id: 'C4-3', pl: 'B1', name: 'B1打孔', amount: 32, status: '故障' }, - { id: 'C4-4', pl: 'B1', name: 'B1打孔后清洗', amount: 32, status: '故障' }, + { id: 'C4-4', pl: 'B1', name: 'B1打孔后清洗', amount: 32, status: '生产中' }, { id: 'C4-5', pl: 'B1', name: 'B1丝印', amount: 32, status: '生产中' }, { id: 'C4-6', pl: 'B1', name: 'B1固化', amount: 32, status: '生产中' }, { id: 'C4-7', pl: 'B1', name: 'B1储片', amount: 32, status: '生产中' }, - { id: 'C4-8', pl: 'B1', name: 'B钢化', amount: 32, status: '生产中' }, - { id: 'C4-9', pl: 'B1', name: 'B1钢化后清洗', amount: 32, status: '生产中' }, - { id: 'C4-10', pl: 'B1', name: 'B下片', amount: 32, status: '生产中' }, + { id: 'C4-8', pl: 'B1', name: 'B1钢化后清洗', amount: 32, status: '生产中' }, + { id: 'C4-9', pl: 'B1', name: 'B下片', amount: 32, status: '生产中' }, { id: 'C5-0', pl: 'B2', name: 'B2上片', amount: 32, status: '生产中' }, { id: 'C5-1', pl: 'B2', name: 'B2磨边', amount: 32, status: '生产中' }, @@ -61,6 +62,6 @@ export default [ { id: 'C6-3', pl: 'B3', name: 'B3打孔', amount: 32, status: '生产中' }, { id: 'C6-4', pl: 'B3', name: 'B3打孔后清洗', amount: 32, status: '生产中' }, { id: 'C6-5', pl: 'B3', name: 'B3丝印', amount: 32, status: '生产中' }, - { id: 'C6-6', pl: 'B3', name: 'B3固化', amount: 32, status: '生产中' }, - { id: 'C6-7', pl: 'B3', name: 'B3储片', amount: 32, status: '故障' }, -] \ No newline at end of file + { id: 'C6-6', pl: 'B3', name: 'B3固化', amount: 32, status: '故障' }, + { id: 'C6-7', pl: 'B3', name: 'B3储片', amount: 32, status: '故障' } +] -- 2.24.3