Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 938beb4d
authored
Jun 08, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
群发人群修改
1 parent
a79526fc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
25 additions
and
5 deletions
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/components/selectCrowd.vue
src/views/customerTransform/addCustomer.vue
View file @
938beb4
This diff is collapsed.
Click to expand it.
src/views/customerTransform/components/selectCrowd.vue
View file @
938beb4
...
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2022-05-24 18:18:53
* @LastEditors: huyue
* @LastEditTime: 2022-0
5-31 15:09:10
* @LastEditTime: 2022-0
6-08 17:50:43
-->
<
template
>
<div>
...
...
@@ -16,14 +16,17 @@
<div
class=
"member-content"
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form-item
label=
"人群名称"
style=
"margin-bottom: 0"
size=
"small"
>
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.req.keyword"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入关键字搜索"
></el-input>
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.req.keyword"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入关键字搜索"
></el-input>
</el-form-item>
<el-form-item
label
style=
"margin-bottom: 0;margin-left:10px"
size=
"small"
>
<el-button
type=
"primary"
:size=
"size"
@
click=
"search"
>
搜索
</el-button>
</el-form-item>
</el-form>
<div
class=
"table-content"
>
<GLTable
v-loading=
"loading"
ref=
"crowdTable"
:getListApi=
"getCrowdList"
:tableParams=
"crowdTableParams"
:hasNum=
"true"
:searchForm=
"searchForm"
:pageConf=
"pageConf"
:noDataImg=
"url"
:beforeSearchFn=
"beforeSearchFn"
@
selectionTable=
"selectionTable"
@
row-click=
"rowClick"
></GLTable>
<GLTable
v-loading=
"loading"
ref=
"crowdTable"
:getListApi=
"getCrowdList"
:tableParams=
"crowdTableParams"
:hasNum=
"true"
:searchForm=
"searchForm"
:pageConf=
"pageConf"
:noDataImg=
"url"
:beforeSearchFn=
"beforeSearchFn"
@
selectionTable=
"selectionTable"
@
row-click=
"rowClick"
></GLTable>
</div>
</div>
</div>
...
...
@@ -32,7 +35,8 @@
<div
class=
"member-name"
>
人群(
{{
innerTags
.
length
}}
项)
</div>
<div
class=
"input-tag-wrapper"
>
<div
class=
"tag-box"
>
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
<el-tag
v-for=
"(tag, idx) in innerTags"
:key=
"idx"
type=
"info"
closable
:disable-transitions=
"false"
@
close=
"remove(tag)"
>
{{
tag
.
crowdName
}}
</el-tag>
</div>
...
...
@@ -89,8 +93,8 @@ export default {
watch
:
{
selectCrowdData
(
val
)
{
this
.
$emit
(
'crowdData'
,
val
)
this
.
$refs
.
crowdTable
.
$refs
.
crowdlistMutiTable
.
clearSelection
()
if
(
val
.
length
)
{
this
.
$refs
.
crowdTable
.
$refs
.
crowdlistMutiTable
.
clearSelection
()
val
.
forEach
(
item
=>
{
this
.
rowClick
(
item
)
})
...
...
@@ -133,12 +137,14 @@ export default {
<
style
lang=
"scss"
scoped
>
.member-wrapper
{
display
:
flex
;
.member-title
{
font-size
:
16px
;
color
:
#333
;
font-weight
:
600
;
line-height
:
22px
;
margin-bottom
:
6px
;
span
{
display
:
inline-block
;
padding-left
:
5px
;
...
...
@@ -147,35 +153,42 @@ export default {
font-weight
:
500
;
}
}
.member-left
{
width
:
780px
;
.member-content
{
border
:
1px
solid
#eee
;
padding-bottom
:
20px
;
/deep/
{
.el-table
{
height
:
40vh
;
overflow-y
:
auto
;
}
}
.member-form
{
padding
:
10px
20px
;
}
.table-content
{
max-height
:
456px
;
overflow
:
auto
;
border-top
:
1px
solid
#eee
;
}
}
.member-checked
{
text-align
:
right
;
margin-top
:
10px
;
}
}
.member-right
{
width
:
248px
;
margin-left
:
14px
;
.member-name
{
font-size
:
14px
;
color
:
#333
;
...
...
@@ -185,10 +198,12 @@ export default {
}
}
}
.tag-box
{
height
:
100%
;
width
:
100%
;
}
.input-tag-wrapper
{
position
:
relative
;
font-size
:
14px
;
...
...
@@ -206,24 +221,28 @@ export default {
align-items
:
center
;
max-height
:
500px
;
overflow
:
auto
;
//
margin-bottom
:
10px
;
i
{
color
:
#75acff
;
margin-right
:
3px
;
font-size
:
14px
;
}
/
deep
/
input
{
/* input { */
/* background-color: red!important; 调试用的样式 */
outline
:
none
!important
;
border
:
none
!important
;
}
/
deep
/
.el-input
{
min-width
:
150px
;
width
:
auto
;
flex
:
1
;
}
}
.el-tag
{
margin-right
:
10px
;
line-height
:
22px
;
...
...
@@ -231,6 +250,7 @@ export default {
height
:
24px
;
background
:
#FAFBFE
!important
;
}
/
deep
/
.el-dialog__title
{
font-weight
:
600
;
}
...
...
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