Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-customer
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 c609e8e0
authored
Jun 07, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
58bd2c56
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
213 additions
and
75 deletions
src/api/solicit.js
src/components/CustomerCard.vue
src/components/CustomerFollowPopup.vue
src/views/solicit/components/bar.vue
src/views/solicit/lookCustomer.vue
src/views/solicit/result.vue
src/views/solicit/statistic.vue
src/views/solicit/succeed.vue
src/api/solicit.js
View file @
c609e8e
...
...
@@ -21,7 +21,7 @@ export default {
getStaffid
(
data
)
{
data
.
method
=
'marketing.api.solicit.staffid.obtain'
return
window
.
$HTTP
({
url
,
url
:
'http://192.168.1.170:8065/rop-scrm-marketing/router'
,
data
,
returnAll
:
true
})
...
...
@@ -99,5 +99,23 @@ export default {
data
,
returnAll
:
true
})
}
},
// 跟进结果-成功到店与战败分析
getFollowResult
(
data
)
{
data
.
method
=
'marketing.api.solicit.staffid.getFollowResult'
return
window
.
$HTTP
({
url
,
data
,
returnAll
:
true
})
},
// 跟进结果-成功到店与战败分析
getCustomerFollowTotal
(
data
)
{
data
.
method
=
'marketing.api.solicit.staffid.getCustomerFollowTotal'
return
window
.
$HTTP
({
url
,
data
,
returnAll
:
true
})
}
}
src/components/CustomerCard.vue
View file @
c609e8e
<
template
>
<div>
<div
class=
"customer-box"
v-for=
"
item in customerData"
:key=
"item.id
"
>
<div
class=
"customer-box"
v-for=
"
(item, index) in customerData"
:key=
"index
"
>
<div
class=
"customer-title"
>
<div
class=
"customer-name"
>
{{
item
.
customerName
}}
</div>
<div
class=
"customer-carnumber"
>
{{
item
.
cars
.
length
>
0
&&
item
.
cars
[
0
].
carNumber
}}
</div>
<div
class=
"customer-carnumber"
>
{{
item
.
cars
&&
item
.
cars
.
length
>
0
&&
item
.
cars
[
0
].
carNumber
}}
</div>
</div>
<div
class=
"customer-info"
>
<div
class=
"customer-info-left"
>
<div
class=
"customer-info-label"
>
<div
class=
"customer-info-name"
>
车系:
</div>
<div
class=
"customer-info-message"
>
{{
item
.
cars
.
length
>
0
&&
item
.
cars
[
0
].
carSeries
}}
</div>
<div
class=
"customer-info-message"
>
{{
item
.
cars
&&
item
.
cars
.
length
>
0
&&
item
.
cars
[
0
].
carSeries
}}
</div>
</div>
<div
class=
"customer-info-label"
>
<div
class=
"customer-info-name"
>
招揽结果:
</div>
...
...
@@ -42,7 +42,7 @@
</div>
<div
class=
"customer-marketing"
>
<div
class=
"sprite-icon icon-tel"
@
click=
"callCustomer(item)"
></div>
<div
class=
"sprite-icon icon-fllow"
@
click=
"followCustomer(item)"
></div>
<div
class=
"sprite-icon icon-fllow"
@
click=
"followCustomer(item
, index
)"
></div>
<div
class=
"sprite-icon icon-message"
@
click=
"sendMessage(item)"
></div>
<div
class=
"sprite-icon icon-sendwechat"
@
click=
"sendWechat(item)"
></div>
</div>
...
...
@@ -50,7 +50,7 @@
<!-- 电话营销弹窗 -->
<van-action-sheet
v-model:show=
"show"
:actions=
"actions"
@
select=
"onSelect"
cancel-text=
"取消"
close-on-click-action
@
cancel=
"onCancel"
/>
<!-- 跟进弹窗 -->
<customer-follow-popup
ref=
"customerFollowRef"
:info=
"followCustomerData"
></customer-follow-popup>
<customer-follow-popup
ref=
"customerFollowRef"
:info=
"followCustomerData"
@
changeIndexEvent=
"changeIndexEvent"
></customer-follow-popup>
<!-- 客户信息弹窗 -->
<customer-info-popup
ref=
"customerInfoRef"
></customer-info-popup>
</div>
...
...
@@ -61,6 +61,7 @@ import { Toast } from 'vant'
import
{
wxConfig
}
from
'@/api'
import
CustomerInfoPopup
from
'./CustomerInfoPopup.vue'
import
CustomerFollowPopup
from
'./CustomerFollowPopup.vue'
import
{
solicitApi
}
from
'@/api'
export
default
{
components
:
{
CustomerInfoPopup
,
CustomerFollowPopup
},
name
:
'CustomerCard'
,
...
...
@@ -103,20 +104,32 @@ export default {
followCustomerData
:
{},
phoneNumber
:
null
,
customerData
:
this
.
customerInfo
,
customerIndex
:
0
}
},
mounted
()
{
//
this.initWx()
this
.
initWx
()
},
methods
:
{
changeIndexEvent
()
{
let
params
=
{
customerId
:
this
.
followCustomerData
.
actCutId
}
solicitApi
.
getCustomerDetail
(
params
).
then
(({
code
,
data
,
message
})
=>
{
if
(
code
==
0
)
{
this
.
customerData
[
this
.
customerIndex
]
=
data
this
.
$set
(
this
.
customerData
,
this
.
customerIndex
,
data
)
}
else
{
Notify
(
message
)
}
})
},
// 初始化微信接口
initWx
()
{
window
.
$wx
=
wxConfig
window
.
$wx
.
init
([
'setClipboardData'
,
'makePhoneCall'
]).
then
(()
=>
{})
},
changeTab
(
index
)
{
console
.
log
(
index
)
this
.
isShow
=
false
if
(
index
===
0
)
{
this
.
isShow
=
true
...
...
@@ -135,7 +148,6 @@ export default {
},
// 选择电话营销方式
onSelect
(
e
)
{
console
.
log
(
e
)
// 呼叫
if
(
e
.
name
===
'呼叫'
)
{
// window.location.href = 'tel://' + this.telNumber
...
...
@@ -150,21 +162,25 @@ export default {
this
.
show
=
false
},
// 招揽跟进
followCustomer
(
val
)
{
console
.
log
(
val
)
followCustomer
(
val
,
index
)
{
this
.
customerIndex
=
index
this
.
followCustomerData
=
val
this
.
$refs
.
customerFollowRef
.
init
(
val
)
},
// 客户详情
sendMessage
(
val
)
{
console
.
log
(
val
)
this
.
$refs
.
customerInfoRef
.
init
(
val
)
},
// 企微沟通
sendWechat
(
val
)
{
console
.
log
(
val
)
let
seach
=
{
userIds
:
[],
//参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
externalUserIds
:
[
val
.
userid
],
// 参与会话的外部联系人列表,格式为userId1;userId2;…,用分号隔开。
groupName
:
''
,
// 会话名称。单聊时该参数传入空字符串""即可。
chatId
:
''
}
wxConfig
.
openEnterpriseChat
().
then
(
res
=>
{
console
.
log
(
res
)
//
console.log(res)
})
}
}
...
...
src/components/CustomerFollowPopup.vue
View file @
c609e8e
...
...
@@ -2,7 +2,7 @@
<div>
<van-action-sheet
v-model=
"show"
>
<van-sticky
class=
"name-title"
>
<div
class=
"name-title-text"
>
xxx
</div>
<div
class=
"name-title-text"
>
{{
info
.
customerName
}}
</div>
</van-sticky>
<div
class=
"follow-content"
>
<!--
<div
class=
"name-title"
>
...
...
@@ -22,7 +22,7 @@
<van-field
name=
"跟进备注"
v-model=
"selectFollowForm.followMark"
rows=
"1"
type=
"textarea"
autosize
class=
"field-bottom"
label=
"跟进备注"
placeholder=
"输入备注"
maxlength=
"200"
/>
<van-field
name=
"switch"
label=
"继续跟进"
>
<
template
#
right-icon
>
<van-switch
v-model=
"selectFollowForm.checked"
active-color=
"#3975C6"
@
change=
"switchChange"
size=
"24px"
/>
<van-switch
v-model=
"selectFollowForm.checked"
active-color=
"#3975C6"
size=
"24px"
/>
</
template
>
</van-field>
<div
class=
"continue-follow-text field-bottom"
>
若「打开」表示该客户暂未战败,仍需再次招揽; 若「关闭」表示该客户信息将从「待跟进」迁移至「已跟进」列表。
</div>
...
...
@@ -101,18 +101,15 @@ export default {
}
},
props
:
{
// info: {
// type: Object,
// default: () => {}
// },
groupId
:
{
type
:
String
,
default
:
''
info
:
{
type
:
Object
,
default
:
()
=>
{}
}
},
created
()
{
this
.
groupId
=
this
.
getQuery
().
groupId
?
this
.
getQuery
().
groupId
:
''
},
computed
:
{
...
mapState
({
followResultList
:
state
=>
state
.
solicit
.
followResultList
,
...
...
@@ -122,9 +119,6 @@ export default {
},
methods
:
{
init
(
val
)
{
// this.customerName = val.customerName
console
.
log
(
this
.
followResultList
)
console
.
log
(
this
.
activityId
)
this
.
show
=
true
// 获取当前时间
const
date
=
new
Date
(
new
Date
().
getTime
()
+
(
parseInt
(
new
Date
().
getTimezoneOffset
()
/
60
)
+
8
)
*
3600
*
1000
)
...
...
@@ -134,16 +128,6 @@ export default {
selectFollow
(
val
)
{
this
.
selectFollowForm
.
followResult
=
val
.
dictValue
},
// 获取跟进备注
getTips
(
e
)
{
console
.
log
(
e
)
this
.
selectFollowForm
.
followTips
=
e
},
// 继续跟进按钮切换
switchChange
()
{
this
.
selectFollowForm
.
checked
=
!
this
.
selectFollowForm
.
checked
console
.
log
(
this
.
selectFollowForm
.
checked
)
},
// 展示日历表
showDate
()
{
this
.
showPicker
=
!
this
.
showPicker
...
...
@@ -175,8 +159,6 @@ export default {
},
// 提交按钮
submit
()
{
console
.
log
(
111
)
console
.
log
(
this
.
followTips
)
let
params
=
{
followResult
:
this
.
selectFollowForm
.
followResult
,
followMark
:
this
.
selectFollowForm
.
followMark
,
...
...
@@ -195,11 +177,11 @@ export default {
}
}
if
(
this
.
selectFollowForm
.
followResult
==
1
)
params
.
orderTime
=
this
.
selectFollowForm
.
orderTime
console
.
log
(
params
)
solicitApi
.
sendSolicitRecord
(
params
).
then
(({
code
,
data
,
message
})
=>
{
if
(
code
==
0
)
{
Toast
(
'提交成功'
)
this
.
initFormData
()
this
.
$emit
(
'changeIndexEvent'
)
}
else
{
Notify
(
message
)
}
...
...
src/views/solicit/components/bar.vue
View file @
c609e8e
...
...
@@ -73,7 +73,7 @@ export default {
const
point
=
this
.
chart
.
getPosition
(
obj
)
const
text
=
group
.
addShape
(
'text'
,
{
attrs
:
{
x
:
textLength
*
10
+
24
,
x
:
textLength
*
10
+
30
,
y
:
point
.
y
-
offset
,
text
:
obj
.
value
,
fill
:
'#ffffff'
,
...
...
src/views/solicit/lookCustomer.vue
View file @
c609e8e
...
...
@@ -11,8 +11,8 @@
<drop-down
:selectOption1=
"statusList"
:selectOption2=
"resultList"
:currentValue1=
"status"
:currentValue2=
"result"
@
changeFirst=
"changeFirst"
@
changeSecond=
"selectSecondChange"
></drop-down>
</div>
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
<
!--
<customer-card
:customerInfo=
"customerInfo"
></customer-card>
--
>
<
!--
<empty
v-else
></empty>
--
>
<
customer-card
v-if=
"customerInfo.length>0"
:customerInfo=
"customerInfo"
></customer-card
>
<
empty
v-else
></empty
>
</scroll-view>
</div>
</
template
>
...
...
src/views/solicit/result.vue
View file @
c609e8e
...
...
@@ -3,22 +3,22 @@
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
<template
v-if=
"true"
>
<div
class=
"result-container-content"
>
<template
v-for=
"
i in 10
"
>
<template
v-for=
"
(item, i) in getCustomerFollow
"
>
<div
:key=
"i"
class=
"result-container-content-item"
>
<div
class=
"title-info"
>
定保 N-6
</div>
<div
class=
"title-info"
>
{{
item
.
groupName
}}
</div>
<div
class=
"result-content flex-between"
>
<div
class=
"result-content-list flex-top"
@
click=
"goto('solicit.succeed')"
>
<div
class=
"result-content-list flex-top"
@
click=
"goto('solicit.succeed'
, 1, item.groupId, item.groupName
)"
>
<div
class=
"sprite-icon icon-succeed"
></div>
<div
class=
"m-l-8"
>
<div
class=
"font-14 color-3 fw5"
>
成功到店
</div>
<div
class=
"font-12 color-2f m-t-4"
>
客户:
200
人
</div>
<div
class=
"font-12 color-2f m-t-4"
>
客户:
{{
item
.
successCustomerNums
}}
人
</div>
</div>
</div>
<div
class=
"result-content-list flex-top"
@
click=
"goto('solicit.succeed')"
>
<div
class=
"result-content-list flex-top"
@
click=
"goto('solicit.succeed'
, 2, item.groupId, item.groupName
)"
>
<div
class=
"sprite-icon icon-fail"
></div>
<div
class=
"m-l-8"
>
<div
class=
"font-14 color-3 fw5"
>
成功到店
</div>
<div
class=
"font-12 color-2f m-t-4"
>
客户:
200
人
</div>
<div
class=
"font-14 color-3 fw5"
>
战败分析
</div>
<div
class=
"font-12 color-2f m-t-4"
>
客户:
{{
item
.
defeatCustomerNums
}}
人
</div>
</div>
</div>
</div>
...
...
@@ -33,10 +33,32 @@
</div>
</template>
<
script
>
import
{
solicitApi
}
from
'@/api'
export
default
{
data
()
{
return
{
getCustomerFollow
:
[]
}
},
created
()
{
this
.
getCustomerFollowTotal
()
},
methods
:
{
goto
(
name
)
{
this
.
$router
.
push
({
name
})
// 获取跟进结果字典数据
getCustomerFollowTotal
()
{
const
{
activityId
,
staffId
}
=
this
.
$store
.
state
.
solicit
var
params
=
{
activityId
:
1
,
followFlag
:
0
,
retFacFlag
:
0
,
staffId
:
334
}
solicitApi
.
getCustomerFollowTotal
(
params
).
then
(
res
=>
{
this
.
getCustomerFollow
=
res
.
data
})
},
goto
(
name
,
status
,
groupId
,
groupName
)
{
this
.
$router
.
push
({
name
,
query
:
{
status
,
groupId
,
groupName
}
})
},
onReachBottom
()
{
this
.
$refs
.
scrollView
.
loading
=
false
...
...
@@ -58,6 +80,8 @@ export default {
height
:
144px
;
margin-bottom
:
16px
;
overflow
:
hidden
;
box-shadow
:
0px
3px
10px
0px
rgba
(
223
,
228
,
234
,
0.81
);
border-radius
:
4px
;
.
title-info
::
before
{
content
:
''
;
width
:
3px
;
...
...
@@ -81,7 +105,7 @@ export default {
}
.custom-image
{
background
:
#fff
;
height
:
100%
;
height
:
100%
;
}
}
</
style
>
src/views/solicit/statistic.vue
View file @
c609e8e
...
...
@@ -8,7 +8,7 @@
<div>
1. 客户开启消息免打扰,消息发送失败;
</div>
<div>
2. 群发次数达到上限,上限次数为每个客户每天仅可接收1条群发消息。(系统将连续重试3天)
</div>
</div>
<customer-card
v-if=
"customerInfo1.length > 0"
:customerInfo=
"customerInfo1"
></customer-card>
<customer-card
v-if=
"customerInfo1.length > 0"
:customerInfo
.
sync
=
"customerInfo1"
></customer-card>
<empty
v-else
></empty>
</scroll-view>
</van-tab>
...
...
@@ -29,7 +29,7 @@
</div>
</div>
<select-bar
:index=
"alreadyIndex"
:list=
"selectBarList"
@
change=
"changeSelectTab"
></select-bar>
<customer-card
v-if=
"customerInfo2.length > 0"
:customerInfo=
"customerInfo2"
></customer-card>
<customer-card
v-if=
"customerInfo2.length > 0"
:customerInfo
.
sync
=
"customerInfo2"
></customer-card>
<empty
v-else
></empty>
</van-tab>
</van-tabs>
...
...
@@ -213,7 +213,7 @@ export default {
}
.statistic-list
{
white-space
:
nowrap
;
width
:
calc
(
100%
-
208
px
);
width
:
calc
(
100%
-
190
px
);
.circle
{
width
:
8px
;
height
:
8px
;
...
...
src/views/solicit/succeed.vue
View file @
c609e8e
<
template
>
<div
class=
"succeed-container"
>
<div
class=
"succeed-title font-20 color-3 fw5"
>
定保 N-6
<span
class=
"color39 font-16 m-l-8"
>
-
成功到店
</span>
{{
groupName
}}
<span
class=
"color39 font-16 m-l-8"
>
-
{{
customeStatus
==
1
?
'成功到店'
:
'战败分析'
}}
</span>
</div>
<div
class=
"succeed-content"
>
<div
class=
"succeed-wrap m-b-16"
>
<div
class=
"title-info"
>
客户分布
</div>
<div
class=
"succeed-wrap-info"
>
<pieChart
:color=
"styleColor"
id=
"customerRef"
></pieChart>
<div
class=
"succeed-wrap-info"
v-if=
"pieData.length"
>
<pieChart
:color=
"styleColor"
id=
"customerRef"
:list=
"pieData"
:centerData=
"centerData"
></pieChart>
</div>
</div>
<div
class=
"succeed-wrap m-b-16"
>
<div
class=
"title-info"
>
跟进频次
</div>
<div
class=
"succeed-wrap-frequency flex-between"
>
<template
v-for=
"(f,i) in followList"
>
<div
class=
"succeed-wrap-frequency-single"
:key=
"i"
>
<div
class=
"font-16 color-3 bold line-24"
>
5次/人
</div>
<div
class=
"font-12 color-2f m-t-6"
>
{{
f
.
text
}}
</div>
</div>
</
template
>
<div
class=
"succeed-wrap-frequency-single"
>
<div
class=
"font-16 color-3 bold line-24"
>
{{
getFollowResultDetail
.
averageFollows
}}
次/人
</div>
<div
class=
"font-12 color-2f m-t-6"
>
平均跟进
</div>
</div>
<div
class=
"succeed-wrap-frequency-single"
>
<div
class=
"font-16 color-3 bold line-24"
>
{{
getFollowResultDetail
.
mostFollows
}}
次
</div>
<div
class=
"font-12 color-2f m-t-6"
>
最多跟进
</div>
</div>
<div
class=
"succeed-wrap-frequency-single"
>
<div
class=
"font-16 color-3 bold line-24"
>
{{
getFollowResultDetail
.
leastFollows
}}
次
</div>
<div
class=
"font-12 color-2f m-t-6"
>
最少跟进
</div>
</div>
</div>
</div>
<div
class=
"succeed-wrap m-b-16"
>
<div
class=
"succeed-wrap m-b-16"
v-if=
"customeStatus == 1"
>
<div
class=
"title-info"
>
预约与到店
<div
class=
"flex fact-wrap"
>
...
...
@@ -37,17 +43,22 @@
</div>
</div>
<div
class=
"succeed-wrap-order-info"
>
<lineChart
id=
"orderRef"
></lineChart>
<lineChart
id=
"orderRef"
:lineData=
"lineData"
></lineChart>
</div>
</div>
<div
class=
"succeed-wrap m-b-16"
>
<div
class=
"succeed-wrap m-b-16"
v-if=
"customeStatus == 2 && reasonBar.length"
>
<div
class=
"title-info"
>
原因统计
</div>
<barChart
color=
"#3975C6"
id=
"reasonRef"
:list=
"reasonBar"
></barChart>
</div>
<div
class=
"succeed-wrap m-b-16"
v-if=
"markingBar.length"
>
<div
class=
"title-info"
>
企微营销
</div>
<barChart
:color=
"styleColor"
id=
"markingRef
"
></barChart>
<barChart
color=
"#3975C6"
id=
"markingRef"
:list=
"markingBar
"
></barChart>
</div>
</div>
</div>
</
template
>
<
script
>
import
{
solicitApi
}
from
'@/api'
import
pieChart
from
'../solicit/components/pie.vue'
import
lineChart
from
'../solicit/components/line.vue'
import
barChart
from
'../solicit/components/bar.vue'
...
...
@@ -59,12 +70,99 @@ export default {
},
data
()
{
return
{
styleColor
:
[
'#FDB757'
,
'#3975C6'
],
followList
:[]
styleColor
:
[
'#3975C6'
,
'#FDB757'
],
pieData
:
[],
centerData
:
{},
followList
:
[],
customeStatus
:
1
,
getFollowResultDetail
:
{},
groupId
:
''
,
groupName
:
''
,
reasonBar
:
[],
markingBar
:
[],
lineData
:
[]
}
},
created
(){
this
.
followList
=
this
.
$constants
.
FOLLOWLIST
created
()
{
this
.
followList
=
this
.
$constants
.
FOLLOWLIST
this
.
customeStatus
=
this
.
$route
.
query
.
status
this
.
groupId
=
this
.
$route
.
query
.
status
this
.
groupName
=
this
.
$route
.
query
.
groupName
this
.
getFollowResult
()
this
.
deliveredStatistics
()
},
methods
:
{
deliveredStatistics
()
{
const
{
activityId
,
staffId
}
=
this
.
$store
.
state
.
solicit
var
params
=
{
id
:
1
,
groupId
:
524
,
typeFlag
:
this
.
customeStatus
,
staffId
:
334
}
solicitApi
.
deliveredStatistics
(
params
).
then
(
res
=>
{
const
{
delivered
,
received
,
undelivered
,
viewed
}
=
res
.
data
this
.
markingBar
=
[
{
value
:
+
received
,
text
:
'已领取'
},
{
value
:
+
viewed
,
text
:
'已查阅'
},
{
value
:
+
delivered
,
text
:
'已送达'
},
{
value
:
+
undelivered
,
text
:
'未送达'
}
]
})
},
// 获取跟进结果字典数据
getFollowResult
()
{
const
{
activityId
,
staffId
}
=
this
.
$store
.
state
.
solicit
var
params
=
{
activityId
:
1
,
followFlag
:
this
.
customeStatus
==
1
?
''
:
0
,
retFacFlag
:
this
.
customeStatus
==
1
?
1
:
0
,
staffId
:
334
}
solicitApi
.
getFollowResult
(
params
).
then
(
res
=>
{
this
.
getFollowResultDetail
=
res
.
data
const
{
joinEntmicroCustomerNums
,
notYetJoinEntmicroCustomerNums
,
followResultsAnalyzeVos
,
appointmentDailyCharts
,
successDailyCharts
}
=
this
.
getFollowResultDetail
this
.
pieData
=
[
{
const
:
'const'
,
text
:
' 企微客户 (人)'
,
value
:
joinEntmicroCustomerNums
},
{
const
:
'const'
,
text
:
'非企微客户 (人)'
,
value
:
notYetJoinEntmicroCustomerNums
}
]
this
.
centerData
=
{
text
:
'企微占比'
,
rate
:
(
joinEntmicroCustomerNums
/
(
joinEntmicroCustomerNums
+
notYetJoinEntmicroCustomerNums
))
*
100
+
'%'
}
if
(
appointmentDailyCharts
)
{
const
appointmentDaily
=
appointmentDailyCharts
.
map
((
item
,
index
)
=>
{
return
{
date
:
item
.
dailyDate
,
value
:
item
.
times
,
city
:
'1'
}
})
const
successDaily
=
successDailyCharts
.
map
((
item
,
index
)
=>
{
return
{
date
:
item
.
dailyDate
,
value
:
item
.
times
,
city
:
'2'
}
})
this
.
lineData
=
[...
appointmentDaily
,
...
successDaily
]
}
if
(
followResultsAnalyzeVos
)
{
const
followResultList
=
JSON
.
parse
(
sessionStorage
.
getItem
(
'followResultList'
))
this
.
reasonBar
=
followResultsAnalyzeVos
.
map
(
item
=>
{
return
{
value
:
item
.
times
,
text
:
followResultList
.
find
(
follow
=>
follow
.
dictValue
==
item
.
followResult
).
dictLabel
}
})
}
})
}
}
}
</
script
>
...
...
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