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
23538d49
authored
2021-01-22 15:46:59 +0800
by
焦泽平
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
自然幢历史回溯涉及不动产单元号逻辑处理
1 parent
8a107f50
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
26 additions
and
12 deletions
src/api/zrz.js
src/components/lshs/index.vue
src/views/zrz/zrzxx/index.vue
src/api/zrz.js
View file @
23538d4
...
...
@@ -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 @
23538d4
...
...
@@ -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'
,
...
...
@@ -184,6 +184,7 @@ export default {
offsetY
:
10
,
itemTypes
:
[
'node'
,
'edge'
],
getContent
:
(
e
)
=>
{
debugger
;
const
outDiv
=
document
.
createElement
(
'div'
);
outDiv
.
style
.
width
=
'fit-content'
;
outDiv
.
innerHTML
=
`
...
...
@@ -199,8 +200,9 @@ export default {
},
});
const
container
=
document
.
getElementById
(
'mountNode'
);
console
.
log
(
container
)
//
console.log(container)
const
graph
=
new
G6
.
Graph
({
container
:
'mountNode'
,
width
:
eWidth
,
...
...
@@ -253,15 +255,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 +325,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 +378,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/zrz/zrzxx/index.vue
View file @
23538d4
...
...
@@ -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