projects/mesxc-zhp #161
BIN
src/assets/images/choicepart/Cost.png
Normal file
BIN
src/assets/images/choicepart/Cost.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
BIN
src/assets/images/choicepart/Databoard.png
Normal file
BIN
src/assets/images/choicepart/Databoard.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
BIN
src/assets/images/choicepart/SafetyEnvironmental.png
Normal file
BIN
src/assets/images/choicepart/SafetyEnvironmental.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
@ -2,7 +2,7 @@
|
|||||||
<div class="choicepart-container">
|
<div class="choicepart-container">
|
||||||
<navbar />
|
<navbar />
|
||||||
<div class="choicepart-wrapper">
|
<div class="choicepart-wrapper">
|
||||||
<div class="choicepart-box" id="choicepartBox" :style="'transform:scale('+scale+');width:1574px;height:538px;'" v-show="showItem">
|
<div class="choicepart-box" id="choicepartBox" :style="'transform:scale('+scale+');width:1710px;height:538px;'" v-show="showItem">
|
||||||
<div class="choicepart-line1">
|
<div class="choicepart-line1">
|
||||||
<div
|
<div
|
||||||
v-for="(item, index) in menuArr1"
|
v-for="(item, index) in menuArr1"
|
||||||
@ -102,9 +102,7 @@ export default {
|
|||||||
meta: {
|
meta: {
|
||||||
title: ''
|
title: ''
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
],
|
|
||||||
menuArr2: [
|
|
||||||
{
|
{
|
||||||
name: 'Packaging',
|
name: 'Packaging',
|
||||||
title: '包装管理',
|
title: '包装管理',
|
||||||
@ -112,7 +110,9 @@ export default {
|
|||||||
meta: {
|
meta: {
|
||||||
title: ''
|
title: ''
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
|
],
|
||||||
|
menuArr2: [
|
||||||
{
|
{
|
||||||
name: 'Material',
|
name: 'Material',
|
||||||
title: '物料管理',
|
title: '物料管理',
|
||||||
@ -129,17 +129,41 @@ export default {
|
|||||||
title: ''
|
title: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
// {
|
||||||
|
// name: 'Delivery',
|
||||||
|
// title: '成品发货',
|
||||||
|
// visible: false,
|
||||||
|
// meta: {
|
||||||
|
// title: ''
|
||||||
|
// }
|
||||||
|
// },
|
||||||
{
|
{
|
||||||
name: 'Delivery',
|
name: 'Report',
|
||||||
title: '成品发货',
|
title: '报表管理',
|
||||||
visible: false,
|
visible: false,
|
||||||
meta: {
|
meta: {
|
||||||
title: ''
|
title: ''
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Report',
|
name: 'Cost',
|
||||||
title: '报表管理',
|
title: '成本管理',
|
||||||
|
visible: false,
|
||||||
|
meta: {
|
||||||
|
title: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'SafetyEnvironmental',
|
||||||
|
title: '安环管理',
|
||||||
|
visible: false,
|
||||||
|
meta: {
|
||||||
|
title: ''
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'Databoard',
|
||||||
|
title: '数据驾驶舱',
|
||||||
visible: false,
|
visible: false,
|
||||||
meta: {
|
meta: {
|
||||||
title: ''
|
title: ''
|
||||||
@ -176,7 +200,7 @@ export default {
|
|||||||
console.log(menuList)
|
console.log(menuList)
|
||||||
if (menuList.length > 0) {
|
if (menuList.length > 0) {
|
||||||
for (let i = 0; i < menuList.length; i ++) {
|
for (let i = 0; i < menuList.length; i ++) {
|
||||||
for (let k = 0; k < 7; k++) {
|
for (let k = 0; k < 8; k++) {
|
||||||
if (menuList[i].name === this.menuArr1[k].name) {
|
if (menuList[i].name === this.menuArr1[k].name) {
|
||||||
this.menuArr1[k].visible = true
|
this.menuArr1[k].visible = true
|
||||||
this.menuArr1[k].id = menuList[i].id
|
this.menuArr1[k].id = menuList[i].id
|
||||||
@ -185,7 +209,7 @@ export default {
|
|||||||
this.menuArr1[k].meta = menuList[i].meta
|
this.menuArr1[k].meta = menuList[i].meta
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
for (let j = 0; j < 6; j++) {
|
for (let j = 0; j < 7; j++) {
|
||||||
if (menuList[i].name === this.menuArr2[j].name) {
|
if (menuList[i].name === this.menuArr2[j].name) {
|
||||||
this.menuArr2[j].visible = true
|
this.menuArr2[j].visible = true
|
||||||
this.menuArr2[j].id = menuList[i].id
|
this.menuArr2[j].id = menuList[i].id
|
||||||
|
Loading…
Reference in New Issue
Block a user