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
bdd9175b
authored
2022-09-14 18:02:21 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:登记类型
1 parent
5a982e1d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
5 deletions
src/views/ywbl/ywsq/ywsq.vue
src/views/ywbl/ywsq/ywsq.vue
View file @
bdd9175
...
...
@@ -18,12 +18,12 @@
<div
class=
"right-type el-card box-card is-always-shadow"
v-if=
"n == -1"
>
<div
class=
"right-title"
>
登记类型
</div>
<ul
class=
"type-content"
>
<li
:class=
"item.select ? 'cactive' : ''"
@
click=
"handleDjlxSelect(item)"
v-for=
"(item, index) in djlxList"
<li
:class=
"item.
c
select ? 'cactive' : ''"
@
click=
"handleDjlxSelect(item)"
v-for=
"(item, index) in djlxList"
:key=
"index"
>
<p>
{{
item
.
nodename
}}
</p>
<p
v-if=
"item.sffqlc == 1"
:class=
"item.select ? 'active' : ''"
>
<p
v-if=
"item.sffqlc == 1"
:class=
"item.select ? 'active' : ''"
@
click
.
stop=
"handleCollection(item)"
>
<i
class=
"el-icon-star-off"
:class=
"item.select ? 'active' : ''"
></i>
</p>
</li>
...
...
@@ -154,6 +154,10 @@ export default {
this
.
$set
(
item
,
'cselect'
,
false
)
this
.
$set
(
item
,
'select'
,
false
)
})
this
.
djlxList
.
forEach
(
item
=>
{
this
.
$set
(
item
,
'cselect'
,
false
)
this
.
$set
(
item
,
'select'
,
false
)
})
})
},
handleCollection
(
item
)
{
...
...
@@ -169,9 +173,9 @@ export default {
handleDjlxSelect
(
item
)
{
this
.
btnDisabled
=
true
this
.
djlxList
.
forEach
(
item
=>
{
if
(
item
.
select
)
item
.
select
=
false
if
(
item
.
cselect
)
item
.
c
select
=
false
})
this
.
$set
(
item
,
'select'
,
true
)
this
.
$set
(
item
,
'
c
select'
,
true
)
if
(
item
.
sffqlc
==
'1'
)
{
this
.
btnDisabled
=
false
this
.
bsmSqyw
=
item
.
bsmSqyw
...
...
@@ -186,7 +190,6 @@ export default {
this
.
isDialog
=
true
},
loadView
(
view
)
{
console
.
log
(
view
);
return
r
=>
require
.
ensure
([],
()
=>
r
(
require
(
`./components/
${
view
}
/
${
view
}
.vue`
)))
},
}
...
...
Please
register
or
sign in
to post a comment