diff --git a/src/views/modules/shequzhili/event/eventList.vue b/src/views/modules/shequzhili/event/eventList.vue index ab954e11c..ea9a47d40 100644 --- a/src/views/modules/shequzhili/event/eventList.vue +++ b/src/views/modules/shequzhili/event/eventList.vue @@ -545,12 +545,14 @@ export default { let url = '/governance/icEvent/downloadTemplate'; let params = {}; await this.$http({ - method: 'POST', + method: 'GET', url, responseType: 'blob', data: params }) .then(res => { + console.log(res,"res"); + if (res.headers['content-disposition']) { let fileName = window.decodeURI(res.headers['content-disposition'].split(';')[1].split('=')[1]); let blob = new Blob([res.data], { diff --git a/src/views/modules/volunteer/Dynamicmanagement/index.vue b/src/views/modules/volunteer/Dynamicmanagement/index.vue index 03af8f9e5..d404fa20f 100644 --- a/src/views/modules/volunteer/Dynamicmanagement/index.vue +++ b/src/views/modules/volunteer/Dynamicmanagement/index.vue @@ -3,7 +3,7 @@