exportExcel() { axios({ url: ‘/api/export’, method: ‘GET’, responseType: ‘blob’ }).then((response) = { const url = window.URL.createObjectURL(new Blob([response.data])); const link = document.createElement(‘a’); link.href = url; link.setAttribute(‘download’, “Hareket_” + moment(moment.now()).format(“DD_MM_YYYY_HH_mm_ss”) + ‘.xlsx’); document.body.appendChild(link); link.click(); }).catch((error) = { this.handleError(error) });}