Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
任超
/
js.CadastralSystem
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
5027998a
authored
2021-01-27 15:59:05 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表树目录修改
1 parent
83692916
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
36 additions
and
12 deletions
src/components/lineTree/lineItem.vue
src/components/lineTree/lineTree.vue
src/libs/fliter.js
src/views/zrz/lpb/bjlp/index.vue
src/components/lineTree/lineItem.vue
View file @
5027998
...
...
@@ -23,7 +23,7 @@
@
click=
"itemClick(item)"
@
dblclick=
"dbclick(item,item.zdbsm)"
:class=
"
{
active_color: item.expand
active_color: item.expand
,
}"
>
<div
...
...
@@ -36,7 +36,13 @@
:data-zdbsm="item.zdbsm"
:title=item.mc
>
<i
v-show=
"!item.qszt && !item.type"
class=
"iconfont iconguoyou"
style=
"margin-right:6px"
></i>
<i
v-show=
"!islpb && !item.qszt && !item.type"
class=
"iconfont iconguoyou"
style=
"margin-right:6px"
></i>
<template
v-if=
"islpb && item.type == 'ljz' && item.children.length>0"
>
<i
v-if=
" !item.expand"
class=
"iconfont iconxiala lpbTree-node"
></i>
<i
v-if=
" item.expand"
class=
"iconfont iconxialazhankai lpbTree-node"
></i>
</
template
>
<!-- <i v-show="islpb && item.expand && item.children.length > 0" class="iconfont iconxiala" style="margin-right:6px"></i>
<i v-show="islpb && !item.expand && item.children.length > 0" class="iconfont iconxialazhankai" style="margin-right:6px"></i> -->
<span
class=
"qsztImg"
v-if=
"item.bblx == 1 || (item.bhqkbsm != ''&& item.bhqkbsm != null)"
>
<!-- <span class="qsztFont" style="color: #9e9b9b">变</span> -->
<i
:class=
"$route.query.bsm && $route.query.bsm==item.bsm ? 'iconfont iconbianing':'iconfont iconbian'"
></i>
...
...
@@ -58,6 +64,7 @@
<i
class=
"iconfont iconziranchuang1 mr4"
v-if=
"item.type=='zrz'"
></i>
<i
class=
"iconfont iconduochuang1 mr4"
v-if=
"item.type=='dz'"
></i>
<i
class=
"iconfont icongouzhuwu mr4"
v-if=
"item.type=='gzw'"
></i>
<span
v-if=
"islpb"
>
({{item.type | bdcLxFilter}})
</span>
<span>
{{ item.mc }}
</span>
</div>
...
...
@@ -72,8 +79,6 @@
reTree_default_icon: item.children.length === 0,
reTree_collapse_icon: !islpb && item.expand && item.children.length > 0,
reTree_expand_icon: !islpb && !item.expand && item.children.length > 0,
lpbTree_collapse_icon: islpb && item.expand && item.children.length > 0,
lpbTree_expand_icon: islpb && !item.expand && item.children.length > 0,
}"
></div>
<div
...
...
@@ -354,6 +359,9 @@ export default {
box-sizing
:
border-box
;
padding-left
:
20px
;
}
.lpb_basic_banner
{
padding-left
:
42px
;
}
.second_layer
{
position
:
relative
;
width
:
calc
(
100%
-
20px
);
...
...
@@ -397,6 +405,11 @@ export default {
.white_layer
{
color
:
black
!important
;
}
.lpbTree-node
{
position
:
absolute
;
top
:
4px
;
left
:
0
;
}
//
.second_layer
::before
{
//
content
:
""
;
...
...
@@ -488,8 +501,6 @@ export default {
.lpbTree_collapse_icon
{
//
opacity
:
.5
;
background
:
url("../../assets/images/arrow-down-bold.svg")
no-repeat
center
center
;
background-size
:
contain
;
}
.lpbTree_expand_icon
{
...
...
src/components/lineTree/lineTree.vue
View file @
5027998
...
...
@@ -13,11 +13,18 @@
class=
"row-flex-start basic_banner"
:class=
"
{
active_color: item.expand
&&
item.children.length > 0,
lpb_basic_banner:islpb
}"
@click="itemClick(item)"
>
<div
class=
"layer_text nowrap"
@
contextmenu
.
prevent=
"openMenu($event, item)"
><i
class=
"iconfont iconguoyou"
></i>
{{
item
.
mc
}}
</div><div
<div
class=
"layer_text nowrap"
@
contextmenu
.
prevent=
"openMenu($event, item)"
>
<i
v-if=
"!islpb"
class=
"iconfont iconguoyou"
></i>
<i
v-if=
"islpb && !item.expand"
class=
"iconfont iconxiala"
></i>
<i
v-if=
"islpb && item.expand"
class=
"iconfont iconxialazhankai"
></i>
{{
item
.
mc
}}
</div>
<div
class=
"reTree_icon"
:style=
"
{
height: 10 + 'px',
...
...
@@ -25,10 +32,8 @@
}"
:class="{
reTree_default_icon: item.children.length === 0,
reTree_collapse_icon: !islpb
&&
item.expand
&&
item.children.length > 0,
reTree_expand_icon: !islpb
&&
!item.expand
&&
item.children.length > 0,
lpbTree_collapse_icon: islpb
&&
item.expand
&&
item.children.length > 0,
lpbTree_expand_icon: islpb
&&
!item.expand
&&
item.children.length > 0,
reTree_collapse_icon: item.expand
&&
item.children.length > 0,
reTree_expand_icon: !item.expand
&&
item.children.length > 0,
}"
>
</div>
</div>
...
...
src/libs/fliter.js
View file @
5027998
...
...
@@ -49,6 +49,14 @@ let bdcLxArray = [
label
:
"构筑物"
,
value
:
"gzw"
,
},
{
label
:
"逻辑幢"
,
value
:
"ljz"
,
},
{
label
:
"幢单元"
,
value
:
"zdy"
,
},
];
createFilter
(
"bdcLxFilter"
,
bdcLxArray
);
//流程的环节状态过滤
...
...
src/views/zrz/lpb/bjlp/index.vue
View file @
5027998
...
...
@@ -919,7 +919,7 @@ export default {
transition
:
0.5s
;
.treeData
{
margin-top
:
20px
;
margin-left
:
2
0
px
;
margin-left
:
2
6
px
;
float
:
left
;
}
}
...
...
Please
register
or
sign in
to post a comment