Commit a37bc868 authored by renjintao's avatar renjintao

setProcess... scroll

parent ca704af5
...@@ -241,7 +241,7 @@ export default { ...@@ -241,7 +241,7 @@ export default {
this.laodaction() this.laodaction()
this.laodactiontype() this.laodactiontype()
this.tbHeight = window.innerHeight - 220 this.tbHeight = window.innerHeight - 220
this.treeHeight = window.innerHeight - 150 this.treeHeight = window.innerHeight - 140
}, },
methods: { methods: {
......
...@@ -408,7 +408,7 @@ export default { ...@@ -408,7 +408,7 @@ export default {
} }
}, },
created() { created() {
this.treeHeight = window.innerHeight - 150 this.treeHeight = window.innerHeight - 140
this.tableHeight = window.innerHeight - 230 this.tableHeight = window.innerHeight - 230
this.loaddata() this.loaddata()
this.getapprovalStatusdata() this.getapprovalStatusdata()
...@@ -421,7 +421,7 @@ export default { ...@@ -421,7 +421,7 @@ export default {
window.onresize = () => { window.onresize = () => {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
this.treeHeight = window.innerHeight - 150 this.treeHeight = window.innerHeight - 140
this.tableHeight = window.innerHeight - 230 this.tableHeight = window.innerHeight - 230
})() })()
} }
......
...@@ -630,7 +630,7 @@ export default { ...@@ -630,7 +630,7 @@ export default {
} }
}, },
created() { created() {
this.treeHeight = window.innerHeight - 150 this.treeHeight = window.innerHeight - 140
this.tableHeight = window.innerHeight - 230 this.tableHeight = window.innerHeight - 230
this.newColumn = this.historycolumn this.newColumn = this.historycolumn
this.column = this.newColumn this.column = this.newColumn
...@@ -645,7 +645,7 @@ export default { ...@@ -645,7 +645,7 @@ export default {
///浏览器窗口大小变化 ///浏览器窗口大小变化
return (() => { return (() => {
window.screenHeight = window.innerHeight window.screenHeight = window.innerHeight
this.treeHeight = window.screenHeight - 150 this.treeHeight = window.screenHeight - 140
this.tableHeight = window.screenHeight - 230 this.tableHeight = window.screenHeight - 230
})() })()
} }
......
This diff is collapsed.
...@@ -696,8 +696,8 @@ export default { ...@@ -696,8 +696,8 @@ export default {
}, },
created() { created() {
this.laodaction() this.laodaction()
this.treeHeight = window.innerHeight this.treeHeight = window.innerHeight-140
this.tbHeight = window.innerHeight - 175 this.tbHeight = window.innerHeight - 230
}, },
mounted() { mounted() {
this.initTree() this.initTree()
......
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