Commit a37bc868 authored by renjintao's avatar renjintao

setProcess... scroll

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