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
46b8688f
authored
2020-12-29 15:50:37 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
构筑物删除
1 parent
73058327
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
7 deletions
src/components/lineTree/lineItem.vue
src/components/lineTree/lineTree.vue
src/components/lineTree/lineItem.vue
View file @
46b8688
...
...
@@ -171,7 +171,7 @@ export default {
},
// 右键点击事件
openMenu
(
e
,
item
,
list
)
{
console
.
log
(
list
,
'右键list'
);
console
.
log
(
item
,
'右键list'
);
this
.
$emit
(
"changeTop"
,
e
.
pageY
);
this
.
$emit
(
"changeLeft"
,
e
.
pageX
);
this
.
$emit
(
"changeZdData"
,
item
);
...
...
@@ -200,7 +200,9 @@ export default {
case
'ljz'
:
this
.
$emit
(
"changeLpbVisible"
,
true
);
break
;
case
'gzw'
:
this
.
$emit
(
"changeGzwVisible"
,
true
);
break
;
default
:
break
;
}
...
...
src/components/lineTree/lineTree.vue
View file @
46b8688
...
...
@@ -45,6 +45,7 @@
@
changeIsZD=
"changeIsZD"
@
changeCreateVisible=
"changeCreateVisible"
@
changeDzVisible=
"changeDzVisible"
@
changeGzwVisible=
"changeGzwVisible"
:list=
"item.children"
:visible=
"visible"
:size=
"size"
...
...
@@ -92,6 +93,14 @@
>
<li
@
click=
"openCreateDialog"
>
新建宗地
</li>
</ul>
<!-- 构筑物删除 -->
<ul
v-show=
"gzwVisible"
:style=
"
{ left: left + 'px', top: top + 'px' }"
class="contextmenu"
>
<li
@
click=
"deleteByBsm"
>
删除
</li>
</ul>
<ul
v-show=
"lpbvisible"
:style=
"
{ left: lpbleft + 'px', top: lpbtop + 'px' }"
...
...
@@ -171,6 +180,8 @@ export default {
zdQszt
:
null
,
wkt
:
"PROJCS[\"XADFZBX\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Transverse_Mercator\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",0.0],PARAMETER[\"Scale_Factor\",1.0],PARAMETER[\"Latitude_Of_Origin\",0.0],UNIT[\"Meter\",1.0]]"
,
createZrz
:
false
,
//构筑物
gzwVisible
:
false
};
},
watch
:
{
...
...
@@ -264,7 +275,11 @@ export default {
},
//多幢
changeDzVisible
(
data
){
this
.
dzVisible
=
data
this
.
dzVisible
=
data
;
},
//构筑物
changeGzwVisible
(
data
){
this
.
gzwVisible
=
data
;
},
//添加定着物
openCreateDialog
(
type
){
...
...
@@ -388,6 +403,9 @@ export default {
case
'zrz'
:
name
=
'自然幢'
break
;
case
'gzw'
:
name
=
'构筑物'
break
;
default
:
break
;
...
...
@@ -640,10 +658,10 @@ export default {
},
//关闭图形弹框
closeImportDialog
(){
this
.
improtDialog
=
false
;
this
.
clearOverLayer
();
}
closeImportDialog
(){
this
.
improtDialog
=
false
;
this
.
clearOverLayer
();
}
},
};
...
...
Please
register
or
sign in
to post a comment