fb42c755 by zhaoqian

Merge remote-tracking branch 'origin/master'

2 parents 22a2d544 362c8bd7
......@@ -327,7 +327,7 @@ export default {
.basic_layer {
width: 100%;
position: relative;
color: #ffffff;
color: #4a4a4a;
cursor: pointer;
.layer_text {
flex: 1;
......
......@@ -709,7 +709,7 @@ export default {
.basic_layer {
width: 100%;
position: relative;
color: #ffffff;
color: #4a4a4a;
cursor: pointer;
-moz-user-select: none;
-o-user-select: none;
......
......@@ -7,9 +7,24 @@
class="logo-img"
src="@/assets/images/logo-realestate.png"
alt=""
@click="toHome"
/>
<span class="logo-text" v-show="!textLogo">不动产权籍调查系统</span>
</div>
<div class="search-box">
<el-input
maxlength="28"
v-model="treeKey"
class="searchInput"
placeholder="请输入关键字"
><i
slot="suffix"
class="el-input__icon el-icon-search"
@click="inputChange"
></i
></el-input>
</div>
<div class="treeModule" :style="{height:treeHeight+'px'}">
<LineTree :pd="pd" v-if="lineTreeVisible" @itemClick="itemClick"></LineTree>
</div>
......@@ -17,25 +32,26 @@
<el-container class="calcWidth">
<el-header>
<div class="header-top">
<div class="top-items" @click="toggleClick">
<!-- <div class="top-items" @click="toggleClick">
<i class="iconfont iconsuojin" v-show="!isActive"></i>
<i class="iconfont iconzhankai" v-show="isActive"></i>
</div>
</div> -->
<div
class="top-items"
v-for="(item, index) in headTop"
:key="index + '1'"
:class="{ 'is-active': item.select }"
:style="{'height':item.name == '首页' && item.select ? '70'+'px' : '71'+'px'}"
:style="{'height':item.name == '首页' && item.select ? '64'+'px' : '65'+'px'}"
@click="selectTopItems(index)"
>
<i :class="item.icon"></i>
<span>{{ item.name }}</span>
</div>
<div class="top-items tuOrShu" >
<i class="iconfont icondiqiu" style="color:#006CFF;font-size:30px" title="图形管理" v-if="!isMap" @click="goMap"></i>
<i class="iconfont iconxinxi" style="color:#006CFF;font-size:30px" title="属性管理" v-else @click="goBack"></i>
</div>
<div class="right-tools">
<div class="tuOrShu">
<i class="iconfont icondiqiu" title="图形管理" v-if="!isMap" @click="goMap"></i>
<i class="iconfont iconxinxi" title="属性管理" v-else @click="goBack"></i>
</div>
</div>
<!-- <div class="header-bottom">
......@@ -131,6 +147,7 @@ export default {
treeHeight:0,
routerInfo:null,
lineTreeVisible:false,
treeKey:'',
};
},
computed: {
......@@ -253,7 +270,7 @@ export default {
})
}
this.$nextTick(()=>{
this.treeHeight = this.$el.clientHeight - 120;
this.treeHeight = this.$el.clientHeight - 117;
});
},
methods: {
......@@ -388,45 +405,51 @@ export default {
this.$store.state.newZdbsm = '';
})
},
goBack(){
this.isMap = false;
var curretRouterInfo = JSON.parse(sessionStorage.getItem("curretRouterInfo"));
//this.$router.back(-1);
if(curretRouterInfo){
goBack(){
this.isMap = false;
var curretRouterInfo = JSON.parse(sessionStorage.getItem("curretRouterInfo"));
//this.$router.back(-1);
if(curretRouterInfo){
this.$router.push({
path: curretRouterInfo.path,
query: curretRouterInfo.query
});
}else {
this.$router.back(-1);
}
},
goMap(){
var curretRouterInfo = {
path:this.$route.path,
query:this.$route.query
}
sessionStorage.setItem('curretRouterInfo',JSON.stringify(curretRouterInfo));
this.isMap = true;
var routerQuery = null;
var path = this.$route.path;
if(path == "/zd"){
routerQuery = {
bsm:this.$route.query.bsm,
type:"zd"
};
}else if(path == "/zrz"){
routerQuery = {
bsm:this.$route.query.bsm,
type:"zrz"
}
}
this.$router.push({
path: curretRouterInfo.path,
query: curretRouterInfo.query
path: "/viewMap",
query: routerQuery
});
}else {
this.$router.back(-1);
}
},
toHome(){
this.$router.push({ path: "/panel" });
},
inputChange(){
},
goMap(){
var curretRouterInfo = {
path:this.$route.path,
query:this.$route.query
}
sessionStorage.setItem('curretRouterInfo',JSON.stringify(curretRouterInfo));
this.isMap = true;
var routerQuery = null;
var path = this.$route.path;
if(path == "/zd"){
routerQuery = {
bsm:this.$route.query.bsm,
type:"zd"
};
}else if(path == "/zrz"){
routerQuery = {
bsm:this.$route.query.bsm,
type:"zrz"
}
}
this.$router.push({
path: "/viewMap",
query: routerQuery
});
}
},
};
</script>
......@@ -446,20 +469,26 @@ export default {
.el-header {
background-color: #fff;
padding: 0 !important;
height: 72px!important;
height: 66px!important;
position: relative;
.header-top {
height: 72px;
height: 66px;
// border-bottom: 1px solid#EAEAEA;
box-sizing: border-box;
background-image: url('../assets/images/banner.png');
display: flex;
flex-grow: 1;
justify-content: center;
align-items: center;
.top-items {
cursor: pointer;
height: 72px;
height: 66px;
padding: 0 30px;
font-size: 18px;
line-height: 72px;
line-height: 66px;
float: left;
position: relative;
color: #4a4a4a;
color: #ffffff;
// border-left: 1px solid #EAEAEA;
/*border-right: 1px solid #EAEAEA;*/
i {
......@@ -474,10 +503,11 @@ export default {
color: #000;
}
}
.top-items:hover{
background: hsla(0,0%,100%,.2);
}
.top-items.is-active {
color: #006cff;
height: 71px;
border-bottom: 1px solid #FFF;
background: hsla(0,0%,100%,.2);
}
}
.header-bottom {
......@@ -486,40 +516,61 @@ export default {
border-bottom: 1px solid rgba(234, 234, 234, 1);
box-sizing: border-box;
}
.right-tools{
float: right !important;
position: absolute;
right: 18px;
top: 20px;
.tuOrShu{
.iconfont{
cursor: pointer;
color:#ffffff;
font-size:30px
}
}
}
.tuOrShu{
float: right !important;
.iconfont{
font-size: 21px;
}
}
}
.el-aside {
width: 290px !important;
background-color: #1d50dd;
background-color: #ffffff;
color: #333;
// text-align: center;
overflow: hidden;
transition: width 0.3s;
.logo-box {
width: 100%;
height: 120px;
height: 66px;
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
padding: 30px 0 28px 0;
box-sizing: border-box;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
padding: 10px;
transition: width 0.3s;
background-color: #287CC5;
.logo-img {
width: 38px;
height: 38px;
width: 44px;
float: left;
}
.logo-text {
font-size: 18px;
color: rgba(255, 255, 255, 1);
line-height: 14px;
padding-left: 10px;
color: #ffffff;
line-height: 44px;
font-size: 23px;
}
}
.search-box{
height: 48px;
background-color: #3FA2E1;
box-sizing: border-box;
padding: 9px 30px;
.searchInput{
/deep/ .el-input__inner{
height: 30px;
line-height: 30px;
border-radius: 15px;
}
/deep/ .el-input__suffix{
top: -5px!important;
}
}
}
.treeModule {
......@@ -558,7 +609,7 @@ export default {
z-index: 1;
pointer-events: none;
-webkit-box-shadow: inset -14px 0px 16px red;
box-shadow: inset -23px 0px 16px #1d50dd;
box-shadow: inset -23px 0px 16px #ffffff;
transition: 0.3s;
}
.w0{
......
......@@ -891,7 +891,7 @@
/deep/ .el-tabs__header {
position: -webkit-fixed;
position: fixed;
top: 120px;
top: 114px;
z-index: 999;
width: 100%;
margin-bottom: 0;
......
......@@ -80,7 +80,7 @@ export default {
/deep/ .el-tabs__header {
position: -webkit-fixed;
position: fixed;
top: 120px;
top: 114px;
z-index: 999;
width: 100%;
margin-bottom: 0;
......
......@@ -2,7 +2,7 @@
<div class="hb" ref="hbBox">
<el-tabs v-model="tabName" class="menu" @tab-click="handleClick">
<el-tab-pane label="宗地合并" name="zd">
<div class="hb-tabs top20" style="margin-top:14px">
<div class="hb-tabs top40" style="margin-top:14px">
<span class="tips">合并前宗地信息(已选择宗地{{zdhbqData.length}}个)</span>
<div class="hbq">
......@@ -573,6 +573,9 @@
height: 100%;
.menu {
height: 100%;
.top40{
top: 40px;
}
/deep/ .el-tabs__content {
position: unset;
margin-top: 40px;
......@@ -581,7 +584,7 @@
/deep/ .el-tabs__header {
position: -webkit-fixed;
position: fixed;
top: 120px;
top: 114px;
z-index: 999;
width: 100%;
margin-bottom: 0;
......
......@@ -88,6 +88,7 @@
this.queryData.pageNo=this.pageNo;
this.getData(this.queryData);
this.$nextTick(()=>{
console.log(this.$refs.dataGrid.offsetHeight,'this.$refs.dataGrid.offsetHeight');
this.tableHeight = this.$refs.dataGrid.offsetHeight - 68;
})
},
......