Commit f1ba0e54 authored by jingnan's avatar jingnan 👀

看板边缘留白处理

parent c6ca7278
...@@ -391,7 +391,6 @@ ...@@ -391,7 +391,6 @@
.show-page-com { .show-page-com {
margin-top: 0px!important; margin-top: 0px!important;
.page-content-item { .page-content-item {
padding: 0px!important;
.page-content-box{ .page-content-box{
border:0px!important; border:0px!important;
.crumbs-title{ .crumbs-title{
......
...@@ -2537,11 +2537,13 @@ export default { ...@@ -2537,11 +2537,13 @@ export default {
this.initSupervise() this.initSupervise()
this.onresize() this.onresize()
this.init() this.init()
document.getElementsByClassName('page-content-item')[0].style['padding'] = '0px'
}, },
beforeDestroy() { beforeDestroy() {
// 销毁侦听器 // 销毁侦听器
const el = $('.assemble-kanban').parent()[0] const el = $('.assemble-kanban').parent()[0]
this.erd.uninstall(el) this.erd.uninstall(el)
document.getElementsByClassName('page-content-item')[0].style['padding'] = '4px'
}, },
methods: { methods: {
init() { init() {
......
...@@ -2490,12 +2490,14 @@ export default { ...@@ -2490,12 +2490,14 @@ export default {
this.initSupervise() this.initSupervise()
this.initSuperviseTable() this.initSuperviseTable()
this.init() this.init()
document.getElementsByClassName('page-content-item')[0].style['padding'] = '0px'
}, },
beforeDestroy() { beforeDestroy() {
// 销毁侦听器 // 销毁侦听器
const el = $('.experiment-kanban').parent()[0] const el = $('.experiment-kanban').parent()[0]
this.erd.uninstall(el) this.erd.uninstall(el)
document.getElementsByClassName('page-content-item')[0].style['padding'] = '4px'
}, },
methods: { methods: {
init() { init() {
......
...@@ -212,11 +212,13 @@ export default { ...@@ -212,11 +212,13 @@ export default {
this.getMaterial() this.getMaterial()
this.onresize() this.onresize()
this.init() this.init()
document.getElementsByClassName('page-content-item')[0].style['padding'] = '0px'
}, },
beforeDestroy() { beforeDestroy() {
// 销毁侦听器 // 销毁侦听器
const el = $('.production-kanban').parent()[0] const el = $('.production-kanban').parent()[0]
this.erd.uninstall(el) this.erd.uninstall(el)
document.getElementsByClassName('page-content-item')[0].style['padding'] = '4px'
}, },
methods: { methods: {
init() { init() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment