var url = HomeUtils.getCurrentFullDomain() + '/api' +'/pluginAnswer/answer/ExportRecordDetailedList'+'?wsiteGuid='+ this.activityInfo.wsiteGuid
+ '&activityGuid='+this.activityInfo.activityGuid + '&activityType=' + this.activityInfo.activityType + '&memberGuid='+ this.activityInfo.memberGuid
+ '&page=' + this.exportDetail.page + '&limit=' + this.exportDetail.limit + '&startTime=' + (this.searchTime==''?this.searchTime:this.searchTime[0]) +
'&endTime=' + (this.searchTime==''?this.searchTime:this.searchTime[1]) + '&id=' + this.exportId +'&requestId=' + this.requestId;
const link = document.createElement('a')
link.href = url;
document.body.appendChild(link)
link.click()
document.body.removeChild(link)
url 地址原本是window.open(url)打开新标签页下载的, 这样操作一下就可以实现在原页面下载