Commit 9eb4ec4e authored by renjintao's avatar renjintao

scroll

parent d1257bd2
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
:data="data2" :data="data2"
highlight-row highlight-row
highlight-current-row highlight-current-row
:height="this.tbHeight" :height="tbHeight"
border border
class="tableCommon" class="tableCommon"
></Table> ></Table>
...@@ -335,7 +335,7 @@ export default { ...@@ -335,7 +335,7 @@ export default {
}, },
created(){ created(){
this.loadchangelist(); this.loadchangelist();
this.tbHeight = window.innerHeight - 175 this.tbHeight = window.innerHeight - 300
}, },
methods:{ methods:{
// 分页 // 分页
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
:data="data2" :data="data2"
highlight-row highlight-row
highlight-current-row highlight-current-row
:height="this.tbHeight" :height="tbHeight"
border border
class="tableCommon" class="tableCommon"
></Table> ></Table>
...@@ -413,7 +413,7 @@ export default { ...@@ -413,7 +413,7 @@ export default {
}; };
}, },
created() { created() {
this.tbHeight = window.innerHeight - 175; this.tbHeight = window.innerHeight - 300;
}, },
methods: { methods: {
// 分页 // 分页
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
:data="data2" :data="data2"
highlight-row highlight-row
highlight-current-row highlight-current-row
:height="this.tbHeight" :height="tbHeight"
class="tableCommon" class="tableCommon"
> >
<!-- <template slot-scope="{ row,index }" slot="status"> @on-selection-change="selectFunction" <!-- <template slot-scope="{ row,index }" slot="status"> @on-selection-change="selectFunction"
...@@ -399,7 +399,7 @@ export default { ...@@ -399,7 +399,7 @@ export default {
}; };
}, },
created() { created() {
this.tbHeight = window.innerHeight - 305; this.tbHeight = window.innerHeight - 300;
}, },
async fetch({ store, params }) { async fetch({ store, params }) {
await store.dispatch("loadDictionary"); // 加载数据字典 await store.dispatch("loadDictionary"); // 加载数据字典
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<div class="zh-box"> <div class="zh-box">
<Input search placeholder="请输入查询条件" clearable v-model="treeInputSearch" /> <Input search placeholder="请输入查询条件" clearable v-model="treeInputSearch" />
<Tree :data="searchList" @on-select-change="selectTreeNode" <Tree :data="searchList" @on-select-change="selectTreeNode"
:style="{height:(treeHeight-95)+'px'}" :style="{height:(treeHeight-115)+'px'}"
style="overflow:auto;width:215px;" style="overflow:auto;width:215px;"
></Tree> ></Tree>
</div> </div>
...@@ -240,8 +240,8 @@ export default { ...@@ -240,8 +240,8 @@ export default {
created() { created() {
this.laodaction() this.laodaction()
this.laodactiontype() this.laodactiontype()
this.tbHeight = window.innerHeight - 185 this.tbHeight = window.innerHeight - 220
this.treeHeight = window.innerHeight - 100 this.treeHeight = window.innerHeight - 150
}, },
methods: { methods: {
......
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