系统名称
This commit is contained in:
parent
abf7a67d07
commit
88dc73abdc
|
|
@ -277,13 +277,14 @@ export default {
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
||||||
downloadExcel1() {
|
downloadExcel1() {
|
||||||
this.$http({
|
this.axios({
|
||||||
method: 'get',
|
method: 'get',
|
||||||
url: '/scenario/battleConsume/downloadExcel1',
|
url: '/downloadExcel1',
|
||||||
responseType: 'blob'
|
responseType: 'blob'
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
const blob = new Blob([res.data], {
|
const blob = new Blob([res], {
|
||||||
type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet'
|
||||||
})
|
})
|
||||||
const link = document.createElement('a')
|
const link = document.createElement('a')
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user