侧边长度bug
This commit is contained in:
@@ -291,7 +291,6 @@ export default {
|
|||||||
|
|
||||||
<style rel="stylesheet/scss" lang="scss" scoped>
|
<style rel="stylesheet/scss" lang="scss" scoped>
|
||||||
.navbar {
|
.navbar {
|
||||||
min-width: 1380px;
|
|
||||||
height: 50px;
|
height: 50px;
|
||||||
line-height: 50px;
|
line-height: 50px;
|
||||||
border-radius: 0px !important;
|
border-radius: 0px !important;
|
||||||
|
|||||||
@@ -63,27 +63,43 @@ export default {
|
|||||||
switch (this.$route.name) {
|
switch (this.$route.name) {
|
||||||
case 'EquipmentMonitoring':
|
case 'EquipmentMonitoring':
|
||||||
document.getElementById('app-main').style.width = '1710px'
|
document.getElementById('app-main').style.width = '1710px'
|
||||||
|
document.getElementsByClassName('tags-view-wrapper')[0].style.minWidth = '1710px'
|
||||||
|
document.getElementsByClassName('navbar')[0].style.minWidth = '1710px'
|
||||||
break
|
break
|
||||||
case 'ProjectPlanningManagementNew': // 项目计划管理
|
case 'ProjectPlanningManagementNew': // 项目计划管理
|
||||||
document.getElementById('app-main').style.width = '1710px'
|
document.getElementById('app-main').style.width = '1710px'
|
||||||
|
document.getElementsByClassName('tags-view-wrapper')[0].style.minWidth = '1710px'
|
||||||
|
document.getElementsByClassName('navbar')[0].style.minWidth = '1710px'
|
||||||
break
|
break
|
||||||
case 'ProjectPlanningManagementQuery': // 项目计划管理
|
case 'ProjectPlanningManagementQuery': // 项目计划管理
|
||||||
document.getElementById('app-main').style.width = '1710px'
|
document.getElementById('app-main').style.width = '1710px'
|
||||||
|
document.getElementsByClassName('tags-view-wrapper')[0].style.minWidth = '1710px'
|
||||||
|
document.getElementsByClassName('navbar')[0].style.minWidth = '1710px'
|
||||||
break
|
break
|
||||||
case 'CreatingPurchasingMaterials': // 外购备料
|
case 'CreatingPurchasingMaterials': // 外购备料
|
||||||
document.getElementById('app-main').style.width = '1865px'
|
document.getElementById('app-main').style.width = '1865px'
|
||||||
|
document.getElementsByClassName('tags-view-wrapper')[0].style.minWidth = '1865px'
|
||||||
|
document.getElementsByClassName('navbar')[0].style.minWidth = '1865px'
|
||||||
break
|
break
|
||||||
case 'RequestOutsourcingMaterials': // 外购备料请款
|
case 'RequestOutsourcingMaterials': // 外购备料请款
|
||||||
document.getElementById('app-main').style.width = '1710px'
|
document.getElementById('app-main').style.width = '1710px'
|
||||||
|
document.getElementsByClassName('tags-view-wrapper')[0].style.minWidth = '1710px'
|
||||||
|
document.getElementsByClassName('navbar')[0].style.minWidth = '1710px'
|
||||||
break
|
break
|
||||||
case 'OutsourcingMaterialsInvoice': // 外购备料到票
|
case 'OutsourcingMaterialsInvoice': // 外购备料到票
|
||||||
document.getElementById('app-main').style.width = '1480px'
|
document.getElementById('app-main').style.width = '1480px'
|
||||||
|
document.getElementsByClassName('tags-view-wrapper')[0].style.minWidth = '1480px'
|
||||||
|
document.getElementsByClassName('navbar')[0].style.minWidth = '1480px'
|
||||||
break
|
break
|
||||||
case 'OfflineProcurement': // 外购备料(离线)
|
case 'OfflineProcurement': // 外购备料(离线)
|
||||||
document.getElementById('app-main').style.width = '1950px'
|
document.getElementById('app-main').style.width = '1950px'
|
||||||
|
document.getElementsByClassName('tags-view-wrapper')[0].style.minWidth = '1950px'
|
||||||
|
document.getElementsByClassName('navbar')[0].style.minWidth = '1950px'
|
||||||
break
|
break
|
||||||
default:
|
default:
|
||||||
document.getElementById('app-main').style.width = '1380px'
|
document.getElementById('app-main').style.width = '1380px'
|
||||||
|
document.getElementsByClassName('tags-view-wrapper')[0].style.minWidth = '1380px'
|
||||||
|
document.getElementsByClassName('navbar')[0].style.minWidth = '1380px'
|
||||||
}
|
}
|
||||||
if (this.$route.name) {
|
if (this.$route.name) {
|
||||||
return this.$route
|
return this.$route
|
||||||
|
|||||||
Reference in New Issue
Block a user