Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-settings
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dd31a628
authored
Apr 21, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
800549c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
4 deletions
src/views/baseInfo/selectBrand.vue
src/views/baseInfo/selectBrand.vue
View file @
dd31a62
<!--
* @Author: your name
* @Date: 2022-03-07 14:32:50
* @LastEditTime: 2022-04-
19 18:03:04
* @LastEditTime: 2022-04-
21 18:43:21
* @LastEditors: huyue
* @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
* @FilePath: \scrm-micro-settings\src\views\baseInfo\editInfo.vue
...
...
@@ -92,8 +92,15 @@ export default {
merchantBrandId
}
})
getCheckedNodes
=
getCheckedNodes
.
filter
(
item
=>
item
.
children
)
let
merchantBrandList2
=
getCheckedNodes
.
map
(
car
=>
{
let
checkNodes
=
getCheckedNodes
.
filter
(
item
=>
item
.
children
)
let
noCheckNodes
=
getCheckedNodes
.
filter
(
item
=>
item
.
children
===
null
)
.
map
(
i
=>
{
return
{
cars
:
i
.
id
}
})
let
merchantBrandList2
=
checkNodes
.
map
(
car
=>
{
let
merchantBrandId
=
[]
car
.
children
.
forEach
(
item
=>
{
if
(
getCheckedKeys
.
includes
(
item
.
id
))
{
...
...
@@ -105,7 +112,7 @@ export default {
merchantBrandId
}
})
return
merchantBrandList
.
concat
(
merchantBrandList2
)
return
merchantBrandList
.
concat
(
merchantBrandList2
)
.
concat
(
noCheckNodes
)
},
//勾选
handleCheck
()
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment