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
1e6a36c0
Commit
1e6a36c0
authored
Jul 06, 2022
by
dcy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
公海池客户捞取
parent
4241ee83
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
7 deletions
+22
-7
customer.js
src/api/ecw/customer.js
+6
-5
index.vue
src/views/ecw/oceanCustomer/index.vue
+16
-2
No files found.
src/api/ecw/customer.js
View file @
1e6a36c0
...
...
@@ -103,7 +103,10 @@ export function handOverCustomer(data) {
return
request
({
url
:
'
/ecw/customer/handOver
'
,
method
:
'
put
'
,
data
:
data
data
:
data
,
headers
:
{
'
Content-Type
'
:
'
application/x-www-form-urlencoded; charset=UTF-8
'
}
})
}
...
...
@@ -119,10 +122,8 @@ export function getPublicList(query) {
//捞取
export
function
setFishing
(
data
){
return
request
({
url
:
'
/ecw/customer/catch-open-sea-customer
'
,
url
:
'
/ecw/customer/catch-open-sea-customer
?id=
'
+
data
.
id
,
method
:
'
put
'
,
data
:
data
})
}
//待分配 客户列表
...
...
src/views/ecw/oceanCustomer/index.vue
View file @
1e6a36c0
...
...
@@ -56,12 +56,20 @@
<el-col
:span=
"1.5"
>
<el-button
type=
"warning"
plain
icon=
"el-icon-download"
size=
"mini"
@
click=
"handleExport"
:loading=
"exportLoading"
v-hasPermi=
"['ecw:customer:export']"
>
导出
</el-button>
</el-col>
<el-col
:span=
"1.5"
>
<el-button
type=
"primary"
size=
"mini"
@
click=
"batchHandover"
>
批量移交
</el-button>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
</el-row>
<!-- 列表 -->
<el-table
v-loading=
"loading"
:data=
"list"
>
<el-table
v-loading=
"loading"
:data=
"list"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
type=
"selection"
width=
"55"
>
</el-table-column>
<el-table-column
label=
"客户编号"
align=
"center"
prop=
"number"
/>
<el-table-column
label=
"客户名称"
align=
"center"
prop=
"name"
/>
<el-table-column
label=
"客户等级"
align=
"center"
prop=
"level"
>
...
...
@@ -371,7 +379,7 @@ export default {
cancelButtonText
:
'
取消
'
,
type
:
'
warning
'
}).
then
(()
=>
{
setFishing
({
id
:
row
.
id
}
).
then
(
r
=>
{
setFishing
({
id
:
row
.
id
}).
then
(
r
=>
{
if
(
r
.
code
===
0
){
this
.
getList
()
this
.
$message
({
...
...
@@ -386,6 +394,12 @@ export default {
message
:
'
已取消捞取
'
});
});
},
batchHandover
(){
this
.
transferShow
=
true
;
},
handleSelectionChange
(
val
){
console
.
log
(
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