Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cloud-platform-ui
Project
Project
Details
Activity
Releases
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
youjj
cloud-platform-ui
Commits
a9819ebf
Commit
a9819ebf
authored
Nov 01, 2019
by
guoyou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员订单管理兼容ie
parent
3184fd61
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
index.vue
src/views/order/memberOrderInfo/index.vue
+2
-1
No files found.
src/views/order/memberOrderInfo/index.vue
View file @
a9819ebf
...
@@ -534,13 +534,14 @@ export default {
...
@@ -534,13 +534,14 @@ export default {
},
},
excel
()
{
excel
()
{
this
.
listQuery
.
isExport
=
true
;
this
.
listQuery
.
isExport
=
true
;
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
var
u
=
navigator
.
userAgent
,
app
=
navigator
.
appVersion
;
orderMemberExcel
(
this
.
listQuery
,{
responseType
:
'arraybuffer'
}).
then
(
res
=>
{
orderMemberExcel
(
this
.
listQuery
,{
responseType
:
'arraybuffer'
}).
then
(
res
=>
{
this
.
listQuery
.
isExport
=
false
;
this
.
listQuery
.
isExport
=
false
;
const
content
=
res
const
content
=
res
const
blob
=
new
Blob
([
content
],
{
type
:
"application/vnd.ms-excel"
})
const
blob
=
new
Blob
([
content
],
{
type
:
"application/vnd.ms-excel"
})
const
fileName
=
this
.
timestamp
(
new
Date
())
+
'会员订单列表.xlsx'
const
fileName
=
this
.
timestamp
(
new
Date
())
+
'会员订单列表.xlsx'
if
(
u
.
indexOf
(
'
Trident
'
)
>
-
1
){
if
(
u
.
indexOf
(
'
Edge
'
)
>
-
1
){
window
.
navigator
.
msSaveBlob
(
blob
,
fileName
)
window
.
navigator
.
msSaveBlob
(
blob
,
fileName
)
console
.
log
(
'ie'
);
console
.
log
(
'ie'
);
}
else
{
}
else
{
...
...
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