Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
memberTag
memberTag-web
Commits
befd97fa
Commit
befd97fa
authored
Apr 30, 2019
by
caoyanzhi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决标签关系不对的问题
parent
93f6aefd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
memberGroupEdit.vue
src/view/memberGroup/memberGroupEdit.vue
+0
-1
member-tag.vue
src/view/platformTag/member-tag.vue
+6
-1
No files found.
src/view/memberGroup/memberGroupEdit.vue
View file @
befd97fa
...
...
@@ -331,7 +331,6 @@ export default {
data
.
newTagVal
=
JSON
.
stringify
(
tagParams
.
selectedVal
);
data
.
level
=
this
.
activeTagsGroupIndex
;
data
.
levelType
=
this
.
ruleForm
.
tagsGroupRelation
[
this
.
activeTagsGroupIndex
]
?
this
.
ruleForm
.
tagsGroupRelation
[
this
.
activeTagsGroupIndex
]
:
'or'
;
switch
(
this
.
editPopType
)
{
case
'add'
:
...
...
src/view/platformTag/member-tag.vue
View file @
befd97fa
...
...
@@ -269,6 +269,12 @@ export default {
},
createNewGroup
()
{
this
.
selectedTags
.
forEach
((
tagsGroup
,
tagsGroupIndex
)
=>
{
let
relation
=
this
.
tagsGroupRelation
[
tagsGroupIndex
];
tagsGroup
.
forEach
(
item
=>
{
item
.
levelType
=
relation
?
relation
:
'or'
;
})
});
const
param
=
{
groupName
:
this
.
tagConfig
.
groupName
,
isRealTime
:
this
.
tagConfig
.
isRealTime
,
...
...
@@ -315,7 +321,6 @@ export default {
let
tagParams
=
JSON
.
parse
(
tagData
.
tagParams
);
tagData
.
newTagVal
=
JSON
.
stringify
(
tagParams
.
selectedVal
);
tagData
.
level
=
this
.
activeTagsGroupIndex
;
tagData
.
levelType
=
this
.
tagsGroupRelation
[
this
.
activeTagsGroupIndex
]
?
this
.
tagsGroupRelation
[
this
.
activeTagsGroupIndex
]
:
'or'
;
switch
(
this
.
editPopType
)
{
case
'add'
:
this
.
selectedTags
[
this
.
activeTagsGroupIndex
].
push
(
tagData
);
...
...
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