Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcdj-web
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
18fb52ac
authored
2023-08-17 08:44:06 +0800
by
xiaomiao
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
登记簿左侧菜单重构
1 parent
56ab0c7f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
29 additions
and
27 deletions
src/store/modules/user.js
src/views/registerBook/bdcqldjml.vue
src/views/registerBook/bdcqljqtsx.vue
src/views/registerBook/djbFrame.vue
src/views/registerBook/djbFrameData.js
src/views/registerBook/djbFrameall.vue
src/store/modules/user.js
View file @
18fb52a
...
...
@@ -4,7 +4,6 @@
* @LastEditTime: 2023-07-28 15:45:21
*/
import
{
getUserInfo
}
from
'@/api/user'
import
{
log
}
from
'bpmn-js-token-simulation'
const
state
=
{
name
:
''
,
userInfo
:{},
...
...
src/views/registerBook/bdcqldjml.vue
View file @
18fb52a
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-08-15 10:39:19
-->
...
...
@@ -18,7 +18,7 @@
</tr>
<tr
v-for=
"(item, index) in bdcqlml"
:key=
"index"
>
<td>
{{
index
+
1
}}
</td>
<td><el-link
type=
"primary"
@
click=
"handleSelectBdcdyh(item
.bdcdyh
)"
:underline=
"false"
>
{{
item
.
bdcdyh
}}
</el-link></td>
<td><el-link
type=
"primary"
@
click=
"handleSelectBdcdyh(item)"
:underline=
"false"
>
{{
item
.
bdcdyh
}}
</el-link></td>
<td>
{{
item
.
bdclx
}}
</td>
<td>
{{
item
.
szbs
}}
</td>
<td>
{{
item
.
bz
}}
</td>
...
...
src/views/registerBook/bdcqljqtsx.vue
View file @
18fb52a
<!--
* @Description:
* @Description:
* @Autor: renchao
* @LastEditTime: 2023-07-19 09:52:07
-->
<
template
>
<div
class=
"bdcqljqtsx"
>
<div
class=
"content"
>
<div
class=
"content"
v-if=
"qlxxList.ztqlmc"
>
<div
class=
"title"
>
不动产权利及其他事项
<br
/>
登记信息
</div>
<div>
不动产单元号:
...
...
src/views/registerBook/djbFrame.vue
View file @
18fb52a
This diff is collapsed.
Click to expand it.
src/views/registerBook/djbFrameData.js
View file @
18fb52a
import
{
log
}
from
"bpmn-js-token-simulation"
;
var
qlxxPage
=
[
...
...
@@ -41,34 +42,36 @@ var qlxxPage = [
//组装登记簿树形结构
/**
* @description: 组装登记簿树形结构
* @param {*} qlxxData
* @param {*} bdcdyh
* @author: renchao
*/
export
function
loadTreeData
(
qlxxData
,
bdcdyh
)
{
export
function
loadTreeData
(
bdcdyh
)
{
let
treedata
=
[];
//加载封面
treedata
.
push
({
id
:
"djbfm"
,
form
:
"djbfm.vue"
,
label
:
"登记簿封面"
});
treedata
.
push
({
id
:
"zdjbxx"
,
form
:
"zdjbxx.vue"
,
label
:
"宗地基本信息\n("
+
bdcdyh
.
substring
(
0
,
19
)
+
")"
,
children
:
[]
});
treedata
[
1
].
children
.
push
({
id
:
"bdcqldjml"
,
form
:
"bdcqldjml.vue"
,
label
:
"不动产权利登记目录"
,
children
:
[]
});
treedata
[
1
].
children
[
0
].
children
.
push
({
id
:
"bdcqljqtsx"
,
form
:
"bdcqljqtsx.vue"
,
label
:
"不动产权利及其他事项\n ("
+
bdcdyh
.
slice
(
19
)
+
")"
,
children
:
[],
});
//主体权利
treedata
[
1
].
children
[
0
].
children
[
0
].
children
.
push
(
getNode
(
qlxxData
.
ztqllx
,
qlxxData
.
ztql
,
qlxxData
.
bdcdylx
));
//抵押权
treedata
[
1
].
children
[
0
].
children
[
0
].
children
.
push
(
getNode
(
"A37"
,
qlxxData
.
diyaq
,
''
));
//地役权
treedata
[
1
].
children
[
0
].
children
[
0
].
children
.
push
(
getNode
(
"A19"
,
qlxxData
.
diyiq
,
''
));
//预告登记
treedata
[
1
].
children
[
0
].
children
[
0
].
children
.
push
(
getNode
(
"B40"
,
qlxxData
.
ygdj
,
''
));
//异议登记
treedata
[
1
].
children
[
0
].
children
[
0
].
children
.
push
(
getNode
(
"B38"
,
qlxxData
.
yydj
,
''
));
//查封登记
treedata
[
1
].
children
[
0
].
children
[
0
].
children
.
push
(
getNode
(
"B39"
,
qlxxData
.
cfdj
,
''
));
return
treedata
;
}
export
function
loadsfqData
(
qlxxData
,
bdcdyh
,
bdcdyid
)
{
let
treedata
=
{
bdcdyid
:
bdcdyid
,
id
:
"bdcqljqtsx"
,
form
:
"bdcqljqtsx.vue"
,
label
:
"不动产权利及其他事项\n ("
+
bdcdyh
.
slice
(
19
)
+
")"
,
children
:
[],
};
//主体权利
treedata
.
children
.
push
(
getNode
(
qlxxData
.
ztqllx
,
qlxxData
.
ztql
,
qlxxData
.
bdcdylx
,
bdcdyid
));
//抵押权
treedata
.
children
.
push
(
getNode
(
"A37"
,
qlxxData
.
diyaq
,
''
,
bdcdyid
));
//地役权
treedata
.
children
.
push
(
getNode
(
"A19"
,
qlxxData
.
diyiq
,
''
,
bdcdyid
));
//预告登记
treedata
.
children
.
push
(
getNode
(
"B40"
,
qlxxData
.
ygdj
,
''
,
bdcdyid
));
//异议登记
treedata
.
children
.
push
(
getNode
(
"B38"
,
qlxxData
.
yydj
,
''
,
bdcdyid
));
//查封登记
treedata
.
children
.
push
(
getNode
(
"B39"
,
qlxxData
.
cfdj
,
''
,
bdcdyid
));
return
treedata
;
}
//获取权利类型、不动产单元类型对应的树形节点信息
/**
...
...
@@ -78,18 +81,18 @@ export function loadTreeData(qlxxData, bdcdyh) {
* @param {*} bdcdylx
* @author: renchao
*/
export
function
getNode
(
qllx
,
qlxx
,
bdcdylx
)
{
export
function
getNode
(
qllx
,
qlxx
,
bdcdylx
,
bdcdyid
)
{
let
node
;
for
(
var
i
=
0
;
i
<
qlxxPage
.
length
;
i
++
)
{
if
(
qlxxPage
[
i
].
qllx
==
qllx
)
{
if
(
qllx
==
"A04"
||
qllx
==
"A06"
||
qllx
==
"A08"
)
{
if
(
bdcdylx
==
"4"
)
{
node
=
{
id
:
"fdcq1"
,
form
:
"fdcq1.vue"
,
label
:
qlxxPage
[
i
].
label
+
"(临:"
+
qlxx
.
linShi
+
",现:"
+
qlxx
.
xianShi
+
",历:"
+
qlxx
.
liShi
+
")"
};
node
=
{
bdcdyid
:
bdcdyid
,
id
:
"fdcq1"
,
form
:
"fdcq1.vue"
,
label
:
qlxxPage
[
i
].
label
+
"(临:"
+
qlxx
.
linShi
+
",现:"
+
qlxx
.
xianShi
+
",历:"
+
qlxx
.
liShi
+
")"
};
}
else
{
node
=
{
id
:
"fdcq2"
,
form
:
"fdcq2.vue"
,
label
:
qlxxPage
[
i
].
label
+
"(临:"
+
qlxx
.
linShi
+
",现:"
+
qlxx
.
xianShi
+
",历:"
+
qlxx
.
liShi
+
")"
};
node
=
{
bdcdyid
:
bdcdyid
,
id
:
"fdcq2"
,
form
:
"fdcq2.vue"
,
label
:
qlxxPage
[
i
].
label
+
"(临:"
+
qlxx
.
linShi
+
",现:"
+
qlxx
.
xianShi
+
",历:"
+
qlxx
.
liShi
+
")"
};
}
}
else
{
node
=
{
id
:
qlxxPage
[
i
].
id
,
form
:
qlxxPage
[
i
].
form
,
label
:
qlxxPage
[
i
].
label
+
"(临:"
+
qlxx
.
linShi
+
",现:"
+
qlxx
.
xianShi
+
",历:"
+
qlxx
.
liShi
+
")"
};
node
=
{
bdcdyid
:
bdcdyid
,
id
:
qlxxPage
[
i
].
id
,
form
:
qlxxPage
[
i
].
form
,
label
:
qlxxPage
[
i
].
label
+
"(临:"
+
qlxx
.
linShi
+
",现:"
+
qlxx
.
xianShi
+
",历:"
+
qlxx
.
liShi
+
")"
};
}
break
;
}
...
...
src/views/registerBook/djbFrameall.vue
View file @
18fb52a
This diff is collapsed.
Click to expand it.
Please
register
or
sign in
to post a comment