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
32b9f044
authored
2022-08-22 17:30:06 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:业务申请
1 parent
b2a8f178
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
9 deletions
src/views/ywbl/fqsq/components/clxx.vue
src/views/ywbl/fqsq/fqsq.vue
src/views/ywbl/fqsq/components/clxx.vue
0 → 100644
View file @
32b9f04
<
template
>
<div
class=
'clxx'
>
clxxclxxclxxclxxclxxclxx
</div>
</
template
>
<
script
>
export
default
{
/**注册组件*/
components
:
{},
data
()
{
return
{
};
},
}
</
script
>
<
style
scoped
lang=
'scss'
>
</
style
>
\ No newline at end of file
src/views/ywbl/fqsq/fqsq.vue
View file @
32b9f04
...
...
@@ -14,7 +14,7 @@
</li>
</ul>
</div>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tabs
v-model=
"activeName"
>
<el-tab-pane
:label=
"item.name"
:name=
"index + 1 + ''"
v-for=
"(item, index) in tabList"
:key=
"index"
>
</el-tab-pane>
</el-tabs>
...
...
@@ -88,19 +88,21 @@ export default {
name
:
'权利信息'
,
},
],
editItem
:
'
slxx
'
editItem
:
''
};
},
mounted
()
{
let
itemObj
=
{
'1'
:
'slxx'
}
this
.
editItem
=
this
.
loadView
(
itemObj
[
this
.
activeName
])
watch
:
{
activeName
:
{
handler
(
newName
,
oldName
)
{
let
itemObj
=
{
'1'
:
'slxx'
,
'2'
:
'clxx'
}
this
.
editItem
=
this
.
loadView
(
itemObj
[
newName
])
},
methods
:
{
handleClick
(
tab
,
event
)
{
console
.
log
(
tab
,
event
);
immediate
:
true
}
},
methods
:
{
loadView
(
view
)
{
return
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
`./components/
${
view
}
`
)))
return
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
`./components/
${
view
}
.vue
`
)))
},
},
}
...
...
Please
register
or
sign in
to post a comment