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
485b39e3
Commit
485b39e3
authored
Aug 06, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
分配移交客服
parent
59042b75
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
88 additions
and
9 deletions
+88
-9
customer.js
src/api/ecw/customer.js
+14
-1
detail.vue
src/views/bpm/processInstance/detail.vue
+6
-0
customer-handover-details.vue
...ews/ecw/customer/components/customer-handover-details.vue
+47
-0
transferCustomer.vue
src/views/ecw/customer/transferCustomer.vue
+12
-3
index.vue
src/views/ecw/customerConfirm/index.vue
+5
-2
index.vue
src/views/ecw/customerToBeAssigned/index.vue
+4
-3
No files found.
src/api/ecw/customer.js
View file @
485b39e3
...
@@ -191,7 +191,20 @@ export function handOverCustomer(data) {
...
@@ -191,7 +191,20 @@ export function handOverCustomer(data) {
data
:
data
,
data
:
data
,
})
})
}
}
export
function
handoverApproval
(
data
)
{
return
request
({
url
:
'
/ecw/customer/handover/approval
'
,
method
:
'
post
'
,
data
:
data
,
})
}
export
function
handoverApprovalDetails
(
params
){
return
request
({
url
:
'
/ecw/customer/handover/approval
'
,
method
:
'
get
'
,
params
})
}
// 公海池客户
// 公海池客户
export
function
getPublicList
(
query
)
{
export
function
getPublicList
(
query
)
{
return
request
({
return
request
({
...
...
src/views/bpm/processInstance/detail.vue
View file @
485b39e3
...
@@ -408,6 +408,12 @@ export default {
...
@@ -408,6 +408,12 @@ export default {
component
:
()
=>
import
(
'
@/views/ecw/box/components/batchMakeUpDetail.vue
'
),
component
:
()
=>
import
(
'
@/views/ecw/box/components/batchMakeUpDetail.vue
'
),
processId
:
this
.
processInstance
.
businessKey
,
processId
:
this
.
processInstance
.
businessKey
,
type
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
type
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
},
// 可获移交详情
customer_handover_details
:{
component
:
()
=>
import
(
'
@/views/ecw/customer/components/customer-handover-details.vue
'
),
processId
:
this
.
processInstance
.
businessKey
,
type
:
this
.
processInstance
.
processDefinition
?.
formCustomViewPath
}
}
}
}
console
.
log
(
'
formCustomViewPath
'
,
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
())
console
.
log
(
'
formCustomViewPath
'
,
this
.
processInstance
.
processDefinition
.
formCustomViewPath
.
trim
())
...
...
src/views/ecw/customer/components/customer-handover-details.vue
0 → 100644
View file @
485b39e3
<
template
>
<div>
<div
v-for=
"(item, index) in info.customerHandoverDetailDtoList"
>
<div>
客户编号
{{
index
+
1
}}
:
{{
item
.
customerNumber
}}
客户名称
{{
index
+
1
}}
:
{{
item
.
customerName
}}
</div>
<div>
就客户经理
{{
index
+
1
}}
:
{{
item
.
oldCustomerServiceName
||
'
-
'
}}
</div>
</div>
<div>
申请理由:
{{
info
.
reason
}}
</div>
</div>
</
template
>
<
script
>
import
{
handoverApprovalDetails
}
from
"
@/api/ecw/customer
"
;
export
default
{
name
:
"
customer-handover-details
"
,
props
:
{
processId
:
{
type
:
[
Number
,
String
],
},
type
:
String
,
},
data
(){
return
{
info
:{
customerHandoverDetailDtoList
:[]
}
}
},
mounted
()
{
this
.
handoverApprovalFn
()
},
methods
:{
handoverApprovalFn
(){
handoverApprovalDetails
({
approvalId
:
this
.
processId
}).
then
(
r
=>
{
console
.
log
(
r
,
'
rrr
'
)
this
.
info
=
r
.
data
})
}
}
}
</
script
>
<
style
scoped
>
</
style
>
src/views/ecw/customer/transferCustomer.vue
View file @
485b39e3
...
@@ -8,6 +8,10 @@
...
@@ -8,6 +8,10 @@
<el-select
filterable
v-model=
"service"
>
<el-select
filterable
v-model=
"service"
>
<el-option
v-for=
"(item,index) in customerServiceList"
:key=
"index"
:label=
"item.nickname"
:value=
"item.id"
></el-option>
<el-option
v-for=
"(item,index) in customerServiceList"
:key=
"index"
:label=
"item.nickname"
:value=
"item.id"
></el-option>
</el-select>
</el-select>
<div
style=
"display: flex;margin-top: 20px;"
>
<label
style=
"width:100px;"
>
申请理由
</label>
<el-input
v-model=
"textarea"
type=
"textarea"
></el-input>
</div>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"$emit('update:show',false)"
>
{{
$t
(
'
取 消
'
)
}}
</el-button>
<el-button
@
click=
"$emit('update:show',false)"
>
{{
$t
(
'
取 消
'
)
}}
</el-button>
...
@@ -18,7 +22,7 @@
...
@@ -18,7 +22,7 @@
<
script
>
<
script
>
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
handOverCustomer
}
from
"
@/api/ecw/customer
"
;
import
{
hand
overApproval
,
hand
OverCustomer
}
from
"
@/api/ecw/customer
"
;
export
default
{
export
default
{
name
:
"
transferCustomer
"
,
name
:
"
transferCustomer
"
,
...
@@ -37,6 +41,7 @@ export default {
...
@@ -37,6 +41,7 @@ export default {
},
},
computed
:{
computed
:{
getCustomerIds
(){
getCustomerIds
(){
console
.
log
(
this
.
customerIds
,
'
this.customerIds
'
)
if
(
this
.
customerIds
instanceof
Array
)
return
this
.
customerIds
if
(
this
.
customerIds
instanceof
Array
)
return
this
.
customerIds
else
return
this
.
customerIds
.
split
(
'
,
'
)
else
return
this
.
customerIds
.
split
(
'
,
'
)
}
}
...
@@ -45,6 +50,7 @@ export default {
...
@@ -45,6 +50,7 @@ export default {
return
{
return
{
customerServiceList
:[],
customerServiceList
:[],
service
:
''
,
service
:
''
,
textarea
:
''
}
}
},
},
methods
:{
methods
:{
...
@@ -52,13 +58,16 @@ export default {
...
@@ -52,13 +58,16 @@ export default {
if
(
!
this
.
service
){
if
(
!
this
.
service
){
return
this
.
$message
.
warning
(
this
.
$t
(
'
请选择客户经理!
'
));
return
this
.
$message
.
warning
(
this
.
$t
(
'
请选择客户经理!
'
));
}
}
hand
OverCustomer
({
hand
overApproval
({
customerServiceId
:
this
.
service
,
customerServiceId
:
this
.
service
,
customerIdList
:
this
.
getCustomerIds
customerIdList
:
this
.
getCustomerIds
,
reason
:
this
.
textarea
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
$emit
(
'
update:show
'
,
false
)
this
.
$emit
(
'
update:show
'
,
false
)
this
.
$emit
(
'
update:customerIds
'
,[])
this
.
$emit
(
'
update:customerIds
'
,[])
this
.
service
=
''
;
this
.
textarea
=
''
;
this
.
$message
.
success
(
this
.
$t
(
'
用户批量转移成功!
'
))
this
.
$message
.
success
(
this
.
$t
(
'
用户批量转移成功!
'
))
}
}
})
})
...
...
src/views/ecw/customerConfirm/index.vue
View file @
485b39e3
...
@@ -344,7 +344,7 @@
...
@@ -344,7 +344,7 @@
<el-button
@
click=
"cancelHandOver"
>
{{$t('取 消')}}
</el-button>
<el-button
@
click=
"cancelHandOver"
>
{{$t('取 消')}}
</el-button>
</div>
</div>
</el-dialog>
</el-dialog>
<transfer-customer
:show.sync=
"openHandOver"
:customer-ids.sync=
"handOverForm.customerIdList"
></transfer-customer>
</div>
</div>
</template>
</template>
...
@@ -363,6 +363,7 @@ import {CommonStatusEnum} from '@/utils/constants'
...
@@ -363,6 +363,7 @@ import {CommonStatusEnum} from '@/utils/constants'
import
{
handOverCustomer
}
from
"
../../../api/ecw/customer
"
;
import
{
handOverCustomer
}
from
"
../../../api/ecw/customer
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
getCountryListAll
}
from
"
@/api/ecw/country
"
;
import
{
getCreditPage
}
from
"
@/api/customer/credit
"
;
import
{
getCreditPage
}
from
"
@/api/customer/credit
"
;
import
transferCustomer
from
"
@/views/ecw/customer/transferCustomer.vue
"
;
...
@@ -380,6 +381,7 @@ export default {
...
@@ -380,6 +381,7 @@ export default {
},
},
},
},
components
:
{
components
:
{
transferCustomer
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -570,8 +572,9 @@ export default {
...
@@ -570,8 +572,9 @@ export default {
},
},
/** 修改按钮操作 */
/** 修改按钮操作 */
handOver
(
row
)
{
handOver
(
row
)
{
this
.
resetHandOverForm
();
//
this.resetHandOverForm();
this
.
openHandOver
=
true
;
this
.
openHandOver
=
true
;
this
.
handOverForm
.
customerIdList
=
[
row
.
id
];
this
.
handOverForm
.
customerIdList
=
[
row
.
id
];
},
},
...
...
src/views/ecw/customerToBeAssigned/index.vue
View file @
485b39e3
...
@@ -411,9 +411,10 @@ export default {
...
@@ -411,9 +411,10 @@ export default {
},
},
//分配客服
//分配客服
distribution
(
row
){
distribution
(
row
){
this
.
service
=
row
.
customerService
;
// this.service = row.customerService;
this
.
transferData
=
row
;
// this.transferData = row;
this
.
transferShow
=
true
;
this
.
selectCustomerList
=
[
row
.
id
]
this
.
batchTransferShow
=
true
;
},
},
transferFn
(){
transferFn
(){
if
(
!
this
.
service
){
if
(
!
this
.
service
){
...
...
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