Порівняти коміти

..

No commits in common. "4e26d49ff514900419f86f18b2fc2d119fbfc3a1" and "6c7390f61ee0875af7f448b2c7aebbd20322b832" have entirely different histories.

4 змінених файлів з 15 додано та 39 видалено

Бінарний файл не відображається.

Перед

Ширина:  |  Висота:  |  Розмір: 15 KiB

Бінарний файл не відображається.

Перед

Ширина:  |  Висота:  |  Розмір: 12 KiB

Бінарний файл не відображається.

Перед

Ширина:  |  Висота:  |  Розмір: 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:1710px;height:538px;'" v-show="showItem"> <div class="choicepart-box" id="choicepartBox" :style="'transform:scale('+scale+');width:1574px;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,7 +102,9 @@ export default {
meta: { meta: {
title: '' title: ''
} }
}, }
],
menuArr2: [
{ {
name: 'Packaging', name: 'Packaging',
title: '包装管理', title: '包装管理',
@ -110,9 +112,7 @@ export default {
meta: { meta: {
title: '' title: ''
} }
} },
],
menuArr2: [
{ {
name: 'Material', name: 'Material',
title: '物料管理', title: '物料管理',
@ -129,14 +129,14 @@ export default {
title: '' title: ''
} }
}, },
// { {
// name: 'Delivery', name: 'Delivery',
// title: '', title: '成品发货',
// visible: false, visible: false,
// meta: { meta: {
// title: '' title: ''
// } }
// }, },
{ {
name: 'Report', name: 'Report',
title: '报表管理', title: '报表管理',
@ -145,30 +145,6 @@ export default {
title: '' title: ''
} }
}, },
{
name: 'Cost',
title: '成本管理',
visible: false,
meta: {
title: ''
}
},
{
name: 'SafetyEnvironmental',
title: '安环管理',
visible: false,
meta: {
title: ''
}
},
{
name: 'Databoard',
title: '数据驾驶舱',
visible: false,
meta: {
title: ''
}
},
{ {
name: 'System', name: 'System',
title: '系统管理', title: '系统管理',
@ -200,7 +176,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 < 8; k++) { for (let k = 0; k < 7; 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
@ -209,7 +185,7 @@ export default {
this.menuArr1[k].meta = menuList[i].meta this.menuArr1[k].meta = menuList[i].meta
} }
} }
for (let j = 0; j < 7; j++) { for (let j = 0; j < 6; 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