|
|
@ -232,6 +232,7 @@ |
|
|
|
import mixinViewModule from '@/mixins/view-module' |
|
|
|
import AddOrUpdate from './regist' |
|
|
|
import InfoDetail from './epidemicreportuserinfoDetail' |
|
|
|
import qs from 'qs' |
|
|
|
import Cookies from 'js-cookie' |
|
|
|
export default { |
|
|
|
mixins: [mixinViewModule], |
|
|
@ -377,12 +378,11 @@ export default { |
|
|
|
cancelButtonText: '取消', |
|
|
|
type: 'warning' |
|
|
|
}).then(() => { |
|
|
|
this.exportHandle() |
|
|
|
// var params = qs.stringify({ |
|
|
|
// 'token': Cookies.get('token'), |
|
|
|
// ...this.dataForm |
|
|
|
// }) |
|
|
|
// window.location.href = `${window.SITE_CONFIG['apiURL']}${this.mixinViewModuleOptions.exportErrorInfoURL}?${params}` |
|
|
|
var params = qs.stringify({ |
|
|
|
'token': Cookies.get('token'), |
|
|
|
...this.dataForm |
|
|
|
}) |
|
|
|
window.location.href = `${window.SITE_CONFIG['apiURL']}${this.mixinViewModuleOptions.exportErrorInfoURL}?${params}` |
|
|
|
this.$message({ |
|
|
|
type: 'success', |
|
|
|
message: '下载成功' |
|
|
|