e66b4045 by 焦泽平
2 parents 37aa69d0 4f3c27e8
......@@ -767,7 +767,7 @@ export default {
}
}
.qlxzModule {
width: calc(100% - 101px);
width: calc(100% - 102px);
height: auto;
position: relative;
border-bottom: 1px solid #E6E6E6;
......
......@@ -47,7 +47,7 @@
@changeDzVisible="changeDzVisible"
@changeGzwVisible="changeGzwVisible"
:list="item.children"
:visible="visible"
:visible="zrzVisible"
:size="size"
:islpb="islpb"
:formatData="formatData"
......@@ -55,7 +55,7 @@
</div>
<ul
v-show="visible"
v-show="zrzVisible"
:style="{ left: left + 'px', top: top + 'px' }"
class="contextmenu"
>
......@@ -169,6 +169,8 @@ export default {
currentClickZdGeo:"",
improtDialog:false,
dialogVisible:false,
//控制自然幢右键菜单
zrzVisible:false,
//控制楼盘表
lpbvisible: false,
lpbtop: 0,
......@@ -210,6 +212,13 @@ export default {
document.body.removeEventListener("click", this.closeMenu);
}
},
zrzVisible(value) {
if (value) {
document.body.addEventListener("click", this.closeMenu);
} else {
document.body.removeEventListener("click", this.closeMenu);
}
},
// createVisible(value) {
// if (value) {
......@@ -270,7 +279,10 @@ export default {
},
// 改变菜单数据
changeVisible(data) {
this.visible = data;
this.zrzVisible = data;
this.lpbvisible = false;
this.dzVisible = false;
this.gzwVisible = false;
},
changeZdData(data) {
this.zdData = data;
......@@ -289,6 +301,9 @@ export default {
},
changeLpbVisible(data) {
this.lpbvisible = data;
this.zrzVisible = false;
this.dzVisible = false;
this.gzwVisible = false;
},
changeCreateVisible(data){
this.createVisible = true;
......@@ -296,10 +311,16 @@ export default {
//多幢
changeDzVisible(data){
this.dzVisible = data;
this.zrzVisible = false;
this.lpbvisible = false;
this.gzwVisible = false;
},
//构筑物
changeGzwVisible(data){
this.gzwVisible = data;
this.zrzVisible = false;
this.lpbvisible = false;
this.dzVisible = false;
},
//添加定着物
openCreateDialog(type){
......@@ -397,6 +418,7 @@ export default {
},
//关闭右键菜单
closeMenu(){
this.zrzVisible = false;
this.lpbvisible = false;
this.dzVisible = false;
this.gzwVisible = false;
......
......@@ -58,17 +58,17 @@
</div>
<div class="xlgz">
<span>
样例1:10101 <span>(1单元01层01室)</span>([单元号][层号],勾选“层号自动补0”)
样例1:1011 <span>(1单元01层01室)</span>([单元号][层号],勾选“层号自动补0”)
<br/>
样例2:11301室<span>(1单元13层01室)</span>([单元号][层号][室号后缀])
样例2:1131室<span>(1单元13层01室)</span>([单元号][层号][后缀])
<br/>
样例3:101<span>(1层01室)</span>([层号])
样例3:11<span>(1层01室)</span>([层号])
<br/>
样例4:1-101<span>(1单元-01层01室)</span>([单元号][层号][分隔符],勾选“层号之前增加分隔符”)
样例4:1-101<span>(1单元-01层01室)</span>([单元号][分隔符A][层号],勾选“层号之前增加分隔符”)
<br/>
样例5:1-13-01<span>(1单元13层01室)</span>([单元号][层号][分隔符])
样例5:1-13-1<span>(1单元13层01室)</span>([单元号][分隔符A][层号][分隔符B])
<br/>
样例6:1-01<span>(1单元13层01室)</span>([层号][分隔符],勾选“室号之前增加分隔符”)
样例6:1-1<span>(1单元13层01室)</span>([单元号][分隔符],勾选“室号之前增加分隔符”)
</span>
</div>
</div>
......
......@@ -12,6 +12,7 @@
action="/api/tx/excelGeo/import"
:data="sxdrData"
:on-success="uploadSuccess"
:on-error="uploadError"
:show-file-list="false"
multiple
>
......@@ -135,7 +136,7 @@
top: 18px;
}
}
ul {
margin-top: 20px;
......
......@@ -343,5 +343,8 @@ export default {
.pagination {
padding: 18px;
}
.el-table{
border: 0!important;
}
}
</style>
......
......@@ -534,7 +534,7 @@
}
this.$nextTick(()=>{
this.mainBoxWidth = this.$refs.mainBox.clientWidth;
this.formHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 300
this.formHeight = (document.documentElement.clientHeight || document.body.clientHeight) - 230
})
},
methods: {
......