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
8d1a55a2
authored
2020-11-30 15:10:40 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
宗地右键菜单根据权属状态判断是否可以添加定着物
1 parent
ad511cad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
8 deletions
src/assets/less/main.less
src/components/lineTree/lineTree.vue
src/assets/less/main.less
View file @
8d1a55a
...
...
@@ -149,15 +149,21 @@ ol, ul { list-style:none; }
font-weight: 400;
color: #333;
box-shadow: 2px 2px 3px 0 rgba(0, 0, 0, 0.3);
}
.contextmenu li {
li {
margin: 0;
padding: 7px 16px;
cursor: pointer;
}
.contextmenu li:hover {
}
li:hover {
background: #eee;
}
.noEdit{
color: #E6E6E6;
cursor: not-allowed;
}
.noEdit:hover{
background: #ffffff;
}
}
// end
//生成按钮样式
...
...
src/components/lineTree/lineTree.vue
View file @
8d1a55a
...
...
@@ -62,7 +62,8 @@
<li
v-show=
"isZD"
>
导入属性
</li>
<li
v-show=
"!isZD"
>
导入楼盘
</li>
<li>
重叠分析
</li>
<li
v-show=
"isZD"
@
click=
"openCreateDialog"
>
添加定着物
</li>
<li
v-show=
"isZD && (zdQszt == '1' || zdQszt == '2')"
@
click=
"openCreateDialog"
>
添加定着物
</li>
<li
v-show=
"isZD && (zdQszt != '1' && zdQszt != '2')"
class=
"noEdit"
>
添加定着物
</li>
<li
@
click=
"deleteByBsm()"
>
删除
</li>
</ul>
<ul
...
...
@@ -131,7 +132,9 @@ export default {
//控制新建宗地菜单
createVisible
:
false
,
//多幢
dzVisible
:
false
dzVisible
:
false
,
//宗地权属状态
zdQszt
:
null
,
};
},
watch
:
{
...
...
@@ -175,7 +178,8 @@ export default {
this
.
visible
=
data
;
},
changeZdData
(
data
)
{
this
.
zdData
=
data
this
.
zdData
=
data
;
this
.
zdQszt
=
data
.
qszt
;
},
changeTop
(
data
)
{
this
.
top
=
data
;
...
...
Please
register
or
sign in
to post a comment