修改game汇总问题
This commit is contained in:
@@ -198,7 +198,7 @@ export default {
|
||||
let alink = document.createElement("a");
|
||||
alink.download = `game汇总${time}.xls`;
|
||||
alink.style.display = "none";
|
||||
const blob = new Blob([res.data]);
|
||||
const blob = new Blob([res]);
|
||||
alink.href = URL.createObjectURL(blob);
|
||||
document.body.appendChild(alink);
|
||||
alink.click();
|
||||
@@ -215,8 +215,12 @@ export default {
|
||||
const confirmExport2ExcelTwo = async () => {
|
||||
try {
|
||||
console.log(exportStatDate.value, '-----')
|
||||
const { channel, gameId, partitionId } = formData.value;
|
||||
|
||||
const res = await exportUserForMiniGame({
|
||||
channel: formData.value.channel,
|
||||
channel,
|
||||
gameId,
|
||||
partitionId,
|
||||
endTime: exportStatDate.value,
|
||||
startTime: exportStatDate.value,
|
||||
})
|
||||
@@ -229,7 +233,7 @@ export default {
|
||||
let alink = document.createElement("a");
|
||||
alink.download = `game汇总用户明细${time}.xls`;
|
||||
alink.style.display = "none";
|
||||
const blob = new Blob([res.data]);
|
||||
const blob = new Blob([res]);
|
||||
alink.href = URL.createObjectURL(blob);
|
||||
document.body.appendChild(alink);
|
||||
alink.click();
|
||||
@@ -244,12 +248,15 @@ export default {
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
// 明细
|
||||
const detailPageFun = async (row) => {
|
||||
tableData.value.loadingInner = true;
|
||||
exportStatDate.value = row.statDate
|
||||
const { channel, gameId, partitionId } = formData.value;
|
||||
const res = await getUserGamedata({
|
||||
channel: formData.value.channel,
|
||||
channel,
|
||||
gameId,
|
||||
partitionId,
|
||||
endTime: row.statDate,
|
||||
startTime: row.statDate,
|
||||
})
|
||||
|
Reference in New Issue
Block a user