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
724ed096
authored
2022-08-19 11:03:53 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:申请业务规则配置
1 parent
1f429e33
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
5 deletions
src/components/dialogBox/dialogBox.vue
src/views/system/sqywgz/components/editDialog.vue
src/components/dialogBox/dialogBox.vue
View file @
724ed09
...
...
@@ -10,7 +10,7 @@
<i
class=
"el-icon-full-screen"
v-else
@
click=
"handleFullscreen"
/>
</div>
</div>
<div
class=
"dialogBox-content"
:style=
"
{
h
eight: scrollerHeight ? scrollerHeight : 'auto' }" :key="key">
<div
class=
"dialogBox-content"
:style=
"
{
minH
eight: scrollerHeight ? scrollerHeight : 'auto' }" :key="key">
<slot></slot>
</div>
<div
slot=
"footer"
class=
"dialog_footer"
v-if=
"isButton"
>
...
...
src/views/system/sqywgz/components/editDialog.vue
View file @
724ed09
<
template
>
<dialogBox
title=
"申请业务规则配置"
@
submitForm=
"submitForm"
@
closeDialog=
"closeDialog"
v-model=
"value"
>
<ul
class=
"edit-title-list"
>
<li
v-for=
"(item, index) in titleList"
@
click=
"handleTitleSelct(item)"
:key=
"index"
:class=
"
{ active: item.select }">
{{
item
.
name
}}
</li>
</ul>
<div
class=
"sqywgz-edit"
>
<ul
class=
"sqywgz-edit-left"
>
<li
v-for=
"(item, index) in leftList"
:key=
"index"
:class=
"
{ active: index == n }" @click="hanldeItem(index)">
{{
...
...
@@ -131,6 +137,21 @@ export default {
},
data
()
{
return
{
titleList
:
[
{
name
:
'第一次登记'
,
select
:
true
},
{
name
:
'转移登记'
},
{
name
:
'变更登记'
},
{
name
:
'注销登记'
}
],
imgUploadUrl
:
fileController
.
uploadUrl
(),
n
:
0
,
leftList
:
[
...
...
@@ -213,6 +234,15 @@ export default {
};
},
methods
:
{
handleTitleSelct
(
obj
)
{
this
.
titleList
.
forEach
(
item
=>
{
if
(
item
.
select
)
{
item
.
select
=
false
}
})
this
.
n
=
0
this
.
$set
(
obj
,
'select'
,
true
)
},
getValue
(
val
)
{
console
.
log
(
val
);
},
...
...
@@ -270,6 +300,29 @@ export default {
<
style
scoped
lang=
"scss"
>
@import
"~@/styles/mixin.scss"
;
.active
{
background
:
$
light-blue
!important
;
color
:
#fff
;
}
.edit-title-list
{
@include
flex;
li
{
flex
:
1
;
@include
flex-center;
border
:
1px
solid
$
borderColor
;
line-height
:
36px
;
margin-bottom
:
10px
;
cursor
:
pointer
;
transition
:
all
0.3s
;
&:hover
{
@extend
.active;
}
}
}
.sqywgz-edit
{
@include
flex;
width
:
100%
;
...
...
@@ -277,10 +330,7 @@ export default {
&-left
{
width
:
26px
;
.active
{
background
:
$
light-blue
;
color
:
#fff
;
}
li
{
@include
flex-center;
...
...
@@ -288,6 +338,7 @@ export default {
border-bottom-right-radius
:
5px
;
padding
:
15px
;
cursor
:
pointer
;
transition
:
all
0.3s
;
&:hover
{
@extend
.active;
...
...
Please
register
or
sign in
to post a comment