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
0eeec886
Commit
0eeec886
authored
Apr 15, 2019
by
member
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
右侧的创建按钮
parent
7542caa0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
54 additions
and
4 deletions
+54
-4
member-tag.vue
src/view/platformTag/member-tag.vue
+54
-4
No files found.
src/view/platformTag/member-tag.vue
View file @
0eeec886
...
...
@@ -21,7 +21,8 @@
{{
tagName
}}
<el-button
type=
"primary"
class=
"add-newtag"
@
click=
"addNewTag"
v-show=
"handTag == 1"
>
新增标签
</el-button>
</p>
<tag-container
:data=
"memberTagList"
:handTag=
"handTag"
:groupId=
"groupId"
@
deleteHandTag=
"deleteHandTag"
@
returnTagData=
"returnTagData"
>
</tag-container>
<tag-container
:data=
"memberTagList"
:handTag=
"handTag"
:groupId=
"groupId"
@
deleteHandTag=
"deleteHandTag"
@
returnTagData=
"returnTagData"
ref=
"tagContainer"
>
</tag-container>
<div
class=
"page-box"
v-if=
"total > 0"
>
<el-pagination
...
...
@@ -50,9 +51,29 @@
<vue-gic-footer></vue-gic-footer>
</div>
<div
class=
"grou
o
-right-list"
v-show=
"groupShow && groupListNumber"
>
<div
class=
"grou
p
-right-list"
v-show=
"groupShow && groupListNumber"
>
<el-collapseTransition>
<tags-group-list
:selectedTagsData=
"selectedTags"
:tagsGroupRelation=
"tagsGroupRelation"
@
addTags=
"addTags"
@
editTags=
"editTags"
:activeTagsGroupIndex
.
sync=
"activeTagsGroupIndex"
/>
<div
class=
"wapper"
>
<div
class=
"inner"
>
<tags-group-list
:selectedTagsData=
"selectedTags"
:tagsGroupRelation=
"tagsGroupRelation"
@
addTags=
"addTags"
@
editTags=
"editTags"
:activeTagsGroupIndex
.
sync=
"activeTagsGroupIndex"
/>
<div
class=
"form-item"
>
<label
for=
""
>
分组名称
</label>
<el-input
v-model=
"tagConfig.groupName"
:maxlength=
"10"
></el-input>
</div>
<div
class=
"form-item"
>
<label
for=
""
>
分组有效期
</label>
<el-date-picker
v-model=
"tagConfig.date"
type=
"date"
placeholder=
"选择日期"
>
</el-date-picker>
</div>
<div
class=
"form-item"
>
<label
for=
""
>
分组描述
</label>
<el-input
type=
"textarea"
v-model=
"tagConfig.textarea"
:maxlength=
"10"
></el-input>
</div>
<p>
更新频率(更新时间预计选择日期的凌晨0点至6点)
</p>
</div>
<div
class=
"fixed-btn"
>
<el-button
type=
"primary"
@
click=
"createNewGroup"
>
创建会员分组
</el-button>
</div>
</div>
</el-collapseTransition>
</div>
</div>
...
...
@@ -83,6 +104,11 @@ export default {
data
()
{
return
{
tagConfig
:
{
groupName
:
''
,
textarea
:
''
,
date
:
''
},
activeTagsGroupIndex
:
0
,
groupShow
:
false
,
selectedTags
:
[[]],
...
...
@@ -124,6 +150,9 @@ export default {
},
methods
:
{
createNewGroup
()
{
//
},
expendsGroupList
()
{
// if (this.selectedTags && this.selectedTags.length) {
this
.
groupShow
=
true
;
...
...
@@ -146,6 +175,7 @@ export default {
},
editTags
()
{
//
this
.
$refs
.
tagContainer
.
dialogVisible
=
true
;
},
addTags
()
{
//
...
...
@@ -414,7 +444,7 @@ export default {
transform
:
scale
(
1.2
);
}
}
.grou
o
-right-list
{
.grou
p
-right-list
{
position
:
absolute
;
top
:
0px
;
right
:
0px
;
...
...
@@ -422,6 +452,26 @@ export default {
padding
:
10px
;
box-shadow
:
0
0
5px
#bbb
;
background-color
:
#fff
;
z-index
:
10
;
.form-item
{
margin-top
:
20px
;
margin-bottom
:
20px
;
color
:
#606266
;
label
{
display
:
block
;
margin-bottom
:
10px
;
}
}
.wapper
{
height
:
700px
;
overflow-y
:
auto
;
}
.fixed-btn
{
position
:
absolute
;
bottom
:
20px
;
width
:
100%
;
text-align
:
center
;
}
}
}
</
style
>
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