| | |
| | | //隐患举报详情
|
| | | detailsHiddenInfo: (params) =>
|
| | | axios.get('/secure/hiddendanger/selectInfo',{params}),
|
| | | //隐患举报导出
|
| | | exportHiddenFiles:params=>
|
| | | axios({
|
| | | method: 'post',
|
| | | url: '/secure/hiddendanger/export',
|
| | | responseType: 'blob',
|
| | | data: params
|
| | | }),
|
| | | } |
| | |
| | | params.endTime = this.search.time&&this.search.time[1] |
| | | delete params.time |
| | | this.functionLoading(); |
| | | this.$api.Analyse.exportAuxilliaryCost(params).then(res => { |
| | | this.$api.Safety.exportHiddenFiles(params).then(res => { |
| | | downFiles(res, '举报信息', 'xls') |
| | | this.loadingView.close() |
| | | }) |