Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit d0fb0caf
authored
Nov 09, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
选择标签弹窗UI
1 parent
303cce30
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
7 deletions
linkwe-ui/src/components/SelectTag.vue
linkwe-ui/src/components/SelectTag.vue
View file @
d0fb0ca
...
@@ -118,7 +118,7 @@ export default {
...
@@ -118,7 +118,7 @@ export default {
<
template
>
<
template
>
<el-dialog
:title=
"title"
:visible
.
sync=
"Pvisible"
>
<el-dialog
:title=
"title"
:visible
.
sync=
"Pvisible"
>
<div>
<div
class=
"dialog-content"
>
<span
class=
"mr20"
>
选择分组
</span>
<span
class=
"mr20"
>
选择分组
</span>
<el-select
v-model=
"selectedGroup"
placeholder=
"请选择"
>
<el-select
v-model=
"selectedGroup"
placeholder=
"请选择"
>
<el-option
label=
"所有标签"
value
></el-option>
<el-option
label=
"所有标签"
value
></el-option>
...
@@ -128,12 +128,8 @@ export default {
...
@@ -128,12 +128,8 @@ export default {
<div
v-if=
"Pvisible"
>
<div
v-if=
"Pvisible"
>
<el-checkbox-group
v-if=
"type !== 'remove'"
v-model=
"Pselected"
>
<el-checkbox-group
v-if=
"type !== 'remove'"
v-model=
"Pselected"
>
<template
v-for=
"(item, index) in list"
>
<template
v-for=
"(item, index) in list"
>
<div
<div
class=
"checkbox-li"
v-if=
"item.groupId === selectedGroup || !selectedGroup"
:key=
"index"
>
style=
"padding: 20px 0;border-bottom: 1px solid #ddd;"
<div
class=
"checkbox-group-title"
>
{{
item
.
gourpName
}}
</div>
v-if=
"item.groupId === selectedGroup || !selectedGroup"
:key=
"index"
>
<div
style=
"font-size: 16px;margin-bottom: 15px; color:#aaa;"
>
{{
item
.
gourpName
}}
</div>
<template
v-for=
"(unit, unique) in item.weTags"
>
<template
v-for=
"(unit, unique) in item.weTags"
>
<el-checkbox
v-if=
"unit.name.trim()"
:label=
"unit"
:key=
"index + '' + unique"
>
{{
<el-checkbox
v-if=
"unit.name.trim()"
:label=
"unit"
:key=
"index + '' + unique"
>
{{
unit
.
name
unit
.
name
...
@@ -167,4 +163,20 @@ export default {
...
@@ -167,4 +163,20 @@ export default {
.mr30
{
.mr30
{
margin-right
:
30px
;
margin-right
:
30px
;
}
}
.dialog-content
{
overflow
:
auto
;
max-height
:
calc
(
85vh
-
150px
);
}
.checkbox-li
{
.checkbox-group-title
{
font-size
:
16px
;
margin-bottom
:
15px
;
color
:
#aaa
;
}
padding
:
20px
0
15px
0
;
&
+
.checkbox-li
{
border-top
:
1px
solid
#eee
;
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
Attach a file
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 post a comment