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 87df3ff0
authored
Jun 11, 2022
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
e0b75f33
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
14 deletions
src/components/CustomerFollowPopup.vue
src/views/solicit/follow.vue
src/views/solicit/overview.vue
src/views/solicit/succeed.vue
src/components/CustomerFollowPopup.vue
View file @
87df3ff
<
template
>
<
template
>
<div>
<div>
<van-action-sheet
v-model=
"show"
>
<van-action-sheet
v-model=
"show"
@
click-overlay=
"clickOverlay"
>
<van-sticky
class=
"name-title"
>
<van-sticky
class=
"name-title"
>
<div
class=
"name-title-text"
>
{{
info
.
customerName
}}
</div>
<div
class=
"name-title-text"
>
{{
info
.
customerName
}}
</div>
</van-sticky>
</van-sticky>
...
@@ -25,7 +25,7 @@
...
@@ -25,7 +25,7 @@
<van-switch
v-model=
"selectFollowForm.checked"
active-color=
"#3975C6"
size=
"24px"
/>
<van-switch
v-model=
"selectFollowForm.checked"
active-color=
"#3975C6"
size=
"24px"
/>
</
template
>
</
template
>
</van-field>
</van-field>
<div
class=
"continue-follow-text field-bottom"
>
若「打开」表示该客户暂未战败,仍需再次招揽; 若「关闭」表示该客户信息将从「
待跟进」迁移至「已跟进
」列表。
</div>
<div
class=
"continue-follow-text field-bottom"
>
若「打开」表示该客户暂未战败,仍需再次招揽; 若「关闭」表示该客户信息将从「
跟进」迁移至「结果
」列表。
</div>
<van-field
<van-field
v-show=
"selectFollowForm.followResult == 1"
v-show=
"selectFollowForm.followResult == 1"
v-model=
"selectFollowForm.orderTime"
v-model=
"selectFollowForm.orderTime"
...
@@ -56,7 +56,16 @@
...
@@ -56,7 +56,16 @@
:style=
"{ height: '500px' }"
:style=
"{ height: '500px' }"
@
select=
"selectDate"
@
select=
"selectDate"
/>
/>
<van-datetime-picker
type=
"time"
:default-time=
"defaultTime"
v-model=
"defaultTime"
v-show=
"tabIndex"
@
change=
"confirmTime"
:min-hour=
"minHour"
:show-toolbar=
"false"
/>
<van-datetime-picker
type=
"time"
:default-time=
"defaultTime"
v-model=
"defaultTime"
v-show=
"tabIndex"
@
change=
"confirmTime"
:min-hour=
"minHour"
:min-minute=
"minMinute"
:show-toolbar=
"false"
/>
</div>
</div>
</van-cell-group>
</van-cell-group>
</van-form>
</van-form>
...
@@ -108,10 +117,11 @@ export default {
...
@@ -108,10 +117,11 @@ export default {
timeNow
:
''
,
timeNow
:
''
,
// 时间标签可选最小时间
// 时间标签可选最小时间
minHour
:
''
,
minHour
:
''
,
minMinute
:
''
,
// 默认日期
// 默认日期
defaultDate
:
''
,
defaultDate
:
''
,
// 默认时间
// 默认时间
defaultTime
:
''
,
defaultTime
:
''
}
}
},
},
props
:
{
props
:
{
...
@@ -172,12 +182,15 @@ export default {
...
@@ -172,12 +182,15 @@ export default {
cancel
()
{
cancel
()
{
this
.
initFormData
()
this
.
initFormData
()
},
},
clickOverlay
()
{
this
.
initFormData
()
},
// 提交按钮
// 提交按钮
submit
()
{
submit
()
{
let
params
=
{
let
params
=
{
followResult
:
this
.
selectFollowForm
.
followResult
,
followResult
:
this
.
selectFollowForm
.
followResult
,
followMark
:
this
.
selectFollowForm
.
followMark
,
followMark
:
this
.
selectFollowForm
.
followMark
,
followFlag
:
this
.
selectFollowForm
.
checked
?
1
:
0
,
followFlag
:
this
.
selectFollowForm
.
checked
?
0
:
1
,
activityId
:
this
.
activityId
,
activityId
:
this
.
activityId
,
staffId
:
this
.
staffId
,
staffId
:
this
.
staffId
,
groupId
:
this
.
groupId
,
groupId
:
this
.
groupId
,
...
@@ -221,6 +234,7 @@ export default {
...
@@ -221,6 +234,7 @@ export default {
},
},
// 日期格式转化
// 日期格式转化
formatterDate
(
val
,
type
)
{
formatterDate
(
val
,
type
)
{
const
dateNow
=
new
Date
(
new
Date
().
getTime
()
+
(
parseInt
(
new
Date
().
getTimezoneOffset
()
/
60
)
+
8
)
*
3600
*
1000
)
let
date
=
new
Date
(
val
)
let
date
=
new
Date
(
val
)
let
y
=
date
.
getFullYear
()
let
y
=
date
.
getFullYear
()
let
m
=
date
.
getMonth
()
+
1
let
m
=
date
.
getMonth
()
+
1
...
@@ -228,19 +242,23 @@ export default {
...
@@ -228,19 +242,23 @@ export default {
let
h
=
date
.
getHours
()
let
h
=
date
.
getHours
()
let
h1
=
h
<
10
?
'0'
+
h
:
h
let
h1
=
h
<
10
?
'0'
+
h
:
h
let
d
=
date
.
getDate
()
let
d
=
date
.
getDate
()
let
s
=
date
.
getMinutes
()
<
10
?
'0'
+
date
.
getMinutes
()
:
date
.
getMinutes
()
d
=
d
<
10
?
'0'
+
d
:
d
d
=
d
<
10
?
'0'
+
d
:
d
const
time
=
y
+
'-'
+
m
+
'-'
+
d
const
time
=
y
+
'-'
+
m
+
'-'
+
d
this
.
datePickList
[
0
].
date
=
time
this
.
datePickList
[
0
].
date
=
time
//初始化当天的最小时分
if
(
!
type
)
{
if
(
!
type
)
{
this
.
dayNow
=
time
this
.
dayNow
=
time
this
.
timeNow
=
h1
+
1
this
.
timeNow
=
h1
}
}
if
(
this
.
dayNow
==
time
)
{
if
(
this
.
dayNow
==
time
)
{
this
.
datePickList
[
1
].
date
=
this
.
timeNow
+
':00'
this
.
minMinute
=
dateNow
.
getMinutes
()
<
10
?
'0'
+
dateNow
.
getMinutes
()
:
dateNow
.
getMinutes
()
this
.
datePickList
[
1
].
date
=
this
.
timeNow
+
':'
+
this
.
minMinute
this
.
minHour
=
this
.
timeNow
this
.
minHour
=
this
.
timeNow
return
return
}
}
this
.
minHour
=
''
this
.
minHour
=
''
this
.
minMinute
=
''
}
}
}
}
}
}
...
...
src/views/solicit/follow.vue
View file @
87df3ff
...
@@ -10,11 +10,9 @@
...
@@ -10,11 +10,9 @@
</div>
</div>
<tab-customer
:list=
"['企微营销', '电话招揽']"
@
change=
"changeFollow"
:index=
"follewIndex"
>
<tab-customer
:list=
"['企微营销', '电话招揽']"
@
change=
"changeFollow"
:index=
"follewIndex"
>
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
<scroll-view
class=
"content"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
>
<
template
<
template
v-if=
"solicitationFollowData.weComMarketingList && solicitationFollowData.weComMarketingList.length > 0"
>
v-if=
"solicitationFollowData.weComMarketingList && solicitationFollowData.weComMarketingList.length > 0"
>
<div
class=
"follow-content"
>
<div
class=
"follow-content"
>
<div
class=
"follow-content-item m-b-12"
v-for=
"(item, index) in solicitationFollowData.weComMarketingList"
<div
class=
"follow-content-item m-b-12"
v-for=
"(item, index) in solicitationFollowData.weComMarketingList"
:key=
"index"
>
:key=
"index"
>
<div
class=
"follow-content-item-top"
>
<div
class=
"follow-content-item-top"
>
<div
class=
"font-16 color-3 fw5 text-hide"
>
{{
item
.
groupName
}}
</div>
<div
class=
"font-16 color-3 fw5 text-hide"
>
{{
item
.
groupName
}}
</div>
<div
class=
"m-t-8 flex-between fw7"
>
<div
class=
"m-t-8 flex-between fw7"
>
...
@@ -127,7 +125,8 @@ export default {
...
@@ -127,7 +125,8 @@ export default {
.follow-statistics
{
.follow-statistics
{
background
:
#fff
;
background
:
#fff
;
height
:
82px
;
height
:
82px
;
box-shadow
:
0px
3px
10px
0px
rgba
(
223
,
228
,
234
,
0.81
);
border-radius
:
4px
;
&-single
{
&-single
{
padding
:
12px
0
;
padding
:
12px
0
;
width
:
33.3%
;
width
:
33.3%
;
...
...
src/views/solicit/overview.vue
View file @
87df3ff
...
@@ -155,7 +155,7 @@ export default {
...
@@ -155,7 +155,7 @@ export default {
]
]
this
.
chart
.
centerData
=
{
this
.
chart
.
centerData
=
{
text
:
'达成率'
,
text
:
'达成率'
,
rate
:
overviewInfo
.
followedUpPercent
rate
:
overviewInfo
.
followedUpPercent
?
(
overviewInfo
.
followedUpPercent
*
100
)
+
'%'
:
0
}
}
overviewInfo
.
customerGroupList
.
length
>
0
&&
overviewInfo
.
customerGroupList
.
length
>
0
&&
overviewInfo
.
customerGroupList
.
forEach
(
item
=>
{
overviewInfo
.
customerGroupList
.
forEach
(
item
=>
{
...
@@ -173,7 +173,8 @@ export default {
...
@@ -173,7 +173,8 @@ export default {
.overview-container
{
.overview-container
{
.overview-wrap
{
.overview-wrap
{
background
:
#fff
;
background
:
#fff
;
box-shadow
:
0px
3px
10px
0px
rgba
(
223
,
228
,
234
,
0.81
);
border-radius
:
4px
;
.overview-content
{
.overview-content
{
height
:
160px
;
height
:
160px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
...
...
src/views/solicit/succeed.vue
View file @
87df3ff
...
@@ -195,6 +195,8 @@ export default {
...
@@ -195,6 +195,8 @@ export default {
padding
:
12px
;
padding
:
12px
;
.succeed-wrap
{
.succeed-wrap
{
background
:
#fff
;
background
:
#fff
;
box-shadow
:
0px
3px
10px
0px
rgba
(
223
,
228
,
234
,
0.81
);
border-radius
:
4px
;
.title-info
{
.title-info
{
position
:
relative
;
position
:
relative
;
}
}
...
...
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