修改界面显示

master
夜笙歌 9 months ago
parent 492e87d22f
commit 24f769a7bf

@ -144,7 +144,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#2f5597', bgColor: '#2f5597',
text: '内胆<br>自动成型' text: '内胆<br>自动成型',
link: '/board/liner',
}, },
{ {
top: 2, top: 2,
@ -152,7 +153,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#ed7d31', bgColor: '#ed7d31',
text: '内胆预装' text: '内胆预装',
link: '/board/liner',
}, },
{ {
top: 2, top: 2,
@ -160,7 +162,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#7f7f7f', bgColor: '#7f7f7f',
text: '内胆<br>集存库' text: '内胆<br>集存库',
link: '/board/liner',
}, },
// //
@ -170,7 +173,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#2f5597', bgColor: '#2f5597',
text: '箱壳<br>自动成型' text: '箱壳<br>自动成型',
link: '/board/caseShell2',
}, },
{ {
top: 35, top: 35,
@ -178,7 +182,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#ed7d31', bgColor: '#ed7d31',
text: '箱壳预装' text: '箱壳预装',
link: '/board/foaming',
}, },
{ {
top: 35, top: 35,
@ -186,7 +191,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#7f7f7f', bgColor: '#7f7f7f',
text: '箱壳<br>集存库' text: '箱壳<br>集存库',
link: '/board/foaming',
}, },
// //
@ -196,7 +202,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#f4b183', bgColor: '#f4b183',
text: '壳胆<br>组装' text: '壳胆<br>组装',
link: '/board/caseShell2',
}, },
{ {
top: 17, top: 17,
@ -204,7 +211,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#7f7f7f', bgColor: '#7f7f7f',
text: '箱体<br>预装' text: '箱体<br>预装',
link: '/board/caseShell2',
}, },
{ {
top: 17, top: 17,
@ -212,7 +220,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#00b050', bgColor: '#00b050',
text: '箱体<br>发泡' text: '箱体<br>发泡',
link: '/board/foaming',
}, },
{ {
top: 17, top: 17,
@ -220,7 +229,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#f4b183', bgColor: '#f4b183',
text: '门体<br>安装' text: '门体<br>安装',
link: '/board/foaming2',
}, },
{ {
top: 17, top: 17,
@ -228,7 +238,7 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#7f7f7f', bgColor: '#7f7f7f',
text: '发泡箱体库' text: '发泡箱体库',
}, },
{ {
top: 17, top: 17,
@ -236,7 +246,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#ffc000', bgColor: '#ffc000',
text: '焊接' text: '焊接',
link: '/board/pourInto',
}, },
{ {
top: 17, top: 17,
@ -244,7 +255,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#00b050', bgColor: '#00b050',
text: '抽空<br>灌注' text: '抽空<br>灌注',
link: '/board/pourInto',
}, },
{ {
top: 17, top: 17,
@ -252,7 +264,7 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#ffc000', bgColor: '#ffc000',
text: '性能<br>检测' text: '性能<br>检测',
}, },
{ {
top: 17, top: 17,
@ -260,7 +272,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#f4b183', bgColor: '#f4b183',
text: '包装<br>入库' text: '包装<br>入库',
link: '/board/scanDown',
}, },
// //
@ -270,7 +283,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#2f5597', bgColor: '#2f5597',
text: '门壳<br>自动成型' text: '门壳<br>自动成型',
link: '/board/liner',
}, },
{ {
top: 68, top: 68,
@ -278,7 +292,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#ed7d31', bgColor: '#ed7d31',
text: '门壳预装' text: '门壳预装',
link: '/board/liner',
}, },
{ {
top: 68, top: 68,
@ -286,7 +301,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#00b050', bgColor: '#00b050',
text: '门体<br>发泡' text: '门体<br>发泡',
link: '/board/foaming2',
}, },
{ {
top: 68, top: 68,
@ -294,7 +310,8 @@ export default {
width: 6, width: 6,
height: 4, height: 4,
bgColor: '#7030a0', bgColor: '#7030a0',
text: '箱、门<br>匹配输送' text: '箱、门<br>匹配输送',
link: '/board/foaming2',
} }
], ],
wireOptions: [ wireOptions: [
@ -533,58 +550,58 @@ export default {
const viewer = new AMRT.Viewer('container', param) const viewer = new AMRT.Viewer('container', param)
let num = 0 let num = 0
let modelArr = [ let modelArr = [
// '1733002676922355712', '1733002676922355712',
// '1733002653367144448', '1733002653367144448',
// '1733000805830758400', '1733000805830758400',
// '1733000710250958848', '1733000710250958848',
// '1733000650326937600', '1733000650326937600',
// '1733000643133706240', '1733000643133706240',
// '1733000491190849536', '1733000491190849536',
// '1733000457527365632', '1733000457527365632',
// '1733000436912361472', '1733000436912361472',
// '1733000276484427776', '1733000276484427776',
// '1733000223309041664', '1733000223309041664',
// '1733000212462571520', '1733000212462571520',
//
// '1733000038533173248', '1733000038533173248',
// '1733000034217234432', '1733000034217234432',
// '1732999987471716352', '1732999987471716352',
// '1732999849172930560', '1732999849172930560',
//
// '1732999837521154048', '1732999837521154048',
// '1732999828495011840', '1732999828495011840',
// '1732999786233204736', '1732999786233204736',
// '1732999740666286080', '1732999740666286080',
// '1732999667089805312', '1732999667089805312',
// '1732999638983774208', '1732999638983774208',
// '1732999634021912576', '1732999634021912576',
// '1732999618410713088', '1732999618410713088',
//
// '1732999607128035328', '1732999607128035328',
// '1732999597858623488', '1732999597858623488',
// '1732999559069700096', '1732999559069700096',
// '1732999554745372672', '1732999554745372672',
// '1732999550429433856', '1732999550429433856',
// '1732999507391680512', '1732999507391680512',
// '1732999493042966528', '1732999493042966528',
// '1732999471010287616', '1732999471010287616',
// '1732999442811981824', '1732999442811981824',
// '1732999424952635392', '1732999424952635392',
// '1732999411254038528', '1732999411254038528',
// '1732999390441902080', '1732999390441902080',
// '1732999384255303680', '1732999384255303680',
// '1732999376583921664', '1732999376583921664',
// '1732999305662435328', '1732999305662435328',
// '1732999305557577728', '1732999305557577728',
// '1732999301107421184', '1732999301107421184',
// 1-1 // 1-1
// '1733052342019952640', '1733052342019952640',
// '1733052332985421824', '1733052332985421824',
// '1733052278396555264', '1733052278396555264',
// '1733052278291697664', '1733052278291697664',
// '1733052273975758848', '1733052273975758848',
// '1733052268669964288', '1733052268669964288',
] ]
modelArr.forEach(e => { modelArr.forEach(e => {
let model = viewer.loadModel(e, { let model = viewer.loadModel(e, {
@ -641,9 +658,8 @@ export default {
setNowFlowIndex(k) { setNowFlowIndex(k) {
this.nowFlowIndex = k this.nowFlowIndex = k
}, },
toLink(e){ toLink(e) {
console.log(e.link) e.link && this.$router.push(e.link)
this.$router.push('/board/liner')
} }
} }
}; };

Loading…
Cancel
Save