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
9e2302ef
Commit
9e2302ef
authored
Jul 07, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
移交修改参数,公海池加上批量移交
parent
42151158
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
10 deletions
+17
-10
index.vue
src/views/ecw/customerConfirm/index.vue
+3
-4
index.vue
src/views/ecw/customerToBeAssigned/index.vue
+1
-1
index.vue
src/views/ecw/oceanCustomer/index.vue
+13
-5
No files found.
src/views/ecw/customerConfirm/index.vue
View file @
9e2302ef
...
@@ -435,7 +435,7 @@ export default {
...
@@ -435,7 +435,7 @@ export default {
/** 表单重置 */
/** 表单重置 */
resetHandOverForm
()
{
resetHandOverForm
()
{
this
.
form
=
{
this
.
form
=
{
customerId
:
undefined
,
customerId
List
:
undefined
,
customerServiceId
:
undefined
customerServiceId
:
undefined
};
};
this
.
resetForm
(
"
handOverForm
"
);
this
.
resetForm
(
"
handOverForm
"
);
...
@@ -482,9 +482,8 @@ export default {
...
@@ -482,9 +482,8 @@ export default {
/** 修改按钮操作 */
/** 修改按钮操作 */
handOver
(
row
)
{
handOver
(
row
)
{
this
.
resetHandOverForm
();
this
.
resetHandOverForm
();
this
.
openHandOver
=
true
;
this
.
openHandOver
=
true
;
this
.
handOverForm
.
customerId
=
row
.
id
;
this
.
handOverForm
.
customerId
List
=
[
row
.
id
]
;
},
},
/** 提交按钮 */
/** 提交按钮 */
...
@@ -548,7 +547,7 @@ export default {
...
@@ -548,7 +547,7 @@ export default {
this
.
openHandOver
=
false
;
this
.
openHandOver
=
false
;
this
.
handOverForm
=
{
this
.
handOverForm
=
{
customerId
:
undefined
,
customerId
:
undefined
,
customer
ServiceId
:
undefined
customer
IdList
:
undefined
};
};
},
},
...
...
src/views/ecw/customerToBeAssigned/index.vue
View file @
9e2302ef
...
@@ -336,7 +336,7 @@ export default {
...
@@ -336,7 +336,7 @@ export default {
}
}
handOverCustomer
({
handOverCustomer
({
customerServiceId
:
this
.
service
,
customerServiceId
:
this
.
service
,
customerId
:
this
.
transferData
.
id
customerId
List
:[
this
.
transferData
.
id
]
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
transferShow
=
false
;
this
.
transferShow
=
false
;
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
9e2302ef
...
@@ -59,13 +59,14 @@
...
@@ -59,13 +59,14 @@
</el-col>
</el-col>
<el-col
:span=
"1.5"
>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"batchHandover"
<el-button
type=
"primary"
size=
"mini"
@
click=
"batchHandover"
:disabled=
"multipleSelection.length === 0"
>
批量移交
</el-button>
>
批量移交
</el-button>
</el-col>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
</el-row>
<!-- 列表 -->
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
<el-table-column
type=
"selection"
type=
"selection"
width=
"55"
>
width=
"55"
>
...
@@ -118,7 +119,8 @@
...
@@ -118,7 +119,8 @@
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"transferShow = false"
>
取 消
</el-button>
<el-button
@
click=
"transferShow = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"transferFn"
>
确 定
</el-button>
<el-button
type=
"primary"
v-if=
"isBatch"
@
click=
"transferFn(multipleSelection.map(item => item.id))"
>
确 定
</el-button>
<el-button
type=
"primary"
v-else
@
click=
"transferFn([transferData.id])"
>
确 定
</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
<!-- 分页组件 -->
<!-- 分页组件 -->
...
@@ -189,6 +191,8 @@ export default {
...
@@ -189,6 +191,8 @@ export default {
service
:
undefined
,
//客服
service
:
undefined
,
//客服
transferData
:
undefined
,
//移交数据
transferData
:
undefined
,
//移交数据
transferShow
:
false
,
transferShow
:
false
,
multipleSelection
:[],
isBatch
:
false
,
};
};
},
},
created
()
{
created
()
{
...
@@ -348,6 +352,8 @@ export default {
...
@@ -348,6 +352,8 @@ export default {
this
.
service
=
row
.
customerService
this
.
service
=
row
.
customerService
this
.
transferData
=
row
;
this
.
transferData
=
row
;
this
.
transferShow
=
true
;
this
.
transferShow
=
true
;
this
.
isBatch
=
false
;
},
},
customerServiceFn
(
val
){
customerServiceFn
(
val
){
if
(
this
.
customerServiceList
.
length
>
0
){
if
(
this
.
customerServiceList
.
length
>
0
){
...
@@ -357,18 +363,19 @@ export default {
...
@@ -357,18 +363,19 @@ export default {
return
''
return
''
}
}
},
},
transferFn
(){
transferFn
(
val
){
if
(
!
this
.
service
){
if
(
!
this
.
service
){
return
this
.
$message
.
warning
(
'
请选择跟进客服!
'
);
return
this
.
$message
.
warning
(
'
请选择跟进客服!
'
);
}
}
handOverCustomer
({
handOverCustomer
({
customerServiceId
:
this
.
service
,
customerServiceId
:
this
.
service
,
customerId
:
this
.
transferData
.
id
customerId
List
:
val
}).
then
(
r
=>
{
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
if
(
r
.
code
===
0
){
this
.
transferShow
=
false
;
this
.
transferShow
=
false
;
this
.
service
=
''
;
this
.
service
=
''
;
this
.
getList
();
this
.
getList
();
this
.
multipleSelection
=
[];
this
.
$message
.
success
(
'
移交成功!
'
);
this
.
$message
.
success
(
'
移交成功!
'
);
}
}
})
})
...
@@ -397,9 +404,10 @@ export default {
...
@@ -397,9 +404,10 @@ export default {
},
},
batchHandover
(){
batchHandover
(){
this
.
transferShow
=
true
;
this
.
transferShow
=
true
;
this
.
isBatch
=
true
},
},
handleSelectionChange
(
val
){
handleSelectionChange
(
val
){
console
.
log
(
val
)
;
this
.
multipleSelection
=
val
;
}
}
}
}
};
};
...
...
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