Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
dsk-cr20g
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
Administrator
dsk-cr20g
Commits
bb3fcb8d
Commit
bb3fcb8d
authored
Sep 15, 2023
by
danfuman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
54681fb2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
groupAccount.js
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
+8
-0
performance.vue
...i/src/views/detail/groupAccount/component/performance.vue
+15
-2
No files found.
dsk-operate-ui/src/api/detail/groupAccount/groupAccount.js
View file @
bb3fcb8d
...
@@ -76,6 +76,14 @@ export function bidPage(data) {
...
@@ -76,6 +76,14 @@ export function bidPage(data) {
data
:
data
data
:
data
})
})
}
}
// 集团业绩导出
export
function
exportWinBid
(
data
)
{
return
request
({
url
:
'/combine/info/export/win/bid'
,
method
:
'post'
,
data
:
data
})
}
// 集团招标导出
// 集团招标导出
export
function
exportBid
(
data
)
{
export
function
exportBid
(
data
)
{
return
request
({
return
request
({
...
...
dsk-operate-ui/src/views/detail/groupAccount/component/performance.vue
View file @
bb3fcb8d
...
@@ -53,7 +53,7 @@
...
@@ -53,7 +53,7 @@
<
script
>
<
script
>
import
mixin
from
'../../party-a/mixins/mixin'
import
mixin
from
'../../party-a/mixins/mixin'
import
{
businessList
}
from
'@/api/detail/groupAccount/groupAccount'
import
{
businessList
,
exportWinBid
}
from
'@/api/detail/groupAccount/groupAccount'
import
dataRegion
from
'@/assets/json/dataRegion1'
import
dataRegion
from
'@/assets/json/dataRegion1'
import
{
getDictType
}
from
'@/api/main'
import
{
getDictType
}
from
'@/api/main'
export
default
{
export
default
{
...
@@ -271,7 +271,20 @@
...
@@ -271,7 +271,20 @@
this
.
dataEXCEL
.
pageSize
=
this
.
tableDataTotal
;
this
.
dataEXCEL
.
pageSize
=
this
.
tableDataTotal
;
}
}
delete
this
.
dataEXCEL
.
pageNum
delete
this
.
dataEXCEL
.
pageNum
this
.
$download
.
exportByPost
(
'/combine/info/export/win/bid'
,
this
.
dataEXCEL
,
'集团中标.xlsx'
);
//exportWinBid
exportWinBid
(
this
.
dataEXCEL
).
then
(
res
=>
{
console
.
log
(
res
.
data
)
if
(
res
.
code
===
200
){
this
.
downloadFile
(
res
.
data
.
originalName
,
res
.
data
.
url
)
}
})
// this.$download.exportByPost('/combine/info/export/win/bid',this.dataEXCEL,'集团中标.xlsx');
},
downloadFile
(
fileName
,
fileUrl
)
{
const
link
=
document
.
createElement
(
'a'
);
link
.
href
=
fileUrl
;
link
.
setAttribute
(
'download'
,
fileName
);
link
.
click
();
},
},
}
}
}
}
...
...
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