Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
smart_gov_platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
smart_gov_platform
Commits
32f91423
Commit
32f91423
authored
Dec 15, 2023
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改窗口关联业务
parent
ea4492ea
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
base-manager-ui/admin/src/pages/basicset/dept/components/addWindowBusiness.vue
.../src/pages/basicset/dept/components/addWindowBusiness.vue
+5
-5
No files found.
base-manager-ui/admin/src/pages/basicset/dept/components/addWindowBusiness.vue
View file @
32f91423
...
...
@@ -193,17 +193,17 @@ export default {
onSelectRow
(
record
,
selected
)
{
if
(
selected
&&
record
.
children
&&
record
.
children
.
length
)
{
record
.
children
.
forEach
((
v
)
=>
{
this
.
rowKeys
=
[...
new
Set
([...
this
.
rowKeys
,
v
.
i
d
])];
this
.
rowKeys
=
[...
new
Set
([...
this
.
rowKeys
,
v
.
businessI
d
])];
});
}
else
if
(
!
selected
&&
record
.
children
&&
record
.
children
.
length
)
{
this
.
rowKeys
=
this
.
rowKeys
.
filter
((
v
)
=>
v
!=
record
.
i
d
);
this
.
rowKeys
=
this
.
rowKeys
.
filter
((
v
)
=>
v
!=
record
.
businessI
d
);
record
.
children
.
forEach
((
v
)
=>
{
this
.
rowKeys
=
this
.
rowKeys
.
filter
((
val
)
=>
val
!=
v
.
i
d
);
this
.
rowKeys
=
this
.
rowKeys
.
filter
((
val
)
=>
val
!=
v
.
businessI
d
);
});
}
else
if
(
selected
&&
record
.
parentId
)
{
this
.
rowKeys
=
[...
new
Set
([...
this
.
rowKeys
,
record
.
parentId
])];
}
else
if
(
!
selected
)
{
this
.
rowKeys
=
this
.
rowKeys
.
filter
((
v
)
=>
v
!=
record
.
i
d
);
this
.
rowKeys
=
this
.
rowKeys
.
filter
((
v
)
=>
v
!=
record
.
businessI
d
);
}
},
// 保存窗口关联业务
...
...
@@ -236,4 +236,4 @@ export default {
align-items: center;
justify-content: space-between;
}
</
style
>
\ No newline at end of file
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment