Commit 9eb4ec4e authored by renjintao's avatar renjintao

scroll

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