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 27b8ada6
authored
May 25, 2022
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改
1 parent
e102acec
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
67 additions
and
15 deletions
src/views/customerTransform/addCustomer.vue
src/views/customerTransform/components/selectCrowd.vue
src/views/customerTransform/components/selectLord.vue
src/views/customerTransform/components/selectMember.vue
src/views/friendGroup/components/selectLord.vue
src/views/friendGroup/components/selectMember.vue
src/views/customerTransform/addCustomer.vue
View file @
27b8ada
...
@@ -140,7 +140,7 @@
...
@@ -140,7 +140,7 @@
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
<el-button
@
click=
"handleCancel"
>
取消
</el-button>
</div>
</div>
<SelectLabel
ref=
"selectLabel"
@
tagSelected=
"handleSelect"
:dialogVisible=
"dialogVisible"
></SelectLabel>
<SelectLabel
ref=
"selectLabel"
@
tagSelected=
"handleSelect"
:dialogVisible=
"dialogVisible"
></SelectLabel>
<SelectCrowd
ref=
"selectCrowd"
></SelectCrowd>
<SelectCrowd
ref=
"selectCrowd"
@
crowdData=
"getCrowdData"
></SelectCrowd>
</div>
</div>
</
template
>
</
template
>
...
@@ -602,7 +602,11 @@ export default {
...
@@ -602,7 +602,11 @@ export default {
},
},
// 人群筛选弹窗
// 人群筛选弹窗
selectCrowd
()
{
selectCrowd
()
{
this
.
$refs
.
selectCrowd
.
dialogVisible
=
true
this
.
$refs
.
selectCrowd
.
crowdVisible
=
true
},
// 获取人群数据
getCrowdData
(
val
)
{
console
.
log
(
val
)
}
}
}
}
}
}
...
...
src/views/customerTransform/components/selectCrowd.vue
View file @
27b8ada
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author: huyue
* @Author: huyue
* @Date: 2022-05-24 18:18:53
* @Date: 2022-05-24 18:18:53
* @LastEditors: huyue
* @LastEditors: huyue
* @LastEditTime: 2022-05-25 1
0:15:56
* @LastEditTime: 2022-05-25 1
5:02:32
-->
-->
<
template
>
<
template
>
<div>
<div>
...
@@ -23,12 +23,12 @@
...
@@ -23,12 +23,12 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"table-content"
style=
"max-height: 456px"
>
<div
class=
"table-content"
style=
"max-height: 456px"
>
<
!--
<GLTable
v-loading=
"loading"
ref=
"empTable"
:tableData=
"tableEmpData"
:tableParams=
"tableParams"
:hasNum=
"false
"
:hasPage=
"false"
:noDataImg=
"url"
@
selectionTable=
"selectionTable"
@
row-click=
"rowClick"
>
<
GLTable
v-loading=
"loading"
ref=
"crowdTable"
:tableData=
"tableCrowdData"
:tableParams=
"crowdTableParams
"
:hasPage=
"false"
:noDataImg=
"url"
@
selectionTable=
"selectionTable"
@
row-click=
"rowClick"
>
<div
slot=
"staffName"
slot-scope=
"scope"
>
<
!--
<
div
slot=
"staffName"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
staffName
}}
</span>
<span>
{{
scope
.
scope
.
staffName
}}
</span>
<span
class=
"staff-title"
v-show=
"scope.scope.staffTitle"
>
{{
scope
.
scope
.
staffTitle
}}
</span>
<span
class=
"staff-title"
v-show=
"scope.scope.staffTitle"
>
{{
scope
.
scope
.
staffTitle
}}
</span>
</div>
</div>
-->
</GLTable>
-->
</GLTable>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<div
class=
"tag-box"
>
<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)"
>
<i
class=
"el-icon-user-solid"
></i>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffN
ame
}}
{{
tag
.
n
ame
}}
</el-tag>
</el-tag>
</div>
</div>
</div>
</div>
...
@@ -50,13 +50,61 @@
...
@@ -50,13 +50,61 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
url
from
'@/assets/empty.png'
export
default
{
export
default
{
name
:
'SelectCrowd'
,
name
:
'SelectCrowd'
,
data
()
{
data
()
{
return
{
return
{
crowdVisible
:
true
,
url
,
crowdVisible
:
false
,
searchForm
:
{},
searchForm
:
{},
innerTags
:
[]
innerTags
:
[],
tableCrowdData
:
[
{
name
:
'asda'
}
],
crowdTableParams
:
{
checkSelectKey
:
'id'
,
checkSelectVal
:
[],
listName
:
'list'
,
// 行数据的key
mutiSelectUniqueKey
:
'id'
,
// 多选ref的名称
mutiSelectName
:
'crowdlist'
,
tableColumns
:
[
{
label
:
'人群名称'
,
prop
:
'name'
},
{
label
:
'人群描述'
,
prop
:
'name'
},
{
label
:
'人数'
,
prop
:
'name'
}
]
}
}
},
methods
:
{
selectionTable
(
val
)
{
this
.
innerTags
=
val
},
remove
(
item
)
{
this
.
$refs
.
empTable
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
item
)
},
rowClick
(
row
)
{
this
.
$refs
.
empTable
.
$refs
.
salelistMutiTable
.
toggleRowSelection
(
row
)
},
search
()
{
this
.
getFindLordGroup
(
this
.
searchForm
)
},
handleConfirm
()
{
this
.
$emit
(
'crowdData'
,
this
.
innerTags
)
this
.
crowdVisible
=
false
}
}
}
}
}
}
...
@@ -91,7 +139,7 @@ export default {
...
@@ -91,7 +139,7 @@ export default {
.table-content
{
.table-content
{
max-height
:
456px
;
max-height
:
456px
;
overflow
:
auto
;
overflow
:
auto
;
border
:
1px
solid
#eee
;
border
-top
:
1px
solid
#eee
;
}
}
}
}
.member-checked
{
.member-checked
{
...
...
src/views/customerTransform/components/selectLord.vue
View file @
27b8ada
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
.table-content
{
.table-content
{
max-height
:
456px
;
max-height
:
456px
;
overflow
:
auto
;
overflow
:
auto
;
border
:
1px
solid
#eee
;
border
-top
:
1px
solid
#eee
;
}
}
}
}
.member-checked
{
.member-checked
{
...
...
src/views/customerTransform/components/selectMember.vue
View file @
27b8ada
...
@@ -291,7 +291,7 @@ export default {
...
@@ -291,7 +291,7 @@ export default {
.table-content
{
.table-content
{
max-height
:
456px
;
max-height
:
456px
;
overflow
:
auto
;
overflow
:
auto
;
border
:
1px
solid
#eee
;
border
-top
:
1px
solid
#eee
;
}
}
}
}
.member-checked
{
.member-checked
{
...
...
src/views/friendGroup/components/selectLord.vue
View file @
27b8ada
...
@@ -260,7 +260,7 @@ export default {
...
@@ -260,7 +260,7 @@ export default {
.table-content
{
.table-content
{
max-height
:
456px
;
max-height
:
456px
;
overflow
:
auto
;
overflow
:
auto
;
border
:
1px
solid
#eee
;
border
-top
:
1px
solid
#eee
;
}
}
}
}
.member-checked
{
.member-checked
{
...
...
src/views/friendGroup/components/selectMember.vue
View file @
27b8ada
...
@@ -292,7 +292,7 @@ export default {
...
@@ -292,7 +292,7 @@ export default {
.table-content
{
.table-content
{
max-height
:
456px
;
max-height
:
456px
;
overflow
:
auto
;
overflow
:
auto
;
border
:
1px
solid
#eee
;
border
-top
:
1px
solid
#eee
;
}
}
}
}
.member-checked
{
.member-checked
{
...
...
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