diff --git a/package-lock.json b/package-lock.json index d800d91d..e12911a8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -17,7 +17,7 @@ "dom-to-image": "^2.6.0", "echarts": "^5.1.0", "echarts4": "npm:echarts@^4.8.0", - "element-ui": "^2.8.2", + "element-ui": "^2.13.2", "ezuikit-js": "^0.1.7", "flv.js": "^1.6.2", "gantt-elastic": "^1.0.12", @@ -8162,9 +8162,9 @@ "integrity": "sha512-tRbzkaRI5gbUn5DEvF0dV4TQbMZ5CLkWeTAXmpC9IrYT+GE+x76i9p+o3RJ5l9XmdQlI1pPhVtE9uNcJJ0G0EA==" }, "node_modules/element-ui": { - "version": "2.8.2", - "resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.8.2.tgz", - "integrity": "sha512-LABKHKGUyewFNvpf9BQLecB659Wq0XYvyP1tBveZ4RWpdlPSylDfGW/RLvDYU7zuCBoRasdZAz7ryjOwq1lLNg==", + "version": "2.13.2", + "resolved": "https://registry.npmmirror.com/element-ui/-/element-ui-2.13.2.tgz", + "integrity": "sha512-r761DRPssMPKDiJZWFlG+4e4vr0cRG/atKr3Eqr8Xi0tQMNbtmYU1QXvFnKiFPFFGkgJ6zS6ASkG+sellcoHlQ==", "dependencies": { "async-validator": "~1.8.1", "babel-helper-vue-jsx-merge-props": "^2.0.0", @@ -8174,7 +8174,7 @@ "throttle-debounce": "^1.0.1" }, "peerDependencies": { - "vue": "^2.5.16" + "vue": "^2.5.17" } }, "node_modules/elliptic": { diff --git a/package.json b/package.json index a729b24c..bb70f164 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "dom-to-image": "^2.6.0", "echarts": "^5.1.0", "echarts4": "npm:echarts@^4.8.0", - "element-ui": "^2.8.2", + "element-ui": "^2.13.2", "ezuikit-js": "^0.1.7", "flv.js": "^1.6.2", "gantt-elastic": "^1.0.12", diff --git a/src/components/account.vue b/src/components/account.vue index 96addf9d..f53aa28d 100644 --- a/src/components/account.vue +++ b/src/components/account.vue @@ -11,7 +11,8 @@
{{ $store.state.userInfo.companyName }}
diff --git a/src/components/layout.vue b/src/components/layout.vue index 1f792d0b..9967ce2f 100644 --- a/src/components/layout.vue +++ b/src/components/layout.vue @@ -283,8 +283,9 @@ export default { this.$refs.cont.style.width = "100%"; return; } else { - let width = this.$store.state.menuList.length * 150// 动态计算出滚动区域的大小,前面已经说过了,产生滚动的原因是滚动区域宽度大于父盒子宽度 - this.$refs.cont.style.width = width + 'px' + // let width = this.$store.state.menuList.length * 150// 动态计算出滚动区域的大小,前面已经说过了,产生滚动的原因是滚动区域宽度大于父盒子宽度 + // this.$refs.cont.style.width = width + 'px' + this.$refs.cont.style.width = 'max-content'; this.$nextTick(() => { if (!this.scroll) { this.scroll = new BScroll(this.$refs.wrapper, { diff --git a/src/components/layoutnalmal.vue b/src/components/layoutnalmal.vue index 640917bb..fe95be24 100644 --- a/src/components/layoutnalmal.vue +++ b/src/components/layoutnalmal.vue @@ -206,8 +206,9 @@ export default { this.$refs.cont.style.width = "100%"; return; } else { - let width = this.$store.state.menuList.length * 150// 动态计算出滚动区域的大小,前面已经说过了,产生滚动的原因是滚动区域宽度大于父盒子宽度 - this.$refs.cont.style.width = width + 'px' + // let width = this.$store.state.menuList.length * 150// 动态计算出滚动区域的大小,前面已经说过了,产生滚动的原因是滚动区域宽度大于父盒子宽度 + // this.$refs.cont.style.width = width + 'px' + this.$refs.cont.style.width = 'max-content'; this.$nextTick(() => { if (!this.scroll) { this.scroll = new BScroll(this.$refs.wrapper, { diff --git a/src/views/projectFront/laborManage/safeWorkManage/safeWorkAlarmRecord.vue b/src/views/projectFront/laborManage/safeWorkManage/safeWorkAlarmRecord.vue index 2634ed92..2d92c64f 100644 --- a/src/views/projectFront/laborManage/safeWorkManage/safeWorkAlarmRecord.vue +++ b/src/views/projectFront/laborManage/safeWorkManage/safeWorkAlarmRecord.vue @@ -8,12 +8,16 @@ ref="searchForm" >