Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-custom
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 52323c41
authored
Jun 14, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
058b45a6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
src/views/groupTagsManage/components/tagGroup.vue
src/views/groupTagsManage/components/tagGroup.vue
View file @
52323c4
...
@@ -163,7 +163,7 @@ export default {
...
@@ -163,7 +163,7 @@ export default {
}
}
this
.
loading
=
true
this
.
loading
=
true
getTableList
(
params
).
then
(
res
=>
{
getTableList
(
params
).
then
(
res
=>
{
const
labelTreeRets
=
res
.
labelTreeRets
.
map
(
item
=>
{
const
labelTreeRets
=
res
.
labelTreeRets
&&
res
.
labelTreeRets
.
map
(
item
=>
{
return
{
return
{
id
:
item
.
labelGroup
.
id
,
id
:
item
.
labelGroup
.
id
,
name
:
item
.
labelGroup
.
name
,
name
:
item
.
labelGroup
.
name
,
...
@@ -173,7 +173,7 @@ export default {
...
@@ -173,7 +173,7 @@ export default {
}
}
})
})
const
labelType
=
this
.
$globalState
.
session
.
merchantModel
==
1
?
'集团标签'
:
'企业标签'
const
labelType
=
this
.
$globalState
.
session
.
merchantModel
==
1
?
'集团标签'
:
'企业标签'
labelTreeRets
.
forEach
(
item
=>
{
labelTreeRets
&&
labelTreeRets
.
forEach
(
item
=>
{
const
index
=
this
.
labelTree
.
findIndex
(
ret
=>
ret
.
name
==
item
.
labelType
)
const
index
=
this
.
labelTree
.
findIndex
(
ret
=>
ret
.
name
==
item
.
labelType
)
if
(
index
==
-
1
)
{
if
(
index
==
-
1
)
{
this
.
labelTree
.
push
({
this
.
labelTree
.
push
({
...
...
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