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 58857b7b
authored
Jun 20, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
CustomerDetail
1 parent
9ce888fa
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
83 additions
and
90 deletions
linkwe-pc/src/views/contentCenter/components/DataDetail.vue
linkwe-pc/src/views/contentCenter/trackMaterial/detail.vue
linkwe-pc/src/views/customerManage/customer.vue
linkwe-pc/src/views/customerManage/lossRemind.vue
linkwe-pc/src/views/contentCenter/components/DataDetail.vue
View file @
58857b7
...
@@ -194,7 +194,7 @@ export default {
...
@@ -194,7 +194,7 @@ export default {
goDetail
(
row
)
{
goDetail
(
row
)
{
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/operateCenter/customerManage/c
ustomerDetail'
,
name
:
'C
ustomerDetail'
,
query
:
{
externalUserid
,
userId
},
query
:
{
externalUserid
,
userId
},
})
})
},
},
...
...
linkwe-pc/src/views/contentCenter/trackMaterial/detail.vue
View file @
58857b7
...
@@ -249,7 +249,7 @@
...
@@ -249,7 +249,7 @@
show-overflow-tooltip
/>
show-overflow-tooltip
/>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<el-table-column
label=
"操作"
align=
"center"
class-name=
"small-padding fixed-width"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"goDetail(scope.row
.id
)"
v-if=
"scope.row.isCustomer"
>
<el-button
type=
"text"
@
click=
"goDetail(scope.row)"
v-if=
"scope.row.isCustomer"
>
客户详情
客户详情
</el-button>
</el-button>
</
template
>
</
template
>
...
@@ -584,6 +584,13 @@ export default {
...
@@ -584,6 +584,13 @@ export default {
this
.
loading
=
false
this
.
loading
=
false
})
})
},
},
goRoute
(
row
)
{
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
this
.
$router
.
push
({
name
:
'CustomerDetail'
,
query
:
{
externalUserid
,
userId
},
})
},
},
},
mounted
()
{
mounted
()
{
this
.
dealLength
()
this
.
dealLength
()
...
...
linkwe-pc/src/views/customerManage/customer.vue
View file @
58857b7
<
script
>
<
script
>
import
*
as
api
from
'@/api/customer'
import
*
as
api
from
'@/api/customer'
import
{
getList
as
getListTag
}
from
'@/api/customer/tag'
import
{
getList
as
getListTag
}
from
'@/api/customer/tag'
import
AddTag
from
'@/components/AddTag'
import
AddTag
from
'@/components/AddTag'
import
SelectTag
from
'@/components/SelectTag'
import
SelectTag
from
'@/components/SelectTag'
import
DeleteTag
from
'@/components/DeleteTag'
import
DeleteTag
from
'@/components/DeleteTag'
import
{
dictTrackState
}
from
'@/utils/dictionary'
import
{
dictTrackState
}
from
'@/utils/dictionary'
import
{
getList
}
from
'@/api/salesCenter/businessConver.js'
import
{
getList
}
from
'@/api/salesCenter/businessConver.js'
export
default
{
export
default
{
name
:
'Customer'
,
name
:
'Customer'
,
components
:
{
AddTag
,
SelectTag
,
DeleteTag
},
components
:
{
AddTag
,
SelectTag
,
DeleteTag
},
props
:
{},
props
:
{},
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
trackState
:
''
,
//跟进状态 1:待跟进;2:跟进中;3:已成交;4:无意向;5:已流失
trackState
:
''
,
//跟进状态 1:待跟进;2:跟进中;3:已成交;4:无意向;5:已流失
addMethod
:
''
,
//添加方式 0:未知来源;1:扫描二维码;2:搜索手机号;3:名片分享;4:群聊;5:手机通讯录;6:微信联系人;7:来自微信好友的添加申请;8:安装第三方应用时自动添加的客服人员;9:搜索邮箱;10:视频号主页添加;11:员工活码;12:新客拉群;13:活动裂变;201:内部成员共享;202:管理员/负责人分配
addMethod
:
''
,
//添加方式 0:未知来源;1:扫描二维码;2:搜索手机号;3:名片分享;4:群聊;5:手机通讯录;6:微信联系人;7:来自微信好友的添加申请;8:安装第三方应用时自动添加的客服人员;9:搜索邮箱;10:视频号主页添加;11:员工活码;12:新客拉群;13:活动裂变;201:内部成员共享;202:管理员/负责人分配
gender
:
''
,
//0-未知 1-男性 2-女性
gender
:
''
,
//0-未知 1-男性 2-女性
noTagCheck
:
false
noTagCheck
:
false
,
},
},
queryTag
:
[],
// 搜索框选择的标签
queryTag
:
[],
// 搜索框选择的标签
queryUser
:
[],
// 搜索框选择的添加人
queryUser
:
[],
// 搜索框选择的添加人
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
// 添加标签表单
// 添加标签表单
form
:
{
form
:
{
gourpName
:
''
,
gourpName
:
''
,
weTags
:
[]
weTags
:
[],
},
},
list
:
[],
// 客户列表
list
:
[],
// 客户列表
staffList
:
[],
// 所有员工列表
staffList
:
[],
// 所有员工列表
...
@@ -51,7 +51,7 @@
...
@@ -51,7 +51,7 @@
selectedTag
:
[],
// 选择的标签
selectedTag
:
[],
// 选择的标签
tagDialogType
:
{
tagDialogType
:
{
title
:
''
,
// 选择标签弹窗标题
title
:
''
,
// 选择标签弹窗标题
type
:
''
// 弹窗类型
type
:
''
,
// 弹窗类型
},
},
dictCustomerType
:
Object
.
freeze
({
1
:
'微信客户'
,
2
:
'企业客户'
}),
dictCustomerType
:
Object
.
freeze
({
1
:
'微信客户'
,
2
:
'企业客户'
}),
dictAddType
:
{},
dictAddType
:
{},
...
@@ -59,12 +59,12 @@
...
@@ -59,12 +59,12 @@
multiObj
:
{
multiObj
:
{
state
:
'add'
,
// 'delete'
state
:
'add'
,
// 'delete'
title
:
'批量打标签'
,
title
:
'批量打标签'
,
showDialog
:
false
showDialog
:
false
,
},
},
multipleSelection
:
[],
// 多选数组
multipleSelection
:
[],
// 多选数组
mulSelectedTag
:
[],
mulSelectedTag
:
[],
deleteData
:
[],
deleteData
:
[],
deleteDialog
:
false
deleteDialog
:
false
,
}
}
},
},
watch
:
{},
watch
:
{},
...
@@ -79,7 +79,7 @@
...
@@ -79,7 +79,7 @@
'app/setBusininessDesc'
,
'app/setBusininessDesc'
,
`
`
<div>用于查看当前企业所有的客户列表及详细信息,支持对客户进行打标签。</div>
<div>用于查看当前企业所有的客户列表及详细信息,支持对客户进行打标签。</div>
`
`
,
)
)
},
},
mounted
()
{},
mounted
()
{},
...
@@ -129,7 +129,7 @@
...
@@ -129,7 +129,7 @@
let
obj
=
{
let
obj
=
{
externalUserid
:
dd
.
externalUserid
,
externalUserid
:
dd
.
externalUserid
,
addTag
:
data
,
addTag
:
data
,
userId
:
dd
.
firstUserId
userId
:
dd
.
firstUserId
,
}
}
arr
.
push
(
obj
)
arr
.
push
(
obj
)
})
})
...
@@ -162,7 +162,7 @@
...
@@ -162,7 +162,7 @@
let
obj
=
{
let
obj
=
{
externalUserid
:
dd
.
externalUserid
,
externalUserid
:
dd
.
externalUserid
,
addTag
:
data
,
addTag
:
data
,
userId
:
dd
.
firstUserId
userId
:
dd
.
firstUserId
,
}
}
arr
.
push
(
obj
)
arr
.
push
(
obj
)
})
})
...
@@ -209,7 +209,7 @@
...
@@ -209,7 +209,7 @@
element
.
tagIds
.
forEach
((
unit
,
index
)
=>
{
element
.
tagIds
.
forEach
((
unit
,
index
)
=>
{
element
.
tags
.
push
({
element
.
tags
.
push
({
tagId
:
unit
,
tagId
:
unit
,
tagName
:
element
.
tagNames
[
index
]
tagName
:
element
.
tagNames
[
index
],
})
})
})
})
}
}
...
@@ -237,7 +237,7 @@
...
@@ -237,7 +237,7 @@
this
.
$refs
.
selectTag
.
getList
()
this
.
$refs
.
selectTag
.
getList
()
this
.
form
=
{
this
.
form
=
{
gourpName
:
''
,
gourpName
:
''
,
weTags
:
[]
weTags
:
[],
}
}
}
}
})
})
...
@@ -247,7 +247,7 @@
...
@@ -247,7 +247,7 @@
this
.
selectedTag
=
this
.
queryTag
this
.
selectedTag
=
this
.
queryTag
this
.
tagDialogType
=
{
this
.
tagDialogType
=
{
title
:
'选择标签'
,
title
:
'选择标签'
,
type
:
'query'
type
:
'query'
,
}
}
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
// this.$refs.selectTag.$forceUpdate()
// this.$refs.selectTag.$forceUpdate()
...
@@ -295,16 +295,16 @@
...
@@ -295,16 +295,16 @@
message
:
this
.
$createElement
(
message
:
this
.
$createElement
(
'i'
,
'i'
,
{
style
:
'color: red'
},
{
style
:
'color: red'
},
'已有标签['
+
hasErrorTag
+
']不在标签库中,已被删除或存在异常'
'已有标签['
+
hasErrorTag
+
']不在标签库中,已被删除或存在异常'
,
),
),
type
:
'warning'
,
type
:
'warning'
,
customClass
:
'mzindex'
customClass
:
'mzindex'
,
})
})
// this.msgError('已有标签[' + hasErrorTag + ']不在标签库中,已被删除或存在异常')
// this.msgError('已有标签[' + hasErrorTag + ']不在标签库中,已被删除或存在异常')
}
}
this
.
tagDialogType
=
{
this
.
tagDialogType
=
{
title
:
'标签设置'
+
(
repeat
.
length
?
'(重复的标签已去重显示)'
:
''
)
title
:
'标签设置'
+
(
repeat
.
length
?
'(重复的标签已去重显示)'
:
''
),
}
}
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
// this.$refs.selectTag.$forceUpdate()
// this.$refs.selectTag.$forceUpdate()
...
@@ -363,7 +363,7 @@
...
@@ -363,7 +363,7 @@
externalUserid
:
this
.
currentEidt
.
externalUserid
,
externalUserid
:
this
.
currentEidt
.
externalUserid
,
removeTag
:
deleteTag
,
removeTag
:
deleteTag
,
addTag
:
selected
,
addTag
:
selected
,
userId
:
this
.
currentEidt
.
firstUserId
userId
:
this
.
currentEidt
.
firstUserId
,
}
}
// let apiType = {
// let apiType = {
// add: 'makeLabel',
// add: 'makeLabel',
...
@@ -405,8 +405,8 @@
...
@@ -405,8 +405,8 @@
goRoute
(
row
)
{
goRoute
(
row
)
{
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
let
{
externalUserid
,
firstUserId
:
userId
}
=
row
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'c
ustomerDetail'
,
name
:
'C
ustomerDetail'
,
query
:
{
externalUserid
,
userId
}
query
:
{
externalUserid
,
userId
},
})
})
},
},
...
@@ -420,7 +420,7 @@
...
@@ -420,7 +420,7 @@
let
data
=
{
let
data
=
{
handoverUserId
:
this
.
currentEidt
.
firstUserId
,
//移交人
handoverUserId
:
this
.
currentEidt
.
firstUserId
,
//移交人
takeoverUserId
:
this
.
extendStaff
,
//接受人
takeoverUserId
:
this
.
extendStaff
,
//接受人
externalUserid
:
this
.
currentEidt
.
externalUserid
//客户id,多个客户使用逗号隔开
externalUserid
:
this
.
currentEidt
.
externalUserid
,
//客户id,多个客户使用逗号隔开
}
}
api
.
jobExtends
(
data
).
then
((
res
)
=>
{
api
.
jobExtends
(
data
).
then
((
res
)
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
msgSuccess
(
'操作成功'
)
...
@@ -431,9 +431,9 @@
...
@@ -431,9 +431,9 @@
setData
(
data
)
{
setData
(
data
)
{
this
.
queryTag
=
[]
this
.
queryTag
=
[]
this
.
query
.
tagIds
=
''
this
.
query
.
tagIds
=
''
}
},
}
},
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -461,8 +461,7 @@
...
@@ -461,8 +461,7 @@
v-for=
"(item, index) in stageList"
v-for=
"(item, index) in stageList"
:key=
"index"
:key=
"index"
:label=
"item.stageKey"
:label=
"item.stageKey"
:value=
"item.stageVal"
:value=
"item.stageVal"
></el-option>
></el-option>
</el-select>
</el-select>
</el-form-item>
</el-form-item>
<el-form-item
label=
"添加方式"
prop=
"addMethod"
>
<el-form-item
label=
"添加方式"
prop=
"addMethod"
>
...
@@ -479,8 +478,7 @@
...
@@ -479,8 +478,7 @@
range-separator=
"至"
range-separator=
"至"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
align=
"right"
align=
"right"
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"客户标签"
prop=
"customerType"
>
<el-form-item
label=
"客户标签"
prop=
"customerType"
>
<div
class=
"tag-input"
@
click=
"showTagDialog"
>
<div
class=
"tag-input"
@
click=
"showTagDialog"
>
...
@@ -536,8 +534,7 @@
...
@@ -536,8 +534,7 @@
:data=
"list"
:data=
"list"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
highlight-current-row
highlight-current-row
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<!-- -->
<!-- -->
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
></el-table-column>
<el-table-column
type=
"selection"
align=
"center"
width=
"55"
></el-table-column>
<el-table-column
label=
"客户"
prop=
"customerName"
header-align=
"center"
align=
""
width=
"180"
>
<el-table-column
label=
"客户"
prop=
"customerName"
header-align=
"center"
align=
""
width=
"180"
>
...
@@ -597,8 +594,7 @@
...
@@ -597,8 +594,7 @@
@click="
@click="
dialogVisibleExtend
=
true
dialogVisibleExtend
=
true
currentEidt
=
row
currentEidt
=
row
"
">
>
在职继承
在职继承
</el-button>
</el-button>
</template>
</template>
...
@@ -610,8 +606,7 @@
...
@@ -610,8 +606,7 @@
:total="
total
"
:total="
total
"
:page.sync="
query
.
pageNum
"
:page.sync="
query
.
pageNum
"
:limit.sync="
query
.
pageSize
"
:limit.sync="
query
.
pageSize
"
@pagination="
getList
()
"
@pagination="
getList
()
" />
/>
</div>
</div>
<!-- 选择标签弹窗 -->
<!-- 选择标签弹窗 -->
...
@@ -620,8 +615,7 @@
...
@@ -620,8 +615,7 @@
:visible.sync="
dialogVisible
"
:visible.sync="
dialogVisible
"
:title="
tagDialogType
.
title
"
:title="
tagDialogType
.
title
"
:defaultValues="
selectedTag
"
:defaultValues="
selectedTag
"
@success="
submitSelectTag
"
@success="
submitSelectTag
">
>
<!-- <el-button class="
ml20
" type="
primary
" @click="
dialogVisibleAddTag
=
true
"
<!-- <el-button class="
ml20
" type="
primary
" @click="
dialogVisibleAddTag
=
true
"
>添加标签</el-button
>添加标签</el-button
> -->
> -->
...
@@ -648,27 +642,25 @@
...
@@ -648,27 +642,25 @@
:selected="
mulSelectedTag
"
:selected="
mulSelectedTag
"
:visible.sync="
multiObj
.
showDialog
"
:visible.sync="
multiObj
.
showDialog
"
:title="
multiObj
.
title
"
:title="
multiObj
.
title
"
@success="
getMultiOperation
"
@success="
getMultiOperation
"></SelectTag>
></SelectTag>
<DeleteTag
<DeleteTag
v-if="
deleteDialog
"
v-if="
deleteDialog
"
ref="
deleteTag
"
ref="
deleteTag
"
:visible.sync="
deleteDialog
"
:visible.sync="
deleteDialog
"
:initList="
deleteData
"
:initList="
deleteData
"
:selected="
deleteData
"
:selected="
deleteData
"
@success="
getDeleteData
"
@success="
getDeleteData
"></DeleteTag>
></DeleteTag>
</div>
</div>
</template>
</template>
<style lang="
scss
"
scoped
>
<style lang="
scss
"
scoped
>
.
avatar
{
.
avatar
{
width
:
56
px
;
width
:
56
px
;
height
:
56
px
;
height
:
56
px
;
flex
:
none
;
flex
:
none
;
border
-
radius
:
var
(
--
border
-
radius
-
big
);
border
-
radius
:
var
(
--
border
-
radius
-
big
);
}
}
.
el
-
icon
-
s
-
custom
{
.
el
-
icon
-
s
-
custom
{
font
-
size
:
16
px
;
font
-
size
:
16
px
;
// margin-left: 4px;
// margin-left: 4px;
color
:
#
999
;
color
:
#
999
;
...
@@ -678,13 +670,13 @@
...
@@ -678,13 +670,13 @@
&
.
woman
{
&
.
woman
{
color
:
#
f753b2
;
color
:
#
f753b2
;
}
}
}
}
.
bfc
-
d
+
.
bfc
-
d
.
el
-
checkbox
:
first
-
child
{
.
bfc
-
d
+
.
bfc
-
d
.
el
-
checkbox
:
first
-
child
{
margin
-
left
:
10
px
;
margin
-
left
:
10
px
;
}
}
<
/style
>
<
/style
>
<
style
>
<
style
>
.
mzindex
{
.
mzindex
{
z
-
index
:
5000
!
important
;
z
-
index
:
5000
!
important
;
}
}
<
/style
>
<
/style
>
linkwe-pc/src/views/customerManage/lossRemind.vue
View file @
58857b7
<
script
>
<
script
>
import
{
getListNew
,
exportCustomer
,
lossRemind
,
getLossRemindStatus
}
from
'@/api/customer'
import
{
getListNew
,
exportCustomer
,
lossRemind
,
getLossRemindStatus
}
from
'@/api/customer'
// import { getList as getListTag } from '@/api/customer/tag'
// import { getList as getListTag } from '@/api/customer/tag'
// import { getList as getListOrganization } from '@/api/organization'
// import { getList as getListOrganization } from '@/api/organization'
import
SelectTag
from
'@/components/SelectTag'
import
SelectTag
from
'@/components/SelectTag'
export
default
{
export
default
{
name
:
'LossRemind'
,
name
:
'LossRemind'
,
components
:
{
SelectTag
},
components
:
{
SelectTag
},
props
:
{},
props
:
{},
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
tagIds
:
''
,
// "标签id,多个标签,id使用逗号隔开",
tagIds
:
''
,
// "标签id,多个标签,id使用逗号隔开",
beginTime
:
''
,
// "开始时间",
beginTime
:
''
,
// "开始时间",
endTime
:
''
,
// "结束时间"
endTime
:
''
,
// "结束时间"
trackState
:
5
trackState
:
5
,
},
},
queryTag
:
[],
// 搜索框选择的标签
queryTag
:
[],
// 搜索框选择的标签
queryUser
:
[],
// 搜索框选择的添加人
queryUser
:
[],
// 搜索框选择的添加人
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
// 添加标签表单
// 添加标签表单
form
:
{
form
:
{
gourpName
:
''
,
gourpName
:
''
,
weTags
:
[]
weTags
:
[],
},
},
list
:
[],
// 客户列表
list
:
[],
// 客户列表
listOrganization
:
[],
// 组织架构列表
listOrganization
:
[],
// 组织架构列表
...
@@ -42,9 +42,9 @@
...
@@ -42,9 +42,9 @@
removeTag
:
[],
// 可移除的标签
removeTag
:
[],
// 可移除的标签
tagDialogType
:
{
tagDialogType
:
{
title
:
''
,
// 选择标签弹窗标题
title
:
''
,
// 选择标签弹窗标题
type
:
''
// 弹窗类型
type
:
''
,
// 弹窗类型
},
},
isNotice
:
'0'
isNotice
:
'0'
,
}
}
},
},
watch
:
{},
watch
:
{},
...
@@ -59,7 +59,7 @@
...
@@ -59,7 +59,7 @@
'app/setBusininessDesc'
,
'app/setBusininessDesc'
,
`
`
<div>当企业成员被客户删除时,会在流失列表中产生一条记录,开启删除通知后,被删除的成员会收到一条推送</div>
<div>当企业成员被客户删除时,会在流失列表中产生一条记录,开启删除通知后,被删除的成员会收到一条推送</div>
`
`
,
)
)
},
},
mounted
()
{},
mounted
()
{},
...
@@ -110,7 +110,7 @@
...
@@ -110,7 +110,7 @@
this
.
selectedTag
=
this
.
queryTag
this
.
selectedTag
=
this
.
queryTag
this
.
tagDialogType
=
{
this
.
tagDialogType
=
{
title
:
'选择标签'
,
title
:
'选择标签'
,
type
:
'1'
type
:
'1'
,
}
}
this
.
dialogVisible
=
true
this
.
dialogVisible
=
true
},
},
...
@@ -158,9 +158,9 @@
...
@@ -158,9 +158,9 @@
lossRemind
(
val
).
then
(()
=>
{
lossRemind
(
val
).
then
(()
=>
{
this
.
msgSuccess
(
'操作成功'
)
this
.
msgSuccess
(
'操作成功'
)
})
})
}
},
}
},
}
}
</
script
>
</
script
>
<
template
>
<
template
>
...
@@ -187,8 +187,7 @@
...
@@ -187,8 +187,7 @@
range-separator=
"-"
range-separator=
"-"
start-placeholder=
"开始日期"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
align=
"right"
align=
"right"
></el-date-picker>
></el-date-picker>
</el-form-item>
</el-form-item>
<el-form-item
label=
"标签"
>
<el-form-item
label=
"标签"
>
<div
class=
"tag-input"
@
click=
"showTagDialog"
>
<div
class=
"tag-input"
@
click=
"showTagDialog"
>
...
@@ -223,8 +222,7 @@
...
@@ -223,8 +222,7 @@
inactive-value=
"0"
inactive-value=
"0"
active-color=
"#07c160"
active-color=
"#07c160"
inactive-color=
"#ff4949"
inactive-color=
"#ff4949"
@
change=
"remindSwitch"
@
change=
"remindSwitch"
></el-switch>
></el-switch>
</div>
</div>
<!-- v-hasPermi="['customerManage/customer:makeTag']" -->
<!-- v-hasPermi="['customerManage/customer:makeTag']" -->
</div>
</div>
...
@@ -234,9 +232,8 @@
...
@@ -234,9 +232,8 @@
ref=
"multipleTable"
ref=
"multipleTable"
:data=
"list"
:data=
"list"
tooltip-effect=
"dark"
tooltip-effect=
"dark"
style=
"width: 100%;"
style=
"width: 100%"
@
selection-change=
"handleSelectionChange"
@
selection-change=
"handleSelectionChange"
>
>
<!-- <el-table-column type="selection" align="center" width="55"></el-table-column> -->
<!-- <el-table-column type="selection" align="center" width="55"></el-table-column> -->
<el-table-column
label=
"客户"
prop=
"name"
align=
"center"
>
<el-table-column
label=
"客户"
prop=
"name"
align=
"center"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -254,7 +251,7 @@
...
@@ -254,7 +251,7 @@
<
el
-
table
-
column
prop
=
"firstAddTime"
label
=
"添加时间"
align
=
"center"
>
<
el
-
table
-
column
prop
=
"firstAddTime"
label
=
"添加时间"
align
=
"center"
>
<!--
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
].
createTime
}}
<
/template> --
>
<!--
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
].
createTime
}}
<
/template> --
>
<
/el-table-column
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"留存天数"
prop
=
"retentionDays"
align
=
"center"
>
<
/el-table-column
>
<
el
-
table
-
column
label
=
"留存天数"
prop
=
"retentionDays"
align
=
"center"
><
/el-table-column
>
<
el
-
table
-
column
prop
=
"updateTime"
label
=
"流失时间"
align
=
"center"
>
<
el
-
table
-
column
prop
=
"updateTime"
label
=
"流失时间"
align
=
"center"
>
<!--
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
].
createTime
}}
<
/template> --
>
<!--
<
template
slot
-
scope
=
"scope"
>
{{
scope
.
row
.
weFlowerCustomerRels
[
0
].
createTime
}}
<
/template> --
>
<
/el-table-column
>
<
/el-table-column
>
...
@@ -276,15 +273,14 @@
...
@@ -276,15 +273,14 @@
<el-button
<el-button
@click="
@click="
$router
.
push
({
$router
.
push
({
path
:
'/customerManage/customerManage/customer/c
ustomerDetail'
,
name
:
'C
ustomerDetail'
,
query
:
{
query
:
{
externalUserid
:
row
.
externalUserid
,
externalUserid
:
row
.
externalUserid
,
userId
:
row
.
firstUserId
userId
:
row
.
firstUserId
,
}
}
,
}
)
}
)
"
"
type="
text
"
type="
text
">
>
查看
查看
</el-button>
</el-button>
<!-- <el-button type="
text
" >编辑</el-button> -->
<!-- <el-button type="
text
" >编辑</el-button> -->
...
@@ -297,8 +293,7 @@
...
@@ -297,8 +293,7 @@
:total="
total
"
:total="
total
"
:page.sync="
query
.
pageNum
"
:page.sync="
query
.
pageNum
"
:limit.sync="
query
.
pageSize
"
:limit.sync="
query
.
pageSize
"
@pagination="
getList
()
"
@pagination="
getList
()
" />
/>
</div>
</div>
<!-- 选择标签弹窗 -->
<!-- 选择标签弹窗 -->
...
@@ -307,8 +302,7 @@
...
@@ -307,8 +302,7 @@
:title="
tagDialogType
.
title
"
:title="
tagDialogType
.
title
"
:selected="
selectedTag
"
:selected="
selectedTag
"
:type="
tagDialogType
.
type
"
:type="
tagDialogType
.
type
"
@success="
submitSelectTag
"
@success="
submitSelectTag
"></SelectTag>
></SelectTag>
<!-- 选择添加人弹窗 -->
<!-- 选择添加人弹窗 -->
<SelectUser :visible.sync="
dialogVisibleSelectUser
" title="
选择添加人
" @success="
selectedUser
"></SelectUser>
<SelectUser :visible.sync="
dialogVisibleSelectUser
" title="
选择添加人
" @success="
selectedUser
"></SelectUser>
...
@@ -316,7 +310,7 @@
...
@@ -316,7 +310,7 @@
</template>
</template>
<style lang="
scss
"
scoped
>
<style lang="
scss
"
scoped
>
.
el
-
icon
-
s
-
custom
{
.
el
-
icon
-
s
-
custom
{
font
-
size
:
16
px
;
font
-
size
:
16
px
;
margin
-
left
:
4
px
;
margin
-
left
:
4
px
;
color
:
#
999
;
color
:
#
999
;
...
@@ -326,8 +320,8 @@
...
@@ -326,8 +320,8 @@
&
.
woman
{
&
.
woman
{
color
:
#
f753b2
;
color
:
#
f753b2
;
}
}
}
}
.
bfc
-
d
+
.
bfc
-
d
.
el
-
checkbox
:
first
-
child
{
.
bfc
-
d
+
.
bfc
-
d
.
el
-
checkbox
:
first
-
child
{
margin
-
left
:
10
px
;
margin
-
left
:
10
px
;
}
}
<
/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