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
795a7ef9
Commit
795a7ef9
authored
Oct 20, 2021
by
chenyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 优化
parent
8ddb50b5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
32 deletions
+10
-32
manual-tag-value-edit.vue
src/view/manualTag/manual-tag-value-edit.vue
+0
-7
member-tag.vue
src/view/platformTag/member-tag.vue
+9
-25
tag-container.vue
src/view/platformTag/tag-container.vue
+1
-0
No files found.
src/view/manualTag/manual-tag-value-edit.vue
View file @
795a7ef9
...
...
@@ -233,13 +233,6 @@ export default {
methods
:
{
// 返回手工标签列表
back
()
{
// console.log(this.tagInfo);
// return
// const levelGroupInfo = {
// id: this.tagInfo.tagLevelGroupId,
// name: this.tagInfo.tagLevelGroupName
// };
// localStorage.setItem('groupId', JSON.stringify(levelGroupInfo));
this
.
$router
.
push
(
'/member-tag'
);
},
...
...
src/view/platformTag/member-tag.vue
View file @
795a7ef9
...
...
@@ -28,7 +28,7 @@
<
/p
>
<
p
class
=
"tips"
v
-
if
=
"tagName == '金字塔会员分层' && !memberTagGradeEnsure"
>
暂未开通金字塔分层功能,无法使用该标签,可以联系达摩项目经理进行开通!
<
/p
>
<
tag
-
container
@
peopleHandTag
=
"peopleHandTag"
@
deleteHandTag
=
"deleteHandTag"
:
data
=
"memberTagList"
:
handTag
=
"handTag"
:
groupId
=
"groupId"
:
refersh
=
"refershList"
@
addTag
=
"selectedTag"
@
editHandTag
=
"editHandTag"
ref
=
"tagContainer"
:
isWeim
=
"weimId.includes(groupId || params.id)"
/>
<
tag
-
container
@
setGroupId
=
"setGroupId"
@
peopleHandTag
=
"peopleHandTag"
@
deleteHandTag
=
"deleteHandTag"
:
data
=
"memberTagList"
:
handTag
=
"handTag"
:
groupId
=
"groupId"
:
refersh
=
"refershList"
@
addTag
=
"selectedTag"
@
editHandTag
=
"editHandTag"
ref
=
"tagContainer"
:
isWeim
=
"weimId.includes(groupId || params.id)"
/>
<
div
class
=
"page-box"
v
-
if
=
"total > 0"
>
<
dm
-
pagination
...
...
@@ -520,6 +520,7 @@ export default {
refersh
:
false
}
));
this
.
total
=
Data
.
result
.
totalCount
;
localStorage
.
setItem
(
'groupId'
,
''
);
}
else
{
this
.
memberTagList
=
[];
this
.
total
=
0
;
...
...
@@ -587,13 +588,6 @@ export default {
this
.
manualTagPop
.
tagTwoLevelGroupId
=
''
;
this
.
manualTagPop
.
tagLevelGroupId
=
''
;
this
.
changeTagTitle
(
list
.
name
);
if
(
list
.
handTag
)
{
const
levelGroupInfo
=
{
id
:
list
.
id
,
name
:
list
.
name
}
;
localStorage
.
setItem
(
'groupId'
,
JSON
.
stringify
(
levelGroupInfo
));
}
}
,
changeTagTitle
(
name
)
{
this
.
tagName
=
name
||
'全部标签'
;
...
...
@@ -654,9 +648,13 @@ export default {
}
}
)
}
,
// onLoadV()
{
// localStorage.setItem('jumpThirdTag', '');
//
}
setGroupId
(){
const
levelGroupInfo
=
{
id
:
this
.
groupId
,
name
:
this
.
tagName
}
;
localStorage
.
setItem
(
'groupId'
,
JSON
.
stringify
(
levelGroupInfo
));
}
}
,
beforeMount
()
{
...
...
@@ -727,13 +725,6 @@ export default {
this
.
groupId
=
list
.
id
;
this
.
saveTagLevelGroupId
(
list
);
this
.
loadMemberTagList
(
this
.
params
);
if
(
list
.
handTag
)
{
const
levelGroupInfo
=
{
id
:
list
.
id
,
name
:
list
.
name
}
;
localStorage
.
setItem
(
'groupId'
,
JSON
.
stringify
(
levelGroupInfo
));
}
this
.
manualTagPop
.
tagTwoLevelGroupId
=
list
.
tagLevelGroupId
;
this
.
manualTagPop
.
tagLevelGroupId
=
''
;
this
.
changeTagTitle
(
list
.
name
);
...
...
@@ -759,13 +750,6 @@ export default {
this
.
groupId
=
list
.
id
;
this
.
handTag
=
list
.
handTag
;
this
.
loadMemberTagList
(
this
.
params
);
if
(
list
.
handTag
)
{
const
levelGroupInfo
=
{
id
:
list
.
id
,
name
:
list
.
name
}
;
localStorage
.
setItem
(
'groupId'
,
JSON
.
stringify
(
levelGroupInfo
));
}
this
.
manualTagPop
.
tagTwoLevelGroupId
=
list
.
parentLevelGroupId
;
this
.
manualTagPop
.
tagLevelGroupId
=
list
.
tagLevelGroupId
;
this
.
changeTagTitle
(
list
.
name
);
...
...
src/view/platformTag/tag-container.vue
View file @
795a7ef9
...
...
@@ -93,6 +93,7 @@ export default {
this
.
$emit
(
'editHandTag'
,
list
);
},
editHandTagValue
(
list
)
{
this
.
$emit
(
'setGroupId'
)
localStorage
.
setItem
(
'jumpTag'
,
''
);
localStorage
.
setItem
(
'jumpThirdTag'
,
''
);
this
.
$router
.
push
({
...
...
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