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
e3c300ae
authored
2020-12-22 11:28:50 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
多幢下新建自然幢时隐藏宗海/林权/多幢
1 parent
331b0b83
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
9 deletions
src/components/lineTree/lineTree.vue
src/views/panel/create/index.vue
src/components/lineTree/lineTree.vue
View file @
e3c300a
...
...
@@ -70,7 +70,7 @@
<li
v-show=
"isZD"
@
click=
"drsx"
>
导入属性
</li>
<li
v-show=
"!isZD"
>
导入楼盘
</li>
<li>
重叠分析
</li>
<li
v-show=
"isZD && (zdQszt == '1' || zdQszt == '2')"
@
click=
"openCreateDialog"
>
添加定着物
</li>
<li
v-show=
"isZD && (zdQszt == '1' || zdQszt == '2')"
@
click=
"openCreateDialog
('dzw')
"
>
添加定着物
</li>
<li
v-show=
"isZD && (zdQszt != '1' && zdQszt != '2')"
class=
"noEdit"
>
添加定着物
</li>
<li
@
click=
"deleteByBsm()"
>
删除
</li>
<li
@
click=
"deleteGeoByBsm()"
>
删除图形
</li>
...
...
@@ -80,7 +80,7 @@
:style=
"
{ left: left + 'px', top: top + 'px' }"
class="contextmenu"
>
<li
@
click=
"openCreateDialog"
>
新建自然幢
</li>
<li
@
click=
"openCreateDialog
('zrz')
"
>
新建自然幢
</li>
<li
@
click=
"deleteByBsm()"
>
删除
</li>
</ul>
<ul
...
...
@@ -108,7 +108,7 @@
</el-dialog>
<!-- 添加定着物弹框 -->
<el-dialog
v-dialogDrag
:close-on-click-modal=
"false"
title=
"新建"
:visible
.
sync=
"dialogVisible"
width=
"48%"
>
<Create
@
closeDialog=
"closeDialog"
:auth=
"true"
></Create>
<Create
@
closeDialog=
"closeDialog"
:auth=
"true"
:createZrz=
"createZrz"
></Create>
</el-dialog>
<sxdr
:sxdr-visible=
"sxdrVisible"
@
close=
"sxdrClose"
:dylx=
"zdData.type"
:bsm=
"zdData.bsm"
></sxdr>
</div>
...
...
@@ -162,7 +162,8 @@ export default {
dzVisible
:
false
,
//宗地权属状态
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]]"
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
,
};
},
watch
:
{
...
...
@@ -257,7 +258,10 @@ export default {
this
.
dzVisible
=
data
},
//添加定着物
openCreateDialog
(){
openCreateDialog
(
type
){
if
(
type
==
'zrz'
){
this
.
createZrz
=
true
;
}
console
.
log
(
this
.
zdData
,
'this.zdData'
);
this
.
dialogVisible
=
true
;
this
.
$store
.
state
.
zdbsm
=
this
.
zdData
.
zdbsm
;
...
...
@@ -270,6 +274,7 @@ export default {
//关闭添加定着物弹框
closeDialog
()
{
this
.
dialogVisible
=
false
;
this
.
createZrz
=
false
;
},
preDealData
(
list
)
{
//楼盘表目录树没有expand属性
...
...
src/views/panel/create/index.vue
View file @
e3c300a
...
...
@@ -111,7 +111,7 @@
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
</el-tab-pane>
<el-tab-pane
class=
"eltabspane"
label=
"多幢"
name=
"dz"
>
<el-tab-pane
class=
"eltabspane"
v-if=
"!createZrz"
label=
"多幢"
name=
"dz"
>
<el-form
:inline=
"true"
:rules=
"rules2"
:model=
"ruleForm2"
ref=
"ruleForm2"
class=
"demo-form-inline"
>
<el-form-item
label=
"项目名称"
class=
"w100"
prop=
"xmmc"
>
<el-input
...
...
@@ -126,14 +126,14 @@
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
</el-tab-pane>
<el-tab-pane
class=
"eltabspane"
label=
"林权"
name=
"lq"
>
<el-tab-pane
class=
"eltabspane"
v-if=
"!createZrz"
label=
"林权"
name=
"lq"
>
<div
class=
"handleBtn"
>
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"todo"
>
创建
</el-button>
<el-button
type=
"primary"
class=
"w98 cancel"
@
click=
"close"
>
取消
</el-button>
</div>
</el-tab-pane>
<el-tab-pane
class=
"eltabspane"
label=
"构筑物"
name=
"gzw"
>
<el-tab-pane
class=
"eltabspane"
v-if=
"!createZrz"
label=
"构筑物"
name=
"gzw"
>
<div
class=
"handleBtn"
>
<el-button
type=
"primary"
class=
"w98 import"
>
导入图形
</el-button>
<el-button
type=
"primary"
class=
"w98 creat"
@
click=
"todo"
>
创建
</el-button>
...
...
@@ -157,7 +157,20 @@ export default {
name
:
""
,
components
:
{},
inject
:[
'getRightTree'
,
'getRightTreeByZrzbsm'
,
'getRightTreeByDzbsm'
],
props
:
[
'auth'
],
props
:
{
auth
:
{
type
:
Boolean
,
default
:
function
()
{
return
false
}
},
createZrz
:
{
type
:
Boolean
,
default
:
function
()
{
return
false
}
},
},
data
()
{
return
{
tabPosition
:
"left"
,
...
...
Please
register
or
sign in
to post a comment