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
118118f1
authored
2021-01-22 17:10:11 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
http://yun.pashanhoo.com:9090/renchao/CadastralSystem
2 parents
0750ea56
b4e0e25f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
32 additions
and
15 deletions
src/api/zrz.js
src/components/lshs/index.vue
src/views/panel/create/index.vue
src/views/zrz/zrzxx/index.vue
src/api/zrz.js
View file @
118118f
...
...
@@ -37,7 +37,7 @@ export function saveZrzInfo(data) {
}
/**
*
保存自然幢
信息
*
根据bsm查询自然幢基本
信息
*/
export
function
getZrzDetailByBsm
(
data
)
{
return
request
({
...
...
@@ -50,6 +50,20 @@ export function getZrzDetailByBsm(data) {
}
/**
* 根据bsm查询自然幢基本信息-历史回溯
*/
export
function
getZrzDetailByBsmBylshs
(
data
)
{
return
request
({
url
:
'/fw/qjZrz/getQjZrzDetailByIdBylshs'
,
method
:
'get'
,
params
:
{
id
:
data
}
})
}
/**
* 新增权籍_建筑物区分所有权业主共有部分调查表
*/
export
function
saveYzgy
(
data
)
{
...
...
src/components/lshs/index.vue
View file @
118118f
...
...
@@ -76,7 +76,7 @@
import
insertCss
from
'insert-css'
;
import
{
getLshs
}
from
"@api/fwsxbg"
;
import
{
getQjZdjbxxDetailByIdBylshs
}
from
"@api/zd"
;
import
{
getZrzDetailByBsm
}
from
"@api/zrz"
;
import
{
getZrzDetailByBsm
Bylshs
}
from
"@api/zrz"
;
import
{
getDzDetailByBsm
}
from
"@api/dz"
;
export
default
{
...
...
@@ -115,6 +115,7 @@ export default {
},
mounted
(){
this
.
getLshsData
();
},
methods
:
{
initG6
()
{
...
...
@@ -122,9 +123,8 @@ export default {
const
data
=
this
.
data
;
const
eWidth
=
this
.
$refs
.
containerWidth
.
clientWidth
;
const
eHeight
=
this
.
$refs
.
containerWidth
.
clientHeight
;
// console.log(eWidth+":width")
// console.log(eHeight+":height")
const
mountNodeRight1
=
document
.
getElementById
(
'mountNodeRight'
);
mountNodeRight1
.
style
.
height
=
eHeight
-
20
+
'px'
;
G6
.
registerNode
(
'sql'
,
...
...
@@ -179,11 +179,14 @@ export default {
'polyline'
,
);
//鼠标移动 弹出界面
const
tooltip
=
new
G6
.
Tooltip
({
offsetX
:
10
,
offsetY
:
10
,
itemTypes
:
[
'node'
,
'edge'
],
getContent
:
(
e
)
=>
{
debugger
;
const
outDiv
=
document
.
createElement
(
'div'
);
outDiv
.
style
.
width
=
'fit-content'
;
outDiv
.
innerHTML
=
`
...
...
@@ -199,8 +202,9 @@ export default {
},
});
const
container
=
document
.
getElementById
(
'mountNode'
);
console
.
log
(
container
)
//
console.log(container)
const
graph
=
new
G6
.
Graph
({
container
:
'mountNode'
,
width
:
eWidth
,
...
...
@@ -222,13 +226,14 @@ export default {
endArrow
:
true
,
radius
:
10
,
offset
:
10
,
// fontSize:14,
// endArrow: true,
lineWidth
:
2
,
lineWidth
:
2
,
//箭头宽度
stroke
:
'rgba(78,142,230,0.45)'
,
},
},
nodeStateStyles
:
{
selected
:
{
selected
:
{
//选中之后样式
stroke
:
'#d9d9d9'
,
fill
:
'#5394ef'
,
},
...
...
@@ -253,15 +258,13 @@ export default {
graph
.
on
(
'node:click'
,
e
=>
{
switch
(
this
.
type
)
{
case
"zrz"
:
getZrzDetailByBsm
(
e
.
item
.
_cfg
.
id
).
then
((
res
)
=>
{
getZrzDetailByBsm
Bylshs
(
e
.
item
.
_cfg
.
id
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
self
.
result
=
res
.
result
;
}
})
break
;
case
"zd"
:
debugger
;
getQjZdjbxxDetailByIdBylshs
(
e
.
item
.
_cfg
.
id
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
self
.
result
=
res
.
result
;
...
...
@@ -325,7 +328,7 @@ export default {
});
switch
(
this
.
type
)
{
case
"zrz"
:
getZrzDetailByBsm
(
this
.
bsm
).
then
((
res
)
=>
{
getZrzDetailByBsm
Bylshs
(
this
.
bsm
).
then
((
res
)
=>
{
if
(
res
.
code
===
200
){
this
.
result
=
res
.
result
;
}
...
...
@@ -378,7 +381,7 @@ export default {
margin
:
20px
20px
0
0
;
width
:
36%
;
float
:
right
;
height
:
10
0%
;
height
:
8
0%
;
border
:
1px
solid
#E6E6E6
;
background
:
white
;
padding
:
20px
20px
0
20px
;
...
...
src/views/panel/create/index.vue
View file @
118118f
...
...
@@ -332,7 +332,7 @@ export default {
this
.
close
();
// 根据res.processInstance.businessId去查询zdbsm TODO
// this.$store.state.zdbsm = res.result
;
this
.
$store
.
state
.
zdbsm
=
res
.
processInstance
.
title
;
// todo 跳转到宗地基本信息内容表页面 (预留)
this
.
close
();
this
.
$router
.
push
({
...
...
src/views/zrz/zrzxx/index.vue
View file @
118118f
...
...
@@ -273,7 +273,7 @@
</table>
<div
class=
"header-button"
:style=
"
{width:mainBoxWidth+'px'}">
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"onSave"
:disabled=
"disabled"
icon=
"iconfont
el-icon-search
"
>
保存
</el-button>
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"onSave"
:disabled=
"disabled"
icon=
"iconfont
iconbaocun
"
>
保存
</el-button>
<el-button
type=
"primary"
@
click=
"onSubmit"
:disabled=
"disabled"
>
提交
</el-button>
<el-button
type=
"primary"
@
click=
"registerCall"
>
登记调用
</el-button>
<!--
<el-button
type=
"primary"
class=
"saveBtn"
@
click=
"save"
>
保存
</el-button>
-->
...
...
Please
register
or
sign in
to post a comment