Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
1dffdad4
Commit
1dffdad4
authored
Sep 10, 2024
by
yujinyao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
跟进默认选择当前的客户经理,下次跟进时间不能小于当前时间
parent
02c24a4c
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
40 additions
and
1715 deletions
+40
-1715
customerFollow.js
src/api/ecw/customerFollow.js
+3
-2
customerFollow.vue
src/views/ecw/customer/components/customerFollow.vue
+13
-3
edit.vue
src/views/ecw/customer/edit.vue
+2
-2
edit.vue
src/views/ecw/customer/follow/edit.vue
+0
-891
index.vue
src/views/ecw/customer/follow/index.vue
+0
-793
index.vue
src/views/ecw/customer/index.vue
+3
-0
query.vue
src/views/ecw/customer/query.vue
+16
-24
index.vue
src/views/ecw/myCustomerService/index.vue
+3
-0
No files found.
src/api/ecw/customerFollow.js
View file @
1dffdad4
...
@@ -92,10 +92,11 @@ export function editCustomerFollow(data) {
...
@@ -92,10 +92,11 @@ export function editCustomerFollow(data) {
})
})
}
}
export
function
exportCustomerFollow
()
{
export
function
exportCustomerFollow
(
params
)
{
return
request
({
return
request
({
url
:
'
/customer/followup/export-excel
'
,
url
:
'
/customer/followup/export-excel
'
,
method
:
'
get
'
method
:
'
get
'
,
params
})
})
}
}
src/views/ecw/customer/components/customerFollow.vue
View file @
1dffdad4
...
@@ -89,7 +89,7 @@
...
@@ -89,7 +89,7 @@
</el-col>
</el-col>
<el-col
:span=
"13"
>
<el-col
:span=
"13"
>
<el-form-item
:label=
"$t('下次跟进时间')"
>
<el-form-item
:label=
"$t('下次跟进时间')"
>
<el-date-picker
v-model=
"form.nextTime"
type=
"datetime"
:placeholder=
"$t('请选择')"
:disabled=
"isView"
>
<el-date-picker
v-model=
"form.nextTime"
type=
"datetime"
:placeholder=
"$t('请选择')"
:disabled=
"isView"
@
change=
"changeNextTime"
>
</el-date-picker>
</el-date-picker>
</el-form-item>
</el-form-item>
</el-col>
</el-col>
...
@@ -217,8 +217,8 @@ export default {
...
@@ -217,8 +217,8 @@ export default {
allSimplList
:
[],
allSimplList
:
[],
pickerOptions
:
{
pickerOptions
:
{
disabledDate
(
time
)
{
disabledDate
(
time
)
{
return
time
.
getTime
()
<
Date
.
now
()
return
time
.
getTime
()
<
=
Date
.
now
()
}
}
,
},
},
isEdit
:
false
,
isEdit
:
false
,
queryParams
:
{},
queryParams
:
{},
...
@@ -303,6 +303,16 @@ export default {
...
@@ -303,6 +303,16 @@ export default {
updateTime
:
new
Date
().
getTime
()
updateTime
:
new
Date
().
getTime
()
};
};
},
},
changeNextTime
(
val
)
{
if
(
val
)
{
const
curTime
=
new
Date
().
getTime
()
const
valTime
=
new
Date
(
val
).
getTime
()
if
(
curTime
>
valTime
)
{
this
.
form
.
nextTime
=
null
this
.
$modal
.
msgError
(
this
.
$t
(
"
不能小于当前时间
"
))
}
}
},
customerFollowSubmit
(
status
)
{
customerFollowSubmit
(
status
)
{
console
.
log
(
this
.
form
)
console
.
log
(
this
.
form
)
this
.
$refs
[
"
customerFollowForm
"
].
validate
(
valid
=>
{
this
.
$refs
[
"
customerFollowForm
"
].
validate
(
valid
=>
{
...
...
src/views/ecw/customer/edit.vue
View file @
1dffdad4
...
@@ -1340,11 +1340,11 @@ export default {
...
@@ -1340,11 +1340,11 @@ export default {
],
],
areaCode
:
[
areaCode
:
[
{
required
:
true
,
message
:
this
.
$t
(
"
请选择区号
"
),
trigger
:
"
change
"
},
{
required
:
true
,
message
:
this
.
$t
(
"
请选择区号
"
),
trigger
:
"
change
"
},
{
/*
{
required: true,
required: true,
trigger: "change",
trigger: "change",
validator: this.codeValidator,
validator: this.codeValidator,
},
},
*/
],
],
phoneNew
:
[
phoneNew
:
[
{
{
...
...
src/views/ecw/customer/follow/edit.vue
deleted
100644 → 0
View file @
02c24a4c
This diff is collapsed.
Click to expand it.
src/views/ecw/customer/follow/index.vue
deleted
100644 → 0
View file @
02c24a4c
This diff is collapsed.
Click to expand it.
src/views/ecw/customer/index.vue
View file @
1dffdad4
...
@@ -1374,6 +1374,7 @@
...
@@ -1374,6 +1374,7 @@
<customer-follow-list
<customer-follow-list
:customer-id=
"customerId"
:customer-id=
"customerId"
:id=
"customerId"
:id=
"customerId"
:customer-service=
"customerService"
ref=
"CustomerFollowList"
ref=
"CustomerFollowList"
v-if=
"customerFollowVisible"
v-if=
"customerFollowVisible"
></customer-follow-list>
></customer-follow-list>
...
@@ -1578,6 +1579,7 @@ export default {
...
@@ -1578,6 +1579,7 @@ export default {
customData
:
{},
customData
:
{},
currentisNew
:
false
,
currentisNew
:
false
,
userId
:
undefined
,
//lanbm 2024-05-23 add
userId
:
undefined
,
//lanbm 2024-05-23 add
customerService
:
undefined
,
customerFollowVisible
:
false
,
customerFollowVisible
:
false
,
enterOpenSeaTime
:
[],
enterOpenSeaTime
:
[],
customerServiceConfirmedTime
:
[],
customerServiceConfirmedTime
:
[],
...
@@ -1809,6 +1811,7 @@ export default {
...
@@ -1809,6 +1811,7 @@ export default {
},
},
followUp
(
row
)
{
followUp
(
row
)
{
this
.
customerId
=
row
.
id
;
this
.
customerId
=
row
.
id
;
this
.
customerService
=
row
.
customerService
;
this
.
customerFollowVisible
=
true
this
.
customerFollowVisible
=
true
this
.
$nextTick
(
_
=>
{
this
.
$nextTick
(
_
=>
{
// this.$refs.CustomerFollowList.customerFollow.dialogVisible = true;
// this.$refs.CustomerFollowList.customerFollow.dialogVisible = true;
...
...
src/views/ecw/customer/query.vue
View file @
1dffdad4
...
@@ -1333,26 +1333,29 @@ export default {
...
@@ -1333,26 +1333,29 @@ export default {
this
.
getInfoListOfferPage
()
this
.
getInfoListOfferPage
()
}
,
}
,
getCustomerFollowList
()
{
getCustomerFollowList
()
{
let
queryParams
=
{
}
if
(
this
.
followTime
&&
this
.
followTime
.
length
==
2
)
{
queryParams
.
beginFollowTime
=
this
.
followTime
[
0
]
queryParams
.
endFollowTime
=
this
.
followTime
[
0
]
}
if
(
this
.
nextTime
&&
this
.
nextTime
.
length
==
2
)
{
queryParams
.
beginNextTime
=
this
.
nextTime
[
0
]
queryParams
.
endNextTime
=
this
.
nextTime
[
1
]
}
queryParams
=
Object
.
assign
({
}
,
queryParams
,
this
.
followForm
)
getCustomerFollowList
({
getCustomerFollowList
({
...
queryParams
,
...
this
.
followForm
,
customerId
:
this
.
customerId
customerId
:
this
.
customerId
}
).
then
(
r
=>
{
}
).
then
(
r
=>
{
this
.
customerFollowList
=
r
.
data
.
list
;
this
.
customerFollowList
=
r
.
data
.
list
;
this
.
customerFollowTotal
=
r
.
data
.
total
;
this
.
customerFollowTotal
=
r
.
data
.
total
;
}
)
}
)
}
,
}
,
/** 跟进记录导出按钮操作 */
// 数据
handleExport
()
{
// 执行导出
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认导出客户跟进记录数据项?
'
)).
then
(()
=>
{
exportCustomerFollow
({
...
this
.
followForm
,
customerId
:
this
.
customerId
}
).
then
((
r
)
=>
{
this
.
$message
.
success
(
this
.
$t
(
"
已加入导出队列,请稍后在下载日志中下载
"
)
);
}
);
}
)
}
,
// 数据
getOrderStatistics
(){
getOrderStatistics
(){
orderStatistics
({
customerId
:
this
.
id
}
).
then
(
r
=>
{
orderStatistics
({
customerId
:
this
.
id
}
).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
...
@@ -1477,17 +1480,6 @@ export default {
...
@@ -1477,17 +1480,6 @@ export default {
this
.
handleQuery
()
this
.
handleQuery
()
}
)
}
)
}
,
}
,
/** 导出按钮操作 */
handleExport
()
{
// 执行导出
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认导出客户跟进记录数据项?
'
)).
then
(()
=>
{
exportCustomerFollow
().
then
((
r
)
=>
{
this
.
$message
.
success
(
this
.
$t
(
"
已加入导出队列,请稍后在下载日志中下载
"
)
);
}
);
}
)
}
,
}
}
}
}
<
/script
>
<
/script
>
src/views/ecw/myCustomerService/index.vue
View file @
1dffdad4
...
@@ -729,6 +729,7 @@
...
@@ -729,6 +729,7 @@
ref=
"customerFollowList"
ref=
"customerFollowList"
:customer-id=
"customerId"
:customer-id=
"customerId"
:id=
"customerId"
:id=
"customerId"
:customer-service=
"customerService"
v-if=
"customerFollowVisible"
v-if=
"customerFollowVisible"
></customer-follow-list>
></customer-follow-list>
<customer-complaints
<customer-complaints
...
@@ -946,6 +947,7 @@ export default {
...
@@ -946,6 +947,7 @@ export default {
selectCustomerList
:
[],
selectCustomerList
:
[],
//lanbm 2024-05-26 添加参数
//lanbm 2024-05-26 添加参数
userId
:
undefined
,
userId
:
undefined
,
customerService
:
undefined
,
customerFollowVisible
:
false
,
customerFollowVisible
:
false
,
enterOpenSeaTime
:
[],
enterOpenSeaTime
:
[],
customerServiceConfirmedTime
:
[],
customerServiceConfirmedTime
:
[],
...
@@ -1236,6 +1238,7 @@ export default {
...
@@ -1236,6 +1238,7 @@ export default {
followUp
(
row
)
{
followUp
(
row
)
{
this
.
customerId
=
row
.
id
;
this
.
customerId
=
row
.
id
;
// this.$refs["customerFollowList"].customerFollow.dialogVisible = true;
// this.$refs["customerFollowList"].customerFollow.dialogVisible = true;
this
.
customerService
=
row
.
customerService
;
this
.
customerFollowVisible
=
true
this
.
customerFollowVisible
=
true
this
.
$nextTick
(
_
=>
{
this
.
$nextTick
(
_
=>
{
this
.
$refs
[
'
customerFollowList
'
].
init
()
this
.
$refs
[
'
customerFollowList
'
].
init
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment