|
@@ -221,6 +221,7 @@
|
|
if(className === 'btn-wrap btn-active' || e.target.innerText !== '下载'){
|
|
if(className === 'btn-wrap btn-active' || e.target.innerText !== '下载'){
|
|
return
|
|
return
|
|
}
|
|
}
|
|
|
|
+ reportDownload(id);
|
|
let appName = $('.app-title').eq(index).text();
|
|
let appName = $('.app-title').eq(index).text();
|
|
if(['btn-wrap','progress', 'text'].includes(className)){
|
|
if(['btn-wrap','progress', 'text'].includes(className)){
|
|
$.ajax({
|
|
$.ajax({
|
|
@@ -281,6 +282,16 @@
|
|
})
|
|
})
|
|
|
|
|
|
}
|
|
}
|
|
|
|
+ function reportDownload(id){
|
|
|
|
+ $.ajax({
|
|
|
|
+ url: `${baseUrl}/api/public/v1/ranking/reportDownload/${id}`,
|
|
|
|
+ type: 'get',
|
|
|
|
+ contentType:"application/json",
|
|
|
|
+ dataType: 'json',
|
|
|
|
+ cache: false,
|
|
|
|
+ success: function (res) {}
|
|
|
|
+ })
|
|
|
|
+ }
|
|
//点击返回按钮
|
|
//点击返回按钮
|
|
$('.left-arrow')[0].addEventListener('click',()=>{
|
|
$('.left-arrow')[0].addEventListener('click',()=>{
|
|
location.href = './browser.html'
|
|
location.href = './browser.html'
|