diff --git a/src/main.js b/src/main.js index 907a2a14..729e3d4d 100644 --- a/src/main.js +++ b/src/main.js @@ -28,6 +28,9 @@ Vue.use(Direction) Vue.use(curd) Vue.use(htmlToPdf) Vue.use(ElementUI) +// 关闭点弹窗周围关闭功能 -- 20200218 +ElementUI.Dialog.props.closeOnClickModal.default = false + // 查看图片 Vue.use(Viewer) Viewer.setDefaults({ diff --git a/src/styles/sidebar.scss b/src/styles/sidebar.scss index c394b99e..cde0d301 100644 --- a/src/styles/sidebar.scss +++ b/src/styles/sidebar.scss @@ -1,7 +1,7 @@ #app { // 主体区域 .main-container { - min-width: 1380px; + min-width: 1380px; // div3固定宽度后新增 min-height: 100%; transition: margin-left .28s; margin-left: 200px; diff --git a/src/views/ManufacturingCenter/EquipmentMonitoring/index.vue b/src/views/ManufacturingCenter/EquipmentMonitoring/index.vue index 96424075..eec39480 100644 --- a/src/views/ManufacturingCenter/EquipmentMonitoring/index.vue +++ b/src/views/ManufacturingCenter/EquipmentMonitoring/index.vue @@ -1,6 +1,6 @@ - + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/views/ManufacturingCenter/InventoryQuery/index.vue b/src/views/ManufacturingCenter/InventoryQuery/index.vue index 927daa2a..5b6fb524 100644 --- a/src/views/ManufacturingCenter/InventoryQuery/index.vue +++ b/src/views/ManufacturingCenter/InventoryQuery/index.vue @@ -4,11 +4,8 @@
- - 查询 导出 -
@@ -69,92 +66,6 @@ @current-change="handleCurrentChange"/> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/views/MarketingCenter/CreateProject/index.vue b/src/views/MarketingCenter/CreateProject/index.vue index 277e0c5f..49446352 100644 --- a/src/views/MarketingCenter/CreateProject/index.vue +++ b/src/views/MarketingCenter/CreateProject/index.vue @@ -122,12 +122,12 @@ - + - + diff --git a/src/views/layout/components/TagsView.vue b/src/views/layout/components/TagsView.vue index e5287ef5..731f47f7 100644 --- a/src/views/layout/components/TagsView.vue +++ b/src/views/layout/components/TagsView.vue @@ -54,6 +54,15 @@ export default { methods: { // generateTitle, // generateTitle by vue-i18n generateRoute() { + switch (this.$route.name) { + case 'EquipmentMonitoring': + document.getElementsByClassName('app-main')[0].style.width = '1710px' + document.getElementsByClassName('main-container')[0].style.minWidth = '1710px' + break + default: + document.getElementsByClassName('app-main')[0].style.width = '1380px' + document.getElementsByClassName('main-container')[0].style.minWidth = '1380px' + } if (this.$route.name) { return this.$route }