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 11f95797
authored
Dec 21, 2021
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
--no commit message
1 parent
88179aa6
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
12 deletions
linkwe-mobile/src/api/portrait.js
linkwe-mobile/src/views/portrait/index.vue
linkwe-ui/src/views/customerManage/customer/record.vue
linkwe-mobile/src/api/portrait.js
View file @
11f9579
...
@@ -123,14 +123,12 @@ export function handleWait(params) {
...
@@ -123,14 +123,12 @@ export function handleWait(params) {
/**
/**
* 客户画像个人标签新增或更新
* 客户画像个人标签新增或更新
* @param {*} params
* @param {*} params
* {
{
"gourpName": "个人标签分组", //标签组名
"groupId": "1471327408994738177",//标签组id,新增的时候没有则传 null
"weTags": [
"weTags": [
{
{
"
groupId": "1471327408994738177",//标签组id,新增的时候没有则传 null
"
name": "个人标签4",//标签名
"
name": "个人标签3",//标签名
"
tagId": "1471327409208647681",//标签id,新增不存在则不传,更新则传
"
tagId": "1471327409208647681"//标签id,新增的时候没有则传 null
"
owner":"shengxiyong"//标签所属人id
}
}
]
]
}
}
...
...
linkwe-mobile/src/views/portrait/index.vue
View file @
11f9579
...
@@ -35,11 +35,11 @@
...
@@ -35,11 +35,11 @@
</div>
</div>
</div>
</div>
<van-button
<van-button
v-if=
"
form.trackState
"
v-if=
"
dictTrackState[form.trackState || 1]
"
:type=
"dictTrackState[form.trackState].color"
:type=
"dictTrackState[form.trackState
|| 1
].color"
size=
"small"
size=
"small"
@
click=
"usershow = true"
@
click=
"usershow = true"
>
{{
dictTrackState
[
form
.
trackState
].
name
||
'待跟进'
}}
</van-button
>
{{
dictTrackState
[
form
.
trackState
||
1
].
name
}}
</van-button
>
>
</div>
</div>
<div
class=
"detail"
>
<div
class=
"detail"
>
...
@@ -373,7 +373,7 @@ export default {
...
@@ -373,7 +373,7 @@ export default {
agentId
:
''
,
// 1000012,
agentId
:
''
,
// 1000012,
loadingStep
:
false
,
loadingStep
:
false
,
dictTrackState
:
Object
.
freeze
({
dictTrackState
:
Object
.
freeze
({
1
:
{
name
:
'待跟进'
,
color
:
''
},
1
:
{
name
:
'待跟进'
,
color
:
'
info
'
},
2
:
{
name
:
'跟进中'
,
color
:
'info'
},
2
:
{
name
:
'跟进中'
,
color
:
'info'
},
3
:
{
name
:
'已成交'
,
color
:
'primary'
},
3
:
{
name
:
'已成交'
,
color
:
'primary'
},
4
:
{
name
:
'无意向'
,
color
:
'warning'
},
4
:
{
name
:
'无意向'
,
color
:
'warning'
},
...
@@ -730,8 +730,13 @@ export default {
...
@@ -730,8 +730,13 @@ export default {
},
},
// 添加个人标签
// 添加个人标签
submitNewPersonTag
()
{
submitNewPersonTag
()
{
addOrUpdatePersonTags
(
this
.
submitNewPersonTag
)
let
params
=
{
weTags
:
[{
name
:
this
.
newPersonTag
,
owner
:
this
.
userId
}]
}
addOrUpdatePersonTags
(
params
)
.
then
((
res
)
=>
{
.
then
((
res
)
=>
{
this
.
$toast
.
success
(
'添加成功'
)
this
.
getAllTags
(
'person'
)
this
.
getAllTags
(
'person'
)
})
})
.
catch
((
err
)
=>
{
.
catch
((
err
)
=>
{
...
...
linkwe-ui/src/views/customerManage/customer/record.vue
View file @
11f9579
...
@@ -152,7 +152,7 @@ export default {
...
@@ -152,7 +152,7 @@ export default {
<ul
class=
"infinite-list"
v-infinite-scroll=
"getList"
style=
"overflow:auto"
>
<ul
class=
"infinite-list"
v-infinite-scroll=
"getList"
style=
"overflow:auto"
>
<
template
v-if=
"list.length"
>
<
template
v-if=
"list.length"
>
<li
v-for=
"(unit, i) in list"
class=
"infinite-list-item"
:key=
"i"
>
<li
v-for=
"(unit, i) in list"
class=
"infinite-list-item"
:key=
"i"
>
<div
class=
"timeline-time"
>
{{
dateFormat
(
unit
[
0
].
create
Time
,
'yyyy-MM-dd w'
)
}}
</div>
<div
class=
"timeline-time"
>
{{
dateFormat
(
unit
[
0
].
track
Time
,
'yyyy-MM-dd w'
)
}}
</div>
<el-timeline
class=
"timeline-box"
>
<el-timeline
class=
"timeline-box"
>
<el-timeline-item
<el-timeline-item
v-for=
"(item, index) in unit"
v-for=
"(item, index) in unit"
...
...
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