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
0ef5708c
Commit
0ef5708c
authored
Sep 25, 2021
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 分组和标签修改
parent
58094571
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
index.js
src/components/tagDetail/mixin/index.js
+2
-2
group-list.vue
src/view/memberGroup/group-list.vue
+11
-0
No files found.
src/components/tagDetail/mixin/index.js
View file @
0ef5708c
...
...
@@ -1296,10 +1296,10 @@ export default {
}
// 月
if
(
newNum
>
24
&&
radio
==
2
)
{
newNum
=
12
;
newNum
=
24
;
}
// 年
if
(
newNum
>
3
&&
radio
==
3
)
{
if
(
newNum
>
=
3
&&
radio
==
3
)
{
newNum
=
2
;
}
parent
.
timeInput
=
newNum
;
...
...
src/view/memberGroup/group-list.vue
View file @
0ef5708c
...
...
@@ -118,6 +118,9 @@ export default {
// 处理分层
handleChangeLevel
(
i
,
list
)
{
this
.
currentLevelIndex
=
i
;
// 重置其他组的选项
this
.
currentIndex
=
-
2
;
this
.
currentFixedIndex
=
-
2
;
this
.
$emit
(
'second-list'
,
{
list
:
list
,
isTag
:
true
});
},
// 分层
...
...
@@ -147,6 +150,9 @@ export default {
this
.
classTagName
=
'tag-name'
;
this
.
active
=
false
;
this
.
currentIndex
=
i
;
// 重置其他组的选项
this
.
currentLevelIndex
=
-
2
;
this
.
currentFixedIndex
=
-
2
;
// 第二级的分组数据
this
.
$emit
(
'second-list'
,
list
);
},
...
...
@@ -154,6 +160,9 @@ export default {
this
.
classTagName
=
'tag-name'
;
this
.
active
=
false
;
this
.
currentFixedIndex
=
i
;
// 重置其他组的选项
this
.
currentLevelIndex
=
-
2
;
this
.
currentIndex
=
-
2
;
this
.
$emit
(
'second-list'
,
{
isFixed
:
true
,
list
});
},
/**
...
...
@@ -314,12 +323,14 @@ export default {
handleExpend
()
{
this
.
currentIndex
=
-
1
;
this
.
currentLevelIndex
=
-
2
;
this
.
currentFixedIndex
=
-
2
;
this
.
expendTxt
=
this
.
expendTxt
===
'展开'
?
'收起'
:
'展开'
;
this
.
$emit
(
'second-list'
,
'all'
);
},
handleExpendTag
()
{
this
.
currentLevelIndex
=
-
1
;
this
.
currentIndex
=
-
2
;
this
.
currentFixedIndex
=
-
2
;
this
.
expendTxtTag
=
this
.
expendTxtTag
===
'展开'
?
'收起'
:
'展开'
;
this
.
$emit
(
'second-list'
,
'allLevel'
);
},
...
...
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