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 382365b4
authored
Feb 24, 2022
by
周子尧
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'v1.2.0' of
http://192.168.3.233:8090/saas/scrm-micro-marketing
into v1.2.0
2 parents
52e15c49
8a7d30f3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
75 deletions
src/views/customerTransform/components/selectLord.vue
src/views/customerTransform/components/selectLord.vue
View file @
382365b
...
...
@@ -3,89 +3,39 @@
<div
class=
"member-left"
>
<div
class=
"member-title"
>
预选
<span>
共
{{
chatGroupCount
}}
个群聊,
{{
tableEmpData
.
length
}}
个群主成员
</span>
<span>
共
{{
chatGroupCount
}}
个群聊,
{{
tableEmpData
.
length
}}
个群主成员
</span>
</div>
<div
class=
"member-content"
>
<el-form
:inline=
"true"
class=
"member-form"
:model=
"searchForm"
@
submit
.
native
.
prevent
>
<el-form-item
style=
"margin-bottom: 0
;
"
>
<el-form-item
style=
"margin-bottom: 0"
>
<span
class=
"lord-label"
slot=
"label"
>
所在门店/部门
</span>
<el-popover
ref=
"popover"
placement=
"bottom"
width=
"215"
trigger=
"click"
v-model=
"popoverVisible"
@
show=
"onShowPopover"
@
hide=
"onHidePopover"
>
<el-tree
class=
"select-tree"
:data=
"treeData"
:props=
"defaultProps"
default-expand-all
@
node-click=
"handleNodeClick"
></el-tree>
<el-input
v-model=
"searchForm.department"
slot=
"reference"
:size=
"size"
readonly
style=
"width: 215px;"
placeholder=
"请选择所在门店/部门"
:class=
"
{ 'rotate': popoverVisible }"
suffix-icon="el-icon-arrow-down"
@keyup.enter.native="search"
>
</el-input>
<el-popover
ref=
"popover"
placement=
"bottom"
width=
"215"
trigger=
"click"
v-model=
"popoverVisible"
@
show=
"onShowPopover"
@
hide=
"onHidePopover"
>
<el-tree
class=
"select-tree"
:data=
"treeData"
:props=
"defaultProps"
default-expand-all
@
node-click=
"handleNodeClick"
></el-tree>
<el-input
v-model=
"searchForm.department"
slot=
"reference"
:size=
"size"
readonly
style=
"width: 215px"
placeholder=
"请选择所在门店/部门"
:class=
"
{ rotate: popoverVisible }" suffix-icon="el-icon-arrow-down" @keyup.enter.native="search">
</el-input>
</el-popover>
</el-form-item>
<el-form-item
label=
"姓名"
style=
"margin-bottom: 0;"
>
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.lordName"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入姓名搜索"
></el-input>
<el-form-item
label=
"姓名"
style=
"margin-bottom: 0"
>
<el-input
:size=
"size"
v-model
.
trim=
"searchForm.lordName"
@
keyup
.
enter
.
native=
"search"
clearable
placeholder=
"请输入姓名搜索"
></el-input>
</el-form-item>
<el-form-item
style=
"margin-bottom: 0
;
"
>
<el-form-item
style=
"margin-bottom: 0"
>
<span
class=
"lord-label"
slot=
"label"
>
跟进专员类型
</span>
<el-select
v-model=
"searchForm.followerId"
style=
"width: 215px;"
:size=
"size"
placeholder=
"请选择"
>
<el-option
v-for=
"item in followTypeList"
:key=
"item.id"
:label=
"item.followName"
:value=
"item.id"
></el-option>
<el-select
v-model=
"searchForm.followerId"
style=
"width: 215px"
:size=
"size"
placeholder=
"请选择"
>
<el-option
v-for=
"item in followTypeList"
:key=
"item.id"
:label=
"item.followName"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
<!--
<el-form-item>
<el-checkbox
v-model=
"searchForm.checked"
>
仅看跟进专员
</el-checkbox>
</el-form-item>
-->
<el-form-item
label
style=
"margin-bottom: 0;
margin-left: 40px;
"
>
<el-form-item
label
style=
"margin-bottom: 0;
margin-left: 40px
"
>
<el-button
:size=
"size"
@
click=
"handleReset"
>
重置
</el-button>
<el-button
type=
"primary"
:size=
"size"
@
click=
"search"
>
搜索
</el-button>
</el-form-item>
</el-form>
<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"
>
<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"
>
<div
slot=
"staffName"
slot-scope=
"scope"
>
<span>
{{
scope
.
scope
.
staffName
}}
</span>
<span
class=
"staff-title"
v-show=
"scope.scope.staffTitle"
>
{{
scope
.
scope
.
staffTitle
}}
</span>
<span>
{{
scope
.
scope
.
staffName
}}
</span>
<span
class=
"staff-title"
v-show=
"scope.scope.staffTitle"
>
{{
scope
.
scope
.
staffTitle
}}
</span>
</div>
</GLTable>
</div>
...
...
@@ -93,17 +43,10 @@
</div>
<div
class=
"member-right"
>
<div
class=
"member-title"
>
已选
</div>
<div
class=
"member-name"
>
成员名称(
{{
innerTags
.
length
}}
项)
</div>
<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)"
>
<i
class=
"el-icon-user-solid"
></i>
{{
tag
.
staffName
}}
</el-tag>
...
...
@@ -154,7 +97,7 @@ export default {
label
:
'跟进专员类型'
,
prop
:
'followerTypeName'
,
formatter
:
cellValue
=>
{
return
cellValue
.
follower
Name
?
cellValue
.
follower
Name
:
'-'
return
cellValue
.
follower
TypeName
?
cellValue
.
followerType
Name
:
'-'
}
},
{
...
...
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