0a706607 by weimo934

Merge remote-tracking branch 'origin/master'

2 parents b3866baa b0ed247e
<template>
<div class="tree_item_box" :class="list.length>10 ? 'ofy_scroll':''" :style="{maxHeight:(list.length > 10 ? treeXzqHeight:'unset')+'px'}">
<div class="tree_item_box" >
<div
class="column-start-start linkLine_default"
v-for="(item, s_index) in list"
......@@ -97,9 +97,7 @@ export default {
}
},
mounted(){
this.$nextTick(()=>{
this.treeXzqHeight = this.$parent.$el.clientHeight-(this.formatData.length-1)*26+60;
})
},
methods: {
itemClick(item) {
......@@ -231,10 +229,10 @@ export default {
width: 100%;
cursor: pointer;
}
.ofy_scroll{
overflow-y: scroll;
overflow-x: hidden;
}
// .ofy_scroll{
// overflow-y: scroll;
// overflow-x: hidden;
// }
.basic_layer {
width: 100%;
position: relative;
......
......@@ -299,8 +299,10 @@ export default {
},
//右键菜单的删除
deleteByBsm(){
console.log(this.zdData.zdbsm);
let params={"bsm":this.zdData.zdbsm,"type":this.zdData.type}
let params={"bsm":this.zdData.bsm,"type":this.zdData.type};
if(this.zdData.type=='zd'){
params={"bsm":this.zdData.zdbsm,"type":this.zdData.type};
}
deleteZdInfoByBsm(params)
.then((res) => {
if(res.code=200){
......@@ -326,6 +328,8 @@ export default {
.content {
height: 100%;
width: 100%;
overflow-y: scroll;
overflow-x: hidden;
}
.column-start-center {
display: flex;
......
......@@ -14,7 +14,7 @@
<LineTree :pd="pd" @itemClick="itemClick"></LineTree>
</div>
</el-aside>
<el-container>
<el-container class="calcWidth">
<el-header>
<div class="header-top">
<div class="top-items" @click="toggleClick">
......@@ -328,6 +328,9 @@ export default {
.home-box {
width: 100%;
height: 100vh;
.calcWidth{
width: calc(100% - 300px);
}
.el-container {
height: 100%;
}
......
......@@ -69,7 +69,7 @@
type: [],
},
tableData: [],
tableHeight: "",
tableHeight: 0,
};
},
created() {
......@@ -79,9 +79,9 @@
pageNo: this.pageNo,
pageSize: this.pageSize,
})
this.$nextTick(()=>{
this.tableHeight = this.$refs.dataGrid.offsetHeight - 68;
})
this.$nextTick(() => {
this.tableHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 255;
});
},
methods: {
handleCurrentChange(val) {
......@@ -150,7 +150,7 @@
padding: 0 18px;
display: flex;
flex-direction: column;
background-color: #fcfdff;
background-color: #EAEDF5;
.demo-form-inline {
margin-top: 18px;
.moreSearchBtn {
......
......@@ -71,16 +71,16 @@
},
queryData: {},
tableData: [],
tableHeight: "",
tableHeight: 0,
};
},
created() {
},
mounted() {
this.getData({})
this.$nextTick(()=>{
this.tableHeight = this.$refs.dataGrid.offsetHeight - 68;
})
this.$nextTick(() => {
this.tableHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 255;
});
},
methods: {
handleCurrentChange(val) {
......@@ -168,7 +168,7 @@
padding: 0 18px;
display: flex;
flex-direction: column;
background-color: #fcfdff;
background-color: #EAEDF5;
.demo-form-inline {
margin-top: 18px;
.moreSearchBtn {
......@@ -182,7 +182,6 @@
}
.dataGrid {
flex: 1;
margin-top: 20px;
.pagination {
padding: 18px 0;
}
......
......@@ -414,10 +414,11 @@ export default {
};
},
created() {
let bsm=this.$store.state.zdbsm;
this.getZdjbxxData(bsm);
},
mounted() {
this.getZdjbxxData(this.$store.state.zdbsm);
},
mounted() {},
methods: {
//根据zdbsm查询基本信息
getZdjbxxData(bsm) {
......