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
97a3df82
Commit
97a3df82
authored
Mar 13, 2023
by
huyf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出
parent
136db343
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
2 deletions
+24
-2
deptTarget.js
src/api/ecw/deptTarget.js
+20
-0
allAchievement.vue
src/views/ecw/deptTarget/allAchievement.vue
+4
-2
No files found.
src/api/ecw/deptTarget.js
View file @
97a3df82
...
...
@@ -94,3 +94,23 @@ export function exportDeptTargetExcel(query) {
responseType
:
'
blob
'
})
}
// 导出部门业绩目标设置 Excel
export
function
exportDetailExcel
(
query
)
{
return
request
({
url
:
'
/sale/dept-target/exportDetailExcel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
// 导出部门业绩目标设置 Excel
export
function
exportStatisticsExcel
(
query
)
{
return
request
({
url
:
'
/sale/dept-target/exportStatisticsExcel
'
,
method
:
'
get
'
,
params
:
query
,
responseType
:
'
blob
'
})
}
src/views/ecw/deptTarget/allAchievement.vue
View file @
97a3df82
...
...
@@ -118,6 +118,8 @@
getDeptTarget
,
getDeptTargetPage
,
exportDeptTargetExcel
,
exportDetailExcel
,
exportStatisticsExcel
,
getCreateInitData
,
getPersonTargetPage
,
allAchievementByPage
...
...
@@ -441,7 +443,7 @@
// 执行导出
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认导出所有部门业绩数据项?
'
)).
then
(()
=>
{
this
.
exportLoading
=
true
;
return
exportDe
ptTarget
Excel
(
params
);
return
exportDe
tail
Excel
(
params
);
}).
then
(
response
=>
{
this
.
$download
.
excel
(
response
,
`
${
this
.
$t
(
'
业绩明细
'
)}
.xls`
);
...
...
@@ -463,7 +465,7 @@
// 执行导出
this
.
$modal
.
confirm
(
this
.
$t
(
'
是否确认导出所有部门业绩统计?
'
)).
then
(()
=>
{
this
.
exportLoading
=
true
;
return
export
DeptTarget
Excel
(
params
);
return
export
Statistics
Excel
(
params
);
}).
then
(
response
=>
{
this
.
$download
.
excel
(
response
,
`
${
this
.
$t
(
'
业绩统计
'
)}
.xls`
);
...
...
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