修复bug-幸运哼

This commit is contained in:
dragon
2024-07-04 22:07:14 +08:00
parent 40884b5b21
commit 7c0438b070
2 changed files with 12 additions and 9 deletions

View File

@@ -110,7 +110,7 @@
/> />
<!-- 筛选导出弹窗 --> <!-- 筛选导出弹窗 -->
<el-dialog v-model="deriveDialog" title="编辑" width="28%" center> <el-dialog v-model="deriveDialog" title="导出" width="28%" center>
<!-- 榜单数据 --> <!-- 榜单数据 -->
<div style="margin-bottom: 25px; margin-top: 10px"> <div style="margin-bottom: 25px; margin-top: 10px">
<span <span
@@ -329,16 +329,18 @@ export default {
deriveOut() { deriveOut() {
let startTime = ""; let startTime = "";
let endTime = ""; let endTime = "";
if (this.inquire.time && this.inquire.time.length > 0) { if (this.deriveObj.time && this.deriveObj.time.length > 0) {
startTime = dateFormat(this.inquire.time[0], "yyyy-MM-dd hh:mm:ss"); startTime = dateFormat(this.deriveObj.time[0], "yyyy-MM-dd hh:mm:ss");
endTime = dateFormat(this.inquire.time[1], "yyyy-MM-dd hh:mm:ss"); endTime = dateFormat(this.deriveObj.time[1], "yyyy-MM-dd hh:mm:ss");
} }
exportList({ var obj = {
startDate: startTime, startDate: startTime,
endDate: endTime, endDate: endTime,
rankDateType: this.deriveObj.rankDateType, rankDateType: this.inquire.rankDateType,
partitionId: this.inquire.partitionId, partitionId: this.inquire.partitionId,
}).then((res) => { };
console.log(obj);
exportList(obj).then((res) => {
if (res.code == 200) { if (res.code == 200) {
this.deriveDialog = false; this.deriveDialog = false;
} else { } else {
@@ -349,6 +351,7 @@ export default {
}); });
} }
}); });
this.deriveDialog = false;
}, },
detialQuery() { detialQuery() {
luckyBagWeekRankListRank({ luckyBagWeekRankListRank({
@@ -367,7 +370,7 @@ export default {
arr[i].seqNo = i + 1; arr[i].seqNo = i + 1;
}); });
this.detialObj.tableData = arr; this.detialObj.tableData = arr;
this.total2 = res.data.total this.total2 = res.data.total;
} else { } else {
ElMessage({ ElMessage({
showClose: true, showClose: true,

View File

@@ -189,7 +189,7 @@
class="pub" class="pub"
v-model="controlsDialog" v-model="controlsDialog"
:title="controlsTitle" :title="controlsTitle"
width="28%" width="36%"
center center
> >
<!-- 地区选择 --> <!-- 地区选择 -->