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
0a22a70f
authored
2020-11-09 17:40:23 +0800
by
杨威
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
楼盘表模块点击时候再加载
1 parent
5f1196a8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/views/systemZRZ/index.vue
src/views/systemZRZ/index.vue
View file @
0a22a70
...
...
@@ -4,7 +4,7 @@
<el-tab-pane
label=
"自然幢信息"
name=
"zrzxx"
><zrzxx></zrzxx></el-tab-pane>
<el-tab-pane
label=
"业主共有"
name=
"yzgy"
><yzgy></yzgy></el-tab-pane>
<el-tab-pane
label=
"登记簿"
name=
"djb"
><djb></djb></el-tab-pane>
<el-tab-pane
label=
"楼盘表"
name=
"lpb"
><lpb></lpb></el-tab-pane>
<el-tab-pane
label=
"楼盘表"
name=
"lpb"
><lpb
v-if=
"lpbLoad"
></lpb></el-tab-pane>
<el-tab-pane
label=
"历史回溯"
name=
"lshs"
><lshs></lshs></el-tab-pane>
</el-tabs>
</div>
...
...
@@ -25,11 +25,14 @@ export default {
data
()
{
return
{
activeName
:
"zrzxx"
,
lpbLoad
:
false
,
//默认不加载楼盘表组件
};
},
methods
:
{
handleClick
(
tab
,
event
)
{
console
.
log
(
tab
,
event
);
if
(
!
this
.
lpbLoad
){
this
.
lpbLoad
=
tab
.
name
==
'lpb'
?
true
:
false
}
},
},
created
()
{},
...
...
Please
register
or
sign in
to post a comment