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
20bbca64
authored
2021-01-13 15:21:12 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
635fa4fb
250995c1
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
59 additions
and
8 deletions
src/api/zd.js
src/components/lineTree/lineTree.vue
src/components/lineTree/tx/importGeo.vue
src/components/lineTree/tx/js/geoUtils.js
src/views/dz/dzxx/index.vue
src/views/panel/change/hfghb/index.vue
src/views/zd/zddcb/index.vue
src/views/zrz/lpb/bjlp/ljz/index.vue
src/api/zd.js
View file @
20bbca6
...
...
@@ -162,6 +162,27 @@ export function jzxsbatchModify(data) {
})
}
/*
删除界址点
*/
export
function
delJzdByBsm
(
data
){
return
request
({
url
:
'/zd/qjJzd/'
,
method
:
'delete'
,
params
:
data
})
}
/*
删除界址线
*/
export
function
delJzxByBsm
(
data
){
return
request
({
url
:
'/zd/qjJzx/'
,
method
:
'delete'
,
params
:
data
})
}
/**x
*根据宗地Bsm删除宗地信息
*/
...
...
src/components/lineTree/lineTree.vue
View file @
20bbca6
...
...
@@ -127,7 +127,7 @@
</
template
>
<
script
>
import
lineItem
from
"./lineItem.vue"
;
import
{
deleteZdInfoByBsm
,
exportShp
,
exportExcel
}
from
"@api/zd"
;
import
{
deleteZdInfoByBsm
,
exportShp
,
exportExcel
,
delJzdByBsm
,
delJzxByBsm
}
from
"@api/zd"
;
import
Create
from
"../../views/panel/create/index"
;
import
ImportGeo
from
'./tx/importGeo'
import
geoUtils
from
"@components/lineTree/tx/js/geoUtils"
;
...
...
@@ -529,7 +529,13 @@ export default {
self
.
updateGraphic
(
featureUrl
,
features
,
function
(
res
)
{
if
(
!
res
.
updateFeatureResults
[
0
].
error
){
self
.
$message
.
warning
(
"删除成功!!!"
)
self
.
addGeoByBsm
(
BSM
,
type
,
"testMap"
);
//清除图层
self
.
clearHighlightLayer
(
"testMap"
);
//self.addGeoByBsm(BSM,type,"testMap");
//删除界址点 界址线
if
(
type
==
'zd'
){
self
.
delJzdAndJzx
(
BSM
);
}
}
});
...
...
@@ -538,6 +544,19 @@ export default {
}
});
},
//删除宗地界址点 界址线
delJzdAndJzx
(
bsm
){
delJzdByBsm
({
zdbsm
:
bsm
}).
then
(
res
=>
{
if
(
res
.
success
){
console
.
log
(
"删除界址点成功!!!"
);
}
});
delJzxByBsm
({
zdbsm
:
bsm
}).
then
(
res
=>
{
if
(
res
.
success
){
console
.
log
(
"删除界址线成功!!!"
);
}
})
},
/*
* 导入图形
* */
...
...
src/components/lineTree/tx/importGeo.vue
View file @
20bbca6
...
...
@@ -381,8 +381,9 @@ export default {
if
(
valid
){
//选择处理方式
var
value
=
self
.
dealForm
.
method
;
self
.
currntDealGraphic
.
attributes
=
{};
switch
(
value
)
{
case
'1'
:
self
.
currntDealGraphic
.
attributes
.
BGZT
=
1
;
self
.
saveZd
(
self
.
currntDealGraphic
);
break
;
case
'1'
:
self
.
currntDealGraphic
.
attributes
.
BGZT
=
1
;
self
.
saveZd
(
self
.
currntDealGraphic
);
break
;
case
"2"
:
self
.
getDifference
(
self
.
currntDealGraphic
,
self
.
overResults
,
self
.
delOverGeo
);
break
;
case
"3"
:
self
.
getResultsDif
(
self
.
overResults
,
self
.
currntDealGraphic
,
self
.
delOtherGeo
,
true
);
break
;
case
"4"
:
self
.
getResultsDif
(
self
.
overResults
,
self
.
currntDealGraphic
,
self
.
delOtherGeo
,
false
);
break
;
...
...
@@ -395,6 +396,9 @@ export default {
},
//裁剪自己在保存
delOverGeo
(
geometry
){
if
(
!
this
.
currntDealGraphic
.
attributes
){
this
.
currntDealGraphic
.
attributes
=
{};
}
this
.
currntDealGraphic
.
attributes
.
BGZT
=
2
;
if
(
geometry
==
null
){
this
.
$message
.
warning
(
"完全重叠,已删除图形信息!!!"
)
...
...
src/components/lineTree/tx/js/geoUtils.js
View file @
20bbca6
...
...
@@ -508,6 +508,14 @@ export default {
return
;
}
});
},
//清空当前图层
clearHighlightLayer
(
viewId
){
var
view
=
maps
[
viewId
];
var
layer
=
view
.
map
.
findLayerById
(
"highlightLayer"
);
if
(
layer
){
layer
.
removeAll
();
}
}
}
}
\ No newline at end of file
...
...
src/views/dz/dzxx/index.vue
View file @
20bbca6
...
...
@@ -532,7 +532,6 @@
type
:
"dz"
}
submit
(
data
).
then
((
res
)
=>
{
debugger
if
(
res
.
code
===
200
){
this
.
$message
.
success
(
"提交完成!"
);
this
.
getDzDetailByBsm
(
this
.
$route
.
query
.
bsm
)
...
...
src/views/panel/change/hfghb/index.vue
View file @
20bbca6
...
...
@@ -234,7 +234,7 @@ export default {
xmmc
:
""
,
zddm
:
""
,
zl
:
""
,
type
:
'
all
'
,
type
:
'
change
'
,
pageNo
:
1
,
pageSize
:
15
},
...
...
src/views/zd/zddcb/index.vue
View file @
20bbca6
...
...
@@ -806,7 +806,7 @@
var
qlrTableData
=
this
.
$refs
.
qlrxxModule
.
tableData
;
if
(
qlrTableData
.
length
>
0
){
for
(
var
i
=
0
;
i
<
qlrTableData
.
length
;
i
++
){
if
(
i
=
=
0
){
if
(
i
=
0
){
self
.
geoAttributes
[
key
]
=
qlrTableData
[
i
].
qlrmc
;
}
else
{
self
.
geoAttributes
[
key
]
+=
','
+
qlrTableData
[
i
].
qlrmc
;
...
...
src/views/zrz/lpb/bjlp/ljz/index.vue
View file @
20bbca6
...
...
@@ -395,7 +395,7 @@ export default {
}
})
this
.
$nextTick
(()
=>
{
if
(
flag
&&
this
.
$refs
.
qlxzModule
.
getRulesResult
()
)
{
if
(
flag
)
{
if
(
this
.
ljzbsm
==
''
){
insertLjzInfo
(
this
.
form
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
)
{
...
...
@@ -515,7 +515,7 @@ export default {
ljzbsm
:
{
handler
:
function
(
item
)
{
console
.
log
(
item
,
'item'
);
if
(
item
!=
''
&&
this
.
$parent
.
menuType
==
'ljz'
){
if
(
item
!=
''
&&
this
.
$parent
.
$parent
.
menuType
==
'ljz'
){
this
.
getLjzInfo
(
this
.
ljzbsm
)
}
},
...
...
Please
register
or
sign in
to post a comment