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 88179aa6
authored
Dec 20, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
客户轨迹同步问题
1 parent
3dd32ff9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
5 deletions
linkwe-ui/src/api/customer/index.js
linkwe-ui/src/views/customerManage/customer/infoTab.vue
linkwe-ui/src/views/customerManage/customer/record.vue
linkwe-ui/src/api/customer/index.js
View file @
88179aa
...
...
@@ -213,8 +213,8 @@ export function getCustomerInfoByUserId({ externalUserid, userId, delFlag }) {
* externalUserid 是 当前客户id
* userId 当前跟进人id
* pageNum: 1,
pageSize: 10,
trajectoryType 1:信息动态;2:社交动态;3:跟进动态;4:待办动态
pageSize: 10,
trajectoryType 1:信息动态;2:社交动态;3:跟进动态;4:待办动态
*/
export
function
getFollowUpRecord
(
params
)
{
return
request
({
...
...
@@ -230,6 +230,6 @@ export function getFollowUpRecord(params) {
*/
export
function
syncTrack
(
userIds
)
{
return
request
({
url
:
getway
+
`/moments/synchMomentsInteracte`
url
:
getway
+
`/moments/synchMomentsInteracte
/
${
userIds
}
`
})
}
linkwe-ui/src/views/customerManage/customer/infoTab.vue
View file @
88179aa
...
...
@@ -20,7 +20,7 @@ export default {
},
data
()
{
return
{
portrayalSum
:
{
companyTags
:
[],
personTags
:
[],
trackStates
:
[]
},
// 客户画像汇总
portrayalSum
:
{
companyTags
:
[],
personTags
:
[],
trackStates
:
[]
,
trackUsers
:
[]
},
// 客户画像汇总
trajectoryType
:
{
0
:
'全部'
,
1
:
'信息动态'
,
...
...
@@ -243,6 +243,7 @@ export default {
v-show=
"item === active"
:key=
"index"
:userId=
"userId"
:userIdAll=
"portrayalSum.trackUsers.map((e) => e.trackUserId).join()"
:lastSyncTime
.
sync=
"lastSyncTime"
:trajectoryType=
"item == 0 ? null : item"
></record>
...
...
linkwe-ui/src/views/customerManage/customer/record.vue
View file @
88179aa
...
...
@@ -10,6 +10,11 @@ export default {
type
:
String
,
default
:
null
},
// 所有跟进人id(用于客户画像汇总的同步)
userIdAll
:
{
type
:
String
,
default
:
null
},
// 1:信息动态;2:社交动态;3:跟进动态;4:待办动态
trajectoryType
:
{
type
:
String
,
...
...
@@ -98,7 +103,7 @@ export default {
},
sync
()
{
this
.
loading
=
true
syncTrack
(
this
.
userId
)
syncTrack
(
this
.
userId
||
this
.
userIdAll
)
.
then
(()
=>
{
this
.
getList
(
1
)
this
.
msgSuccess
(
'后台开始同步数据,请稍后关注进度'
)
...
...
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