Browse Source

导出区分

origin/feature/monitoring
zhangyuan 4 years ago
parent
commit
b962357179
  1. 12
      src/views/modules/epidemic/epidemicuserinfo.vue

12
src/views/modules/epidemic/epidemicuserinfo.vue

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

Loading…
Cancel
Save