From 24f769a7bfb53066677db4c43d38d473a19d6554 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=9C=E7=AC=99=E6=AD=8C?= <2277317060@qq.com> Date: Fri, 15 Dec 2023 22:09:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=95=8C=E9=9D=A2=E6=98=BE?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/model/model.vue | 160 +++++++++++++++++++++----------------- 1 file changed, 88 insertions(+), 72 deletions(-) diff --git a/src/views/model/model.vue b/src/views/model/model.vue index 503e55a..9a7e3e1 100644 --- a/src/views/model/model.vue +++ b/src/views/model/model.vue @@ -144,7 +144,8 @@ export default { width: 6, height: 4, bgColor: '#2f5597', - text: '内胆
自动成型' + text: '内胆
自动成型', + link: '/board/liner', }, { top: 2, @@ -152,7 +153,8 @@ export default { width: 6, height: 4, bgColor: '#ed7d31', - text: '内胆预装' + text: '内胆预装', + link: '/board/liner', }, { top: 2, @@ -160,7 +162,8 @@ export default { width: 6, height: 4, bgColor: '#7f7f7f', - text: '内胆
集存库' + text: '内胆
集存库', + link: '/board/liner', }, // 二层 @@ -170,7 +173,8 @@ export default { width: 6, height: 4, bgColor: '#2f5597', - text: '箱壳
自动成型' + text: '箱壳
自动成型', + link: '/board/caseShell2', }, { top: 35, @@ -178,7 +182,8 @@ export default { width: 6, height: 4, bgColor: '#ed7d31', - text: '箱壳预装' + text: '箱壳预装', + link: '/board/foaming', }, { top: 35, @@ -186,7 +191,8 @@ export default { width: 6, height: 4, bgColor: '#7f7f7f', - text: '箱壳
集存库' + text: '箱壳
集存库', + link: '/board/foaming', }, // 一二合 @@ -196,7 +202,8 @@ export default { width: 6, height: 4, bgColor: '#f4b183', - text: '壳胆
组装' + text: '壳胆
组装', + link: '/board/caseShell2', }, { top: 17, @@ -204,7 +211,8 @@ export default { width: 6, height: 4, bgColor: '#7f7f7f', - text: '箱体
预装' + text: '箱体
预装', + link: '/board/caseShell2', }, { top: 17, @@ -212,7 +220,8 @@ export default { width: 6, height: 4, bgColor: '#00b050', - text: '箱体
发泡' + text: '箱体
发泡', + link: '/board/foaming', }, { top: 17, @@ -220,7 +229,8 @@ export default { width: 6, height: 4, bgColor: '#f4b183', - text: '门体
安装' + text: '门体
安装', + link: '/board/foaming2', }, { top: 17, @@ -228,7 +238,7 @@ export default { width: 6, height: 4, bgColor: '#7f7f7f', - text: '发泡箱体库' + text: '发泡箱体库', }, { top: 17, @@ -236,7 +246,8 @@ export default { width: 6, height: 4, bgColor: '#ffc000', - text: '焊接' + text: '焊接', + link: '/board/pourInto', }, { top: 17, @@ -244,7 +255,8 @@ export default { width: 6, height: 4, bgColor: '#00b050', - text: '抽空
灌注' + text: '抽空
灌注', + link: '/board/pourInto', }, { top: 17, @@ -252,7 +264,7 @@ export default { width: 6, height: 4, bgColor: '#ffc000', - text: '性能
检测' + text: '性能
检测', }, { top: 17, @@ -260,7 +272,8 @@ export default { width: 6, height: 4, bgColor: '#f4b183', - text: '包装
入库' + text: '包装
入库', + link: '/board/scanDown', }, // 三层 @@ -270,7 +283,8 @@ export default { width: 6, height: 4, bgColor: '#2f5597', - text: '门壳
自动成型' + text: '门壳
自动成型', + link: '/board/liner', }, { top: 68, @@ -278,7 +292,8 @@ export default { width: 6, height: 4, bgColor: '#ed7d31', - text: '门壳预装' + text: '门壳预装', + link: '/board/liner', }, { top: 68, @@ -286,7 +301,8 @@ export default { width: 6, height: 4, bgColor: '#00b050', - text: '门体
发泡' + text: '门体
发泡', + link: '/board/foaming2', }, { top: 68, @@ -294,7 +310,8 @@ export default { width: 6, height: 4, bgColor: '#7030a0', - text: '箱、门
匹配输送' + text: '箱、门
匹配输送', + link: '/board/foaming2', } ], wireOptions: [ @@ -533,58 +550,58 @@ export default { const viewer = new AMRT.Viewer('container', param) let num = 0 let modelArr = [ - // '1733002676922355712', - // '1733002653367144448', - // '1733000805830758400', - // '1733000710250958848', - // '1733000650326937600', - // '1733000643133706240', - // '1733000491190849536', - // '1733000457527365632', - // '1733000436912361472', - // '1733000276484427776', - // '1733000223309041664', - // '1733000212462571520', - // - // '1733000038533173248', - // '1733000034217234432', - // '1732999987471716352', - // '1732999849172930560', - // - // '1732999837521154048', - // '1732999828495011840', - // '1732999786233204736', - // '1732999740666286080', - // '1732999667089805312', - // '1732999638983774208', - // '1732999634021912576', - // '1732999618410713088', - // - // '1732999607128035328', - // '1732999597858623488', - // '1732999559069700096', - // '1732999554745372672', - // '1732999550429433856', - // '1732999507391680512', - // '1732999493042966528', - // '1732999471010287616', - // '1732999442811981824', - // '1732999424952635392', - // '1732999411254038528', - // '1732999390441902080', - // '1732999384255303680', - // '1732999376583921664', - // '1732999305662435328', - // '1732999305557577728', - // '1732999301107421184', + '1733002676922355712', + '1733002653367144448', + '1733000805830758400', + '1733000710250958848', + '1733000650326937600', + '1733000643133706240', + '1733000491190849536', + '1733000457527365632', + '1733000436912361472', + '1733000276484427776', + '1733000223309041664', + '1733000212462571520', + + '1733000038533173248', + '1733000034217234432', + '1732999987471716352', + '1732999849172930560', + + '1732999837521154048', + '1732999828495011840', + '1732999786233204736', + '1732999740666286080', + '1732999667089805312', + '1732999638983774208', + '1732999634021912576', + '1732999618410713088', + + '1732999607128035328', + '1732999597858623488', + '1732999559069700096', + '1732999554745372672', + '1732999550429433856', + '1732999507391680512', + '1732999493042966528', + '1732999471010287616', + '1732999442811981824', + '1732999424952635392', + '1732999411254038528', + '1732999390441902080', + '1732999384255303680', + '1732999376583921664', + '1732999305662435328', + '1732999305557577728', + '1732999301107421184', // 1-1 - // '1733052342019952640', - // '1733052332985421824', - // '1733052278396555264', - // '1733052278291697664', - // '1733052273975758848', - // '1733052268669964288', + '1733052342019952640', + '1733052332985421824', + '1733052278396555264', + '1733052278291697664', + '1733052273975758848', + '1733052268669964288', ] modelArr.forEach(e => { let model = viewer.loadModel(e, { @@ -641,9 +658,8 @@ export default { setNowFlowIndex(k) { this.nowFlowIndex = k }, - toLink(e){ - console.log(e.link) - this.$router.push('/board/liner') + toLink(e) { + e.link && this.$router.push(e.link) } } };