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
e439501c
Commit
e439501c
authored
Apr 14, 2022
by
liuchenxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 标签
parent
9d71eadb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
111 additions
and
57 deletions
+111
-57
Trash.vue
src/components/Trash.vue
+2
-2
manual-tag-value-edit-info.vue
src/view/manualTag/manual-tag-value-edit-info.vue
+101
-49
manualTagEdit.vue
src/view/manualTag/manualTagEdit.vue
+1
-1
member-tag.vue
src/view/platformTag/member-tag.vue
+4
-3
tag-container-active.vue
src/view/platformTag/tag-container-active.vue
+1
-0
tag-container-system.vue
src/view/platformTag/tag-container-system.vue
+1
-2
tag-container.vue
src/view/platformTag/tag-container.vue
+1
-0
No files found.
src/components/Trash.vue
View file @
e439501c
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
</ul>
</ul>
<span
slot=
"footer"
>
<span
slot=
"footer"
>
<el-button
@
click=
"dialogVisible = false"
>
取消
</el-button>
<el-button
@
click=
"dialogVisible = false"
>
取消
</el-button>
<el-button
type=
"primary"
@
click=
"doClean"
:disabled=
"
delTime > 0 ||
!trashList.length"
>
{{
delTime
>
0
?
getDelTime
()
:
'删除'
}}
</el-button>
<el-button
type=
"primary"
@
click=
"doClean"
:disabled=
"!trashList.length"
>
{{
delTime
>
0
?
getDelTime
()
:
'删除'
}}
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
...
@@ -79,7 +79,7 @@ export default {
...
@@ -79,7 +79,7 @@ export default {
return
`倒计时:
${
h
}
h:
${
m
}
min:
${
s
}
s`
;
return
`倒计时:
${
h
}
h:
${
m
}
min:
${
s
}
s`
;
},
},
doClean
()
{
doClean
()
{
if
(
this
.
delTime
)
return
;
if
(
this
.
delTime
>
0
)
return
this
.
$message
.
error
(
'当前有正在删除的标签/标签值,删除完成后才能再次操作删除任务'
)
;
cleanTrashList
().
then
(
res
=>
{
cleanTrashList
().
then
(
res
=>
{
const
{
errorCode
,
message
}
=
res
;
const
{
errorCode
,
message
}
=
res
;
if
(
errorCode
!=
1
)
return
this
.
$message
.
error
(
message
);
if
(
errorCode
!=
1
)
return
this
.
$message
.
error
(
message
);
...
...
src/view/manualTag/manual-tag-value-edit-info.vue
View file @
e439501c
This diff is collapsed.
Click to expand it.
src/view/manualTag/manualTagEdit.vue
View file @
e439501c
...
@@ -67,7 +67,7 @@ const validateTagValue = (rule, value, cb) => {
...
@@ -67,7 +67,7 @@ const validateTagValue = (rule, value, cb) => {
const
validateTagSort
=
(
rule
,
value
,
cb
)
=>
{
const
validateTagSort
=
(
rule
,
value
,
cb
)
=>
{
const
res
=
/^
[
0-9
]
+$/
;
const
res
=
/^
[
0-9
]
+$/
;
if
(
!
res
.
test
(
value
)
||
value
>
100000
||
value
<
1
)
{
if
(
!
res
.
test
(
value
)
||
value
>
100000
||
value
<
1
)
{
cb
(
new
Error
(
'仅支持输入1-1
-1
00000之间的整数'
))
cb
(
new
Error
(
'仅支持输入1-100000之间的整数'
))
}
}
cb
();
cb
();
}
}
...
...
src/view/platformTag/member-tag.vue
View file @
e439501c
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<div
class=
"tag-all"
>
<div
class=
"tag-all"
>
<p
class=
"tag-name"
>
<p
class=
"tag-name"
>
<span
class=
"sub-title"
><
dm-sub-title
:text=
"showSearchResult ? `【$
{tagName}】搜索结果` : tagName"/>
<
/span>
<span
class=
"sub-title"
></span>
<el-button
<el-button
type=
"primary"
type=
"primary"
class=
"add-newtag"
class=
"add-newtag"
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
class=
"add-newtag"
class=
"add-newtag"
placeholder=
"请输入标签名称"
placeholder=
"请输入标签名称"
prefix-icon=
"el-icon-search"
prefix-icon=
"el-icon-search"
style=
"width: 260px"
style=
"width: 260px
;float: left
"
v-model=
"memberTag"
v-model=
"memberTag"
@
keyup
.
native
.
enter=
"searchMemberList"
@
keyup
.
native
.
enter=
"searchMemberList"
@
clear=
"allTagList"
@
clear=
"allTagList"
...
@@ -757,6 +757,7 @@ export default {
...
@@ -757,6 +757,7 @@ export default {
},
},
// 点击活动标签、手工标签
// 点击活动标签、手工标签
handleClick
()
{
handleClick
()
{
this
.
params
.
pageNum
=
1
;
this
.
memberTag
=
''
;
this
.
memberTag
=
''
;
const
{
activeTag
,
tagList
,
allTagList
,
handleFristTag
}
=
this
;
const
{
activeTag
,
tagList
,
allTagList
,
handleFristTag
}
=
this
;
if
(
activeTag
===
'system'
)
{
if
(
activeTag
===
'system'
)
{
...
@@ -939,6 +940,7 @@ export default {
...
@@ -939,6 +940,7 @@ export default {
padding-bottom
:
40px
;
padding-bottom
:
40px
;
overflow-y
:
auto
;
overflow-y
:
auto
;
.tag-name
{
.tag-name
{
overflow
:
hidden
;
line-height
:
34px
;
line-height
:
34px
;
padding
:
20px
;
padding
:
20px
;
font-size
:
16px
;
font-size
:
16px
;
...
@@ -951,7 +953,6 @@ export default {
...
@@ -951,7 +953,6 @@ export default {
}
}
.add-newtag
{
.add-newtag
{
float
:
right
;
float
:
right
;
margin-bottom
:
10px
;
margin-left
:
15px
;
margin-left
:
15px
;
}
}
}
}
...
...
src/view/platformTag/tag-container-active.vue
View file @
e439501c
...
@@ -179,6 +179,7 @@ export default {
...
@@ -179,6 +179,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
color
:
#303133
;
color
:
#303133
;
transition
:
all
.3s
;
transition
:
all
.3s
;
color
:
#2f54eb
;
&:hover
{
&:hover
{
transform
:
scale
(
1.25
);
transform
:
scale
(
1.25
);
}
}
...
...
src/view/platformTag/tag-container-system.vue
View file @
e439501c
...
@@ -124,6 +124,7 @@ export default {
...
@@ -124,6 +124,7 @@ export default {
cursor
:
pointer
;
cursor
:
pointer
;
color
:
#303133
;
color
:
#303133
;
transition
:
all
0.3s
;
transition
:
all
0.3s
;
color
:
#2f54eb
;
&:hover
{
&:hover
{
transform
:
scale
(
1.25
);
transform
:
scale
(
1.25
);
}
}
...
@@ -143,11 +144,9 @@ export default {
...
@@ -143,11 +144,9 @@ export default {
line-height
:
22px
;
line-height
:
22px
;
font-size
:
12px
;
font-size
:
12px
;
&.keep-active
{
&.keep-active
{
background
:
#dee3fc
;
color
:
#2f54eb
;
color
:
#2f54eb
;
}
}
&
.no-active
{
&
.no-active
{
background
:
#feecda
;
color
:
#fa8c16
;
color
:
#fa8c16
;
}
}
}
}
...
...
src/view/platformTag/tag-container.vue
View file @
e439501c
...
@@ -236,6 +236,7 @@ export default {
...
@@ -236,6 +236,7 @@ export default {
font-size
:
16px
;
font-size
:
16px
;
cursor
:
pointer
;
cursor
:
pointer
;
transition
:
all
.3s
;
transition
:
all
.3s
;
color
:
#2f54eb
;
&:hover
{
&:hover
{
transform
:
scale
(
1.25
);
transform
:
scale
(
1.25
);
}
}
...
...
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