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
d7f9decb
Commit
d7f9decb
authored
Oct 07, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://gitlab.jdshangmen.com/jiedao-app/jiedao-app-operator
into dev
parents
32f9f271
b0924b14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
5 deletions
+24
-5
customer.js
src/api/ecw/customer.js
+16
-0
index.vue
src/views/ecw/customer/index.vue
+8
-5
No files found.
src/api/ecw/customer.js
View file @
d7f9decb
...
@@ -470,3 +470,19 @@ export function waitDistributionExportExcel(){
...
@@ -470,3 +470,19 @@ export function waitDistributionExportExcel(){
method
:
'
get
'
method
:
'
get
'
})
})
}
}
//导出潜在客户
export
function
potentialExportExcel
(){
return
request
({
url
:
'
ecw/customer/potential-export-excel
'
,
method
:
'
get
'
})
}
// 导出部门客户
export
function
deptExportExcel
(){
return
request
({
url
:
'
ecw/customer/dept-export-excel
'
,
method
:
'
get
'
})
}
src/views/ecw/customer/index.vue
View file @
d7f9decb
...
@@ -543,7 +543,7 @@ import {
...
@@ -543,7 +543,7 @@ import {
getCustomerDeptPage
,
getCustomerDeptPage
,
changeCustomerAir
,
changeCustomerAir
,
getPotential
,
getPotential
,
setChangeCustomerFcl
setChangeCustomerFcl
,
potentialExportExcel
,
deptExportExcel
}
from
"
@/api/ecw/customer
"
;
}
from
"
@/api/ecw/customer
"
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
getDictDatas
,
DICT_TYPE
}
from
'
@/utils/dict
'
;
import
{
CommonStatusEnum
}
from
'
@/utils/constants
'
import
{
CommonStatusEnum
}
from
'
@/utils/constants
'
...
@@ -555,7 +555,8 @@ import CustomerFollowList from "@/components/CustomerFollowList"
...
@@ -555,7 +555,8 @@ import CustomerFollowList from "@/components/CustomerFollowList"
import
customerComplaints
from
"
@/components/customerComplaints
"
import
customerComplaints
from
"
@/components/customerComplaints
"
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
listServiceUser
}
from
"
@/api/system/user
"
;
import
{
getCountryListAll
}
from
'
@/api/ecw/country
'
import
{
getCountryListAll
}
from
'
@/api/ecw/country
'
import
{
customerExportExcel
,
getCreditPage
}
from
"
@/api/customer/credit
"
;
import
{
getCreditPage
}
from
"
@/api/customer/credit
"
;
import
{
customerExportExcel
}
from
"
@/api/ecw/customer
"
;
import
transferCustomer
from
"
@/views/ecw/customer/transferCustomer
"
;
import
transferCustomer
from
"
@/views/ecw/customer/transferCustomer
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
Template
from
"
@/views/cms/template/index.vue
"
;
import
AddPotentialCustom
from
"
@/views/ecw/customer/addPotentialCustom.vue
"
;
import
AddPotentialCustom
from
"
@/views/ecw/customer/addPotentialCustom.vue
"
;
...
@@ -782,7 +783,7 @@ export default {
...
@@ -782,7 +783,7 @@ export default {
},
},
/** 导出按钮操作 */
/** 导出按钮操作 */
handleExport
()
{
handleExport
()
{
let
func
=
null
let
func
=
null
;
let
title
=
''
let
title
=
''
switch
(
this
.
$route
.
path
){
switch
(
this
.
$route
.
path
){
case
'
/customer/customer
'
:
case
'
/customer/customer
'
:
...
@@ -790,10 +791,12 @@ export default {
...
@@ -790,10 +791,12 @@ export default {
title
=
'
是否确认导出所有客户数据项?
'
title
=
'
是否确认导出所有客户数据项?
'
break
;
break
;
case
'
/customer/department-customers
'
:
case
'
/customer/department-customers
'
:
// getCustomerDeptPage(params).then(this.setData);
func
=
deptExportExcel
title
=
'
是否确认导出部门客户数据项?
'
break
;
break
;
case
'
/customer/potential
'
:
case
'
/customer/potential
'
:
// getPotential(params).then(this.setData)
func
=
potentialExportExcel
title
=
'
是否确认导出潜在客户数据项?
'
break
;
break
;
}
}
...
...
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