幸运24-后台-个人数据-导出
This commit is contained in:
@@ -43,6 +43,11 @@ export const personal = query => {
|
|||||||
params: query
|
params: query
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
// 个人数据
|
||||||
|
export const exportPersonal = query => {
|
||||||
|
window.location.href = `/admin/lucky24/record/personal/export?${genQueryParam(query)}`;
|
||||||
|
return;
|
||||||
|
};
|
||||||
// 汇总
|
// 汇总
|
||||||
export const platform = query => {
|
export const platform = query => {
|
||||||
return request({
|
return request({
|
||||||
|
@@ -62,6 +62,10 @@
|
|||||||
inquire.time = '';
|
inquire.time = '';
|
||||||
">重置筛选
|
">重置筛选
|
||||||
</el-button>
|
</el-button>
|
||||||
|
<el-button class="primary"
|
||||||
|
type="primary"
|
||||||
|
v-loading="loading"
|
||||||
|
@click="exportPersonalRecord()">导出</el-button>
|
||||||
<el-button class="primary"
|
<el-button class="primary"
|
||||||
type="primary"
|
type="primary"
|
||||||
style="margin-left: 20px;"
|
style="margin-left: 20px;"
|
||||||
@@ -263,7 +267,7 @@
|
|||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
import { listLevel } from '@/api/userRechargeLevel/userRechargeLevel'
|
import { listLevel } from '@/api/userRechargeLevel/userRechargeLevel'
|
||||||
import { personal, updateUserMulti, pageRecord, exportRecord, listType } from "@/api/luckGift/luckGift";
|
import { personal, exportPersonal, updateUserMulti, pageRecord, exportRecord, listType } from "@/api/luckGift/luckGift";
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
import { dateFormat } from "@/utils/system-helper";
|
import { dateFormat } from "@/utils/system-helper";
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
@@ -370,6 +374,22 @@ export default {
|
|||||||
this.loading = false;
|
this.loading = false;
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
exportPersonalRecord (row) {
|
||||||
|
this.loading = true;
|
||||||
|
const params = {
|
||||||
|
erbanNo: this.inquire.userId,
|
||||||
|
date: this.inquire.time
|
||||||
|
? dateFormat(this.inquire.time, "yyyy-MM-dd")
|
||||||
|
: null,
|
||||||
|
partitionId: this.inquire.value,
|
||||||
|
userRechargeLevel: this.inquire.userRechargeLevel,
|
||||||
|
poolType: this.inquire.poolType ? this.inquire.poolType : undefined,
|
||||||
|
sortCol: this.inquire.sortCol,
|
||||||
|
sortOrder: this.inquire.sortOrder
|
||||||
|
}
|
||||||
|
exportPersonal(params)
|
||||||
|
this.loading = false;
|
||||||
|
},
|
||||||
// 确认保存
|
// 确认保存
|
||||||
editDialogClick () {
|
editDialogClick () {
|
||||||
this.butClick = true;
|
this.butClick = true;
|
||||||
|
Reference in New Issue
Block a user