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 a41d6cdd
authored
Jun 15, 2022
by
前端
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'wangzh_dev_2.3.3' into 'v2.3.3'
Wangzh dev 2.3.3 See merge request
!62
2 parents
744764e2
fcfba445
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
13 deletions
src/components/CustomerCard.vue
src/components/CustomerInfoPopup.vue
src/views/solicit/succeed.vue
src/components/CustomerCard.vue
View file @
a41d6cd
...
...
@@ -17,7 +17,9 @@
</div>
<div
class=
"customer-info-label"
>
<div
class=
"customer-info-name"
>
企微营销:
</div>
<div
class=
"customer-info-message"
>
{{
item
.
receiveStatus
==
1
?
'已领取'
:
item
.
checkStatus
==
1
?
'已查看'
:
item
.
sendStatus
==
1
?
'已送达'
:
item
.
sendStatus
==
0
?
'未送达'
:
''
}}
</div>
<div
class=
"customer-info-message"
>
{{
item
.
receiveStatus
==
1
?
'已领取'
:
item
.
checkStatus
==
1
?
'已查看'
:
item
.
sendStatus
==
1
?
'已送达'
:
item
.
sendStatus
==
0
?
'未送达'
:
''
}}
</div>
</div>
</div>
<div
class=
"customer-info-right"
>
...
...
@@ -111,7 +113,7 @@ export default {
// 初始化微信接口
initWx
()
{
window
.
$wx
=
wxConfig
window
.
$wx
.
init
([
'setClipboardData'
,
'navigateToAddCustomer'
,
'openEnterpriseChat'
,
'makePhoneCall'
]).
then
(()
=>
{})
window
.
$wx
.
init
([
'setClipboardData'
,
'navigateToAddCustomer'
,
'openEnterpriseChat'
,
'makePhoneCall'
]).
then
(()
=>
{})
},
getuserInfo
()
{
ssoApi
.
getuserInfo
().
then
(
res
=>
{
...
...
@@ -184,7 +186,7 @@ export default {
return
}
let
seach
=
{
userIds
:
[],
// 参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
userIds
:
[],
// 参与会话的企业成员列表,格式为userid1;userid2;...,用分号隔开。
externalUserIds
:
[
val
.
userId
],
// 参与会话的外部联系人列表,格式为userId1;userId2;…,用分号隔开。
groupName
:
''
,
// 会话名称。单聊时该参数传入空字符串""即可。
chatId
:
''
...
...
@@ -214,7 +216,7 @@ export default {
}
.customer-name
{
width
:
calc
(
100%
-
8
0px
);
width
:
calc
(
100%
-
12
0px
);
font-size
:
14px
;
font-family
:
PingFangSC-Medium
,
PingFang
SC
;
font-weight
:
500
;
...
...
@@ -228,8 +230,8 @@ export default {
font-family
:
PingFangSC-Regular
,
PingFang
SC
;
font-weight
:
400
;
color
:
#999999
;
line-height
:
39
px
;
padding-right
:
12px
;
line-height
:
16
px
;
white-space
:
nowrap
;
}
.customer-info
{
...
...
src/components/CustomerInfoPopup.vue
View file @
a41d6cd
...
...
@@ -31,7 +31,7 @@
</div>
<div
class=
"customer-info-item"
>
<div
class=
"customer-info-item-title"
>
人群分组
</div>
<div
class=
"customer-info-item-content"
>
{{
groupName
}}
</div>
<div
class=
"customer-info-item-content
text-hide
"
>
{{
groupName
}}
</div>
</div>
<div
class=
"customer-info-item"
>
<div
class=
"customer-info-item-title"
>
企微账号
</div>
...
...
@@ -131,20 +131,20 @@ export default {
if
(
data
.
cars
&&
data
.
cars
.
length
)
{
this
.
carInfoList
=
data
.
cars
this
.
carInfoList
.
map
(
item
=>
{
item
.
carBuyDate
=
this
.
timeTransfer
(
item
.
carBuyDate
)
item
.
carBuyDate
=
item
.
carBuyDate
&&
this
.
timeTransfer
(
item
.
carBuyDate
)
})
}
if
(
data
.
maList
&&
data
.
maList
.
length
)
{
this
.
maintennceList
=
data
.
maList
this
.
maintennceList
.
map
(
item
=>
{
item
.
maDate
=
this
.
timeTransfer
(
item
.
maDate
)
item
.
maDate
=
item
.
maDate
&&
this
.
timeTransfer
(
item
.
maDate
)
})
}
if
(
data
.
followRecordList
&&
data
.
followRecordList
.
length
)
{
this
.
followRecordList
=
data
.
followRecordList
this
.
followRecordList
.
map
(
item
=>
{
item
.
orderTime
=
item
.
orderTime
&&
this
.
timeTransfer
(
item
.
orderTime
)
item
.
createdTime
=
this
.
timeTransfer
(
item
.
createdTime
)
item
.
createdTime
=
item
.
createdTime
&&
this
.
timeTransfer
(
item
.
createdTime
)
})
}
}
...
...
@@ -228,6 +228,7 @@ export default {
}
&
-content
{
color
:
#333333
;
max-width
:
200px
;
}
&
-message
{
font-size
:
12px
;
...
...
src/views/solicit/succeed.vue
View file @
a41d6cd
...
...
@@ -48,7 +48,7 @@
</div>
</div>
<div
class=
"succeed-wrap-order-info"
>
<
template
v-if=
"
appointmentDailyCharts
"
>
<
template
v-if=
"
getFollowResultDetail.appointmentDailyCharts&&getFollowResultDetail.appointmentDailyCharts.length>0
"
>
<lineChart
id=
"orderRef"
:lineData=
"lineData"
></lineChart>
</
template
>
<
template
v-else
>
...
...
@@ -133,7 +133,8 @@ export default {
solicitApi
.
getFollowResult
(
params
).
then
(
res
=>
{
this
.
getFollowResultDetail
=
res
.
data
const
{
joinEntmicroCustomerNums
,
notYetJoinEntmicroCustomerNums
,
followResultsAnalyzeVos
,
appointmentDailyCharts
,
successDailyCharts
}
=
this
.
getFollowResultDetail
if
(
joinEntmicroCustomerNums
||
notYetJoinEntmicroCustomerNums
)
{
if
(
joinEntmicroCustomerNums
||
notYetJoinEntmicroCustomerNums
)
{
this
.
pieData
=
[
{
const
:
'const'
,
...
...
@@ -151,7 +152,7 @@ export default {
rate
:
parseInt
((
joinEntmicroCustomerNums
/
(
joinEntmicroCustomerNums
+
notYetJoinEntmicroCustomerNums
))
*
100
)
+
'%'
}
}
if
(
appointmentDailyCharts
)
{
const
appointmentDaily
=
appointmentDailyCharts
.
map
((
item
,
index
)
=>
{
return
{
...
...
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