update:
1. fix
This commit is contained in:
@@ -104,6 +104,13 @@ export function getUserPerformance(userId) {
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
|
||||
export function getDailySummaryList(userId) {
|
||||
return request({
|
||||
url: '/market-info/daily-summary-list',
|
||||
method: 'get',
|
||||
params: {
|
||||
userId
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
@@ -1,14 +1,20 @@
|
||||
export default {
|
||||
height:'auto',
|
||||
height: 'auto',
|
||||
calcHeight: 30,
|
||||
tip: false,
|
||||
align: 'center',
|
||||
searchShow: true,
|
||||
searchMenuSpan: 6,
|
||||
border: true,
|
||||
index: true,
|
||||
viewBtn: true,
|
||||
selection: true,
|
||||
menu: false,
|
||||
addBtn: false,
|
||||
viewBtn: false,
|
||||
editBtn: false,
|
||||
refreshBtn: false,
|
||||
selection: false,
|
||||
dialogClickModal: false,
|
||||
stripe: true,
|
||||
column: [
|
||||
{
|
||||
label: "主键",
|
||||
@@ -23,141 +29,307 @@ export default {
|
||||
label: "用户ID",
|
||||
prop: "userId",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "用户账号",
|
||||
label: "账号",
|
||||
prop: "userAccount",
|
||||
type: "input",
|
||||
overHidden: true,
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "用户姓名",
|
||||
label: "姓名",
|
||||
prop: "userName",
|
||||
type: "input",
|
||||
hide: true,
|
||||
overHidden: true,
|
||||
},
|
||||
{
|
||||
label: "统计日期,如 '2026-04-29'",
|
||||
label: "日期",
|
||||
prop: "statDate",
|
||||
type: "date",
|
||||
overHidden: true,
|
||||
fixed: true,
|
||||
},
|
||||
{
|
||||
label: "人员相关",
|
||||
children: [
|
||||
{
|
||||
label: "个人",
|
||||
children: [
|
||||
{
|
||||
label: "直推",
|
||||
prop: "personalTotalInviteCount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "直推人数(累计)",
|
||||
prop: "directReferralCount",
|
||||
label: "新增",
|
||||
prop: "personalIncreaseInviteCount",
|
||||
type: "input",
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: '团队',
|
||||
children: [
|
||||
{
|
||||
label: "总人数",
|
||||
prop: "teamMemberCount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日新增直推人数",
|
||||
prop: "newDirectReferralCount",
|
||||
label: "新增",
|
||||
prop: "teamIncreaseCount",
|
||||
type: "input",
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "福利值、包",
|
||||
children: [
|
||||
{
|
||||
label: '个人',
|
||||
children: [
|
||||
{
|
||||
label: "总值",
|
||||
prop: "personalTotalBenefitsValue",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "团队人数(累计)",
|
||||
prop: "teamTotalCount",
|
||||
label: "有效值",
|
||||
prop: "personalBenefitsPackageRemainValue",
|
||||
},
|
||||
{
|
||||
label: "新增",
|
||||
prop: "personalIncreaseBenefitsValue",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日新增团队人数",
|
||||
prop: "newTeamCount",
|
||||
label: "新增有效",
|
||||
prop: "personalIncreaseCurrentBenefitsValue",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "明细",
|
||||
prop: "personalIncreaseBenefitsPackageDetail",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "加速值",
|
||||
prop: "personalBenefitsPackageSpeedUpValue",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "剩余",
|
||||
prop: "personalBenefitsPackageRemainValue",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "总福利值",
|
||||
prop: "totalBenefitsValue",
|
||||
label: "持包人数",
|
||||
prop: "personalInviteBenefitsPackageHolderCount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "直推新增明细",
|
||||
prop: "personalInviteIncreaseBenefitsPackageDetail",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "等级",
|
||||
prop: "personalBenefitsLevel",
|
||||
type: "input",
|
||||
},
|
||||
]
|
||||
},
|
||||
{
|
||||
label: '团队',
|
||||
children: [
|
||||
{
|
||||
label: "总值",
|
||||
prop: "teamTotalBenefitsValue",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日新增福利值",
|
||||
prop: "increaseBenefitsValue",
|
||||
label: "有效值",
|
||||
prop: "teamCurrentBenefitsValue",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日持有福利包的直推人数",
|
||||
prop: "directWithBenefitPackageCount",
|
||||
label: "新增",
|
||||
prop: "teamIncreaseBenefitsValue",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日直推人新增的福利包明细(数组)",
|
||||
prop: "directNewBenefitPackages",
|
||||
label: "持包人数",
|
||||
prop: "teamBenefitsPackageHolderCount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "新增明细",
|
||||
prop: "teamIncreaseBenefitsPackageDetail",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "消费业绩",
|
||||
children: [
|
||||
{
|
||||
label: '个人',
|
||||
children: [
|
||||
{
|
||||
label: "总金额",
|
||||
prop: "personalTotalAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "直推人福利包面值总和",
|
||||
prop: "directBenefitPackageFaceTotal",
|
||||
label: "线上",
|
||||
prop: "personalOnlineAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "直推人福利包可提供加速的值(排除后台划拨)",
|
||||
prop: "directAcceleratedValue",
|
||||
label: "线下",
|
||||
prop: "personalOfflineAmount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "其他",
|
||||
prop: "personalOtherAmount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "新增",
|
||||
prop: "personalIncreaseAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日福利积分系统等级",
|
||||
prop: "benefitLevel",
|
||||
label: "新增线上",
|
||||
prop: "personalIncreaseOnlineAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日现金下单的直推人数",
|
||||
prop: "cashOrderDirectCount",
|
||||
label: "新增线下",
|
||||
prop: "personalIncreaseOfflineAmount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "新增其他",
|
||||
prop: "personalIncreaseOtherAmount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "等级",
|
||||
prop: "personalCashLevel",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日直推人现金下单金额",
|
||||
prop: "cashOrderDirectAmount",
|
||||
label: "明细",
|
||||
prop: "personalIncreaseOrderDetail",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "佣金金额",
|
||||
prop: "personalDynamicRewardsAmount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: '团队',
|
||||
children: [
|
||||
{
|
||||
label: "总金额",
|
||||
prop: "teamTotalAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "直推人可提供的现金分红金额(排除线下支付)",
|
||||
prop: "cashDividendEligibleDirect",
|
||||
label: "线上",
|
||||
prop: "teamOnlineAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日佣金分红系统等级",
|
||||
prop: "commissionLevel",
|
||||
label: "线下",
|
||||
prop: "teamOfflineAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日自己新增福利包(明细数组)",
|
||||
prop: "selfNewBenefitPackages",
|
||||
label: "其他",
|
||||
prop: "teamOtherAmount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "新增",
|
||||
prop: "teamIncreaseAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "当日自己新增福利包面值",
|
||||
prop: "selfNewBenefitFaceValue",
|
||||
label: "新增线上",
|
||||
prop: "teamIncreaseOnlineAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "自己新增福利包可提供加速的值",
|
||||
prop: "selfAcceleratedValue",
|
||||
label: "新增线下",
|
||||
prop: "teamIncreaseOfflineAmount",
|
||||
type: "input",
|
||||
},
|
||||
{
|
||||
label: "福利包总剩余面值",
|
||||
prop: "totalRemainingBenefitFace",
|
||||
label: "新增其他",
|
||||
prop: "teamIncreaseOtherAmount",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
label: "福利包加速了多少值(累计)",
|
||||
prop: "totalAcceleratedByPackages",
|
||||
label: "福利积分",
|
||||
prop: "personalBenefitsPointsBalance",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "现金分红了多少(即佣金)",
|
||||
prop: "cashCommissionPaid",
|
||||
label: "账户佣金",
|
||||
prop: "personalCommissionBalance",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "当日现金消费金额(排除线下支付)",
|
||||
prop: "selfCashConsumptionAmount",
|
||||
label: "现金券",
|
||||
prop: "personalCashCouponBalance",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "自己可提供分红的金额(排除线下支付)",
|
||||
prop: "selfCashDividendEligible",
|
||||
label: "用户积分",
|
||||
prop: "personalUserPointsBalance",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "备注",
|
||||
prop: "remark",
|
||||
type: "input",
|
||||
hide: true,
|
||||
},
|
||||
{
|
||||
label: "创建人",
|
||||
|
||||
@@ -12,6 +12,7 @@ export default {
|
||||
delBtn: false,
|
||||
selection: true,
|
||||
dialogClickModal: false,
|
||||
stripe: true,
|
||||
column: [
|
||||
{
|
||||
label: "主键",
|
||||
|
||||
@@ -20,11 +20,11 @@
|
||||
@refresh-change="refreshChange"
|
||||
@on-load="onLoad">
|
||||
<template #menu-left>
|
||||
<!-- <el-button type="warning"-->
|
||||
<!-- plain-->
|
||||
<!-- icon="el-icon-download"-->
|
||||
<!-- @click="handleExport">导 出-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button type="warning"-->
|
||||
<!-- plain-->
|
||||
<!-- icon="el-icon-download"-->
|
||||
<!-- @click="handleExport">导 出-->
|
||||
<!-- </el-button>-->
|
||||
<el-button
|
||||
type="info"
|
||||
plain
|
||||
@@ -54,11 +54,17 @@
|
||||
@click.stop="userPerformanceOpen(row)">查询业绩
|
||||
</el-button>
|
||||
|
||||
<el-button type="text"
|
||||
icon="el-icon-document"
|
||||
@click.stop="handleDailySummaryData(row)">数据统计
|
||||
</el-button>
|
||||
|
||||
</template>
|
||||
|
||||
</avue-crud>
|
||||
|
||||
<el-drawer :title="`账户 [${userAccount}] 福利包明细`" v-model="benefitPackBox" :direction="direction" append-to-body
|
||||
<el-drawer :title="`账户 [${userAccount}] 福利包明细`" v-model="benefitPackBox" :direction="direction"
|
||||
append-to-body
|
||||
size="800px" @close="benefitPackClose">
|
||||
<basic-container>
|
||||
<avue-crud :option="benefitPackOption"
|
||||
@@ -69,7 +75,8 @@
|
||||
</basic-container>
|
||||
</el-drawer>
|
||||
|
||||
<el-drawer :title="`账户 [${userAccount}] 积分信息`" v-model="userPointInfoBox" :direction="direction" append-to-body
|
||||
<el-drawer :title="`账户 [${userAccount}] 积分信息`" v-model="userPointInfoBox" :direction="direction"
|
||||
append-to-body
|
||||
size="800px" @close="userPointInfoClose">
|
||||
<basic-container>
|
||||
<avue-crud :option="userPointInfoOption"
|
||||
@@ -81,7 +88,8 @@
|
||||
</el-drawer>
|
||||
|
||||
|
||||
<el-drawer :title="`账户 [${userAccount}] 累计消费`" v-model="userMallSpendBox" :direction="direction" append-to-body
|
||||
<el-drawer :title="`账户 [${userAccount}] 累计消费`" v-model="userMallSpendBox" :direction="direction"
|
||||
append-to-body
|
||||
size="800px" @close="userMallSpendClose">
|
||||
<basic-container>
|
||||
<avue-crud :option="userMallSpendOption"
|
||||
@@ -92,7 +100,8 @@
|
||||
</basic-container>
|
||||
</el-drawer>
|
||||
|
||||
<el-drawer :title="`账户 [${userAccount}] 业绩查询`" v-model="userPerformanceBox" :direction="direction" append-to-body
|
||||
<el-drawer :title="`账户 [${userAccount}] 业绩查询`" v-model="userPerformanceBox" :direction="direction"
|
||||
append-to-body
|
||||
size="800px" @close="userPerformanceClose">
|
||||
<basic-container>
|
||||
<avue-crud :option="userPerformanceOption"
|
||||
@@ -103,69 +112,93 @@
|
||||
</basic-container>
|
||||
</el-drawer>
|
||||
|
||||
<el-drawer :title="`账户 [${userAccount}] 统计数据`" v-model="dailySummaryBox" :direction="direction"
|
||||
append-to-body
|
||||
size="100%"
|
||||
:before-close="handleDailySummaryClose">
|
||||
<basic-container>
|
||||
<avue-crud :option="optionSummary"
|
||||
:data="dailySummaryData"
|
||||
ref="crudSub">
|
||||
</avue-crud>
|
||||
</basic-container>
|
||||
</el-drawer>
|
||||
|
||||
|
||||
|
||||
<!-- <el-drawer :title="`${username} ${serialNumber} `" v-model="subVisible" :direction="direction"-->
|
||||
<!-- append-to-body-->
|
||||
<!-- :before-close="handleSubClose" size="90%">-->
|
||||
<!-- <el-tag size="large" :type="notes ? 'danger' : 'info'" effect="dark">-->
|
||||
<!-- {{ notes || 'No special notes.' }}-->
|
||||
<!-- </el-tag>-->
|
||||
<!-- <basic-container>-->
|
||||
<!-- <avue-crud :option="optionSub"-->
|
||||
<!-- :data="dataSub"-->
|
||||
<!-- v-model:page="pageSub"-->
|
||||
<!-- v-model="formSub"-->
|
||||
<!-- :table-loading="loadingSub"-->
|
||||
<!-- ref="crudSub"-->
|
||||
<!-- @row-del="rowDelSub"-->
|
||||
<!-- @row-update="rowUpdateSub"-->
|
||||
<!-- @row-save="rowSaveSub"-->
|
||||
<!-- :before-open="beforeOpenSub"-->
|
||||
<!-- @search-change="searchChangeSub"-->
|
||||
<!-- @search-reset="searchResetSub"-->
|
||||
<!-- @selection-change="selectionChangeSub"-->
|
||||
<!-- @current-change="currentChangeSub"-->
|
||||
<!-- @size-change="sizeChangeSub"-->
|
||||
<!-- @on-load="onLoadSub">-->
|
||||
<!-- <template #menu="{ row }">-->
|
||||
<!-- <el-button type="text"-->
|
||||
<!-- icon="el-icon-folder"-->
|
||||
<!-- @click.stop="handleAssets(row)">Assets-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button type="text"-->
|
||||
<!-- icon="el-icon-download"-->
|
||||
<!-- v-if="row.status === 1"-->
|
||||
<!-- @click.stop="handleDownload(row)">Download-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button type="text"-->
|
||||
<!-- icon="el-icon-finished"-->
|
||||
<!-- v-if="row.status === 1"-->
|
||||
<!-- @click.stop="handleDone(row)">Done-->
|
||||
<!-- </el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </avue-crud>-->
|
||||
<!-- </basic-container>-->
|
||||
<!-- </el-drawer>-->
|
||||
<!-- <el-drawer :title="`${username} ${serialNumber} `" v-model="subVisible" :direction="direction"-->
|
||||
<!-- append-to-body-->
|
||||
<!-- :before-close="handleSubClose" size="90%">-->
|
||||
<!-- <el-tag size="large" :type="notes ? 'danger' : 'info'" effect="dark">-->
|
||||
<!-- {{ notes || 'No special notes.' }}-->
|
||||
<!-- </el-tag>-->
|
||||
<!-- <basic-container>-->
|
||||
<!-- <avue-crud :option="optionSub"-->
|
||||
<!-- :data="dataSub"-->
|
||||
<!-- v-model:page="pageSub"-->
|
||||
<!-- v-model="formSub"-->
|
||||
<!-- :table-loading="loadingSub"-->
|
||||
<!-- ref="crudSub"-->
|
||||
<!-- @row-del="rowDelSub"-->
|
||||
<!-- @row-update="rowUpdateSub"-->
|
||||
<!-- @row-save="rowSaveSub"-->
|
||||
<!-- :before-open="beforeOpenSub"-->
|
||||
<!-- @search-change="searchChangeSub"-->
|
||||
<!-- @search-reset="searchResetSub"-->
|
||||
<!-- @selection-change="selectionChangeSub"-->
|
||||
<!-- @current-change="currentChangeSub"-->
|
||||
<!-- @size-change="sizeChangeSub"-->
|
||||
<!-- @on-load="onLoadSub">-->
|
||||
<!-- <template #menu="{ row }">-->
|
||||
<!-- <el-button type="text"-->
|
||||
<!-- icon="el-icon-folder"-->
|
||||
<!-- @click.stop="handleAssets(row)">Assets-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button type="text"-->
|
||||
<!-- icon="el-icon-download"-->
|
||||
<!-- v-if="row.status === 1"-->
|
||||
<!-- @click.stop="handleDownload(row)">Download-->
|
||||
<!-- </el-button>-->
|
||||
<!-- <el-button type="text"-->
|
||||
<!-- icon="el-icon-finished"-->
|
||||
<!-- v-if="row.status === 1"-->
|
||||
<!-- @click.stop="handleDone(row)">Done-->
|
||||
<!-- </el-button>-->
|
||||
<!-- </template>-->
|
||||
<!-- </avue-crud>-->
|
||||
<!-- </basic-container>-->
|
||||
<!-- </el-drawer>-->
|
||||
</basic-container>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import {getList, getDetail, add, update, remove, resetPassword , benefitPackCountByUser , getUserPointInfo , getUserMallSpend , getUserPerformance} from "@/api/market/marketInfo";
|
||||
import option from "@/option/market/marketInfo";
|
||||
import {mapGetters} from "vuex";
|
||||
import {exportBlob} from "@/api/common";
|
||||
import {getToken} from '@/utils/auth';
|
||||
import {downloadXls} from "@/utils/util";
|
||||
import {dateNow} from "@/utils/date";
|
||||
import NProgress from 'nprogress';
|
||||
import 'nprogress/nprogress.css';
|
||||
import {
|
||||
add,
|
||||
benefitPackCountByUser,
|
||||
getDailySummaryList,
|
||||
getDetail,
|
||||
getList,
|
||||
getUserMallSpend,
|
||||
getUserPerformance,
|
||||
getUserPointInfo,
|
||||
remove,
|
||||
resetPassword,
|
||||
update
|
||||
} from "@/api/market/marketInfo";
|
||||
import option from "@/option/market/marketInfo";
|
||||
import optionSummary from "@/option/market/dailySummary";
|
||||
import {mapGetters} from "vuex";
|
||||
import {exportBlob} from "@/api/common";
|
||||
import {getToken} from '@/utils/auth';
|
||||
import {downloadXls} from "@/utils/util";
|
||||
import {dateNow} from "@/utils/date";
|
||||
import NProgress from 'nprogress';
|
||||
import 'nprogress/nprogress.css';
|
||||
|
||||
export default {
|
||||
export default {
|
||||
data() {
|
||||
return {
|
||||
form: {},
|
||||
formSummary:{},
|
||||
query: {},
|
||||
search: {},
|
||||
loading: true,
|
||||
@@ -179,10 +212,10 @@
|
||||
data: [],
|
||||
username: "用户账号",
|
||||
|
||||
userAccount : "",
|
||||
direction : "rtl",
|
||||
userAccount: "",
|
||||
direction: "rtl",
|
||||
benefitPackBox: false,
|
||||
benefitPackOption : {
|
||||
benefitPackOption: {
|
||||
addBtn: false,
|
||||
editBtn: true,
|
||||
delBtn: false,
|
||||
@@ -202,11 +235,11 @@
|
||||
|
||||
],
|
||||
},
|
||||
benefitPackData : [],
|
||||
benefitPackData: [],
|
||||
|
||||
|
||||
userPointInfoBox: false,
|
||||
userPointInfoOption : {
|
||||
userPointInfoOption: {
|
||||
addBtn: false,
|
||||
editBtn: true,
|
||||
delBtn: false,
|
||||
@@ -240,10 +273,10 @@
|
||||
|
||||
],
|
||||
},
|
||||
userPointInfoData : [],
|
||||
userPointInfoData: [],
|
||||
|
||||
userMallSpendBox: false,
|
||||
userMallSpendOption : {
|
||||
userMallSpendOption: {
|
||||
addBtn: false,
|
||||
editBtn: true,
|
||||
delBtn: false,
|
||||
@@ -258,10 +291,10 @@
|
||||
|
||||
],
|
||||
},
|
||||
userMallSpendData : [],
|
||||
userMallSpendData: [],
|
||||
|
||||
userPerformanceBox: false,
|
||||
userPerformanceOption : {
|
||||
userPerformanceOption: {
|
||||
addBtn: false,
|
||||
editBtn: true,
|
||||
delBtn: false,
|
||||
@@ -283,7 +316,12 @@
|
||||
|
||||
],
|
||||
},
|
||||
userPerformanceData : [],
|
||||
userPerformanceData: [],
|
||||
|
||||
dailySummaryBox: false,
|
||||
dailySummaryData: [],
|
||||
optionSummary: optionSummary,
|
||||
|
||||
|
||||
};
|
||||
},
|
||||
@@ -373,10 +411,8 @@
|
||||
},
|
||||
handleExport() {
|
||||
let downloadUrl = `/blade-marketinfo/marketInfo/export-marketInfo?${this.website.tokenHeader}=${getToken()}`;
|
||||
const {
|
||||
} = this.query;
|
||||
let values = {
|
||||
};
|
||||
const {} = this.query;
|
||||
let values = {};
|
||||
this.$confirm("是否导出数据?", "提示", {
|
||||
confirmButtonText: "确定",
|
||||
cancelButtonText: "取消",
|
||||
@@ -435,10 +471,10 @@
|
||||
this.selectionList = [];
|
||||
this.$refs.crud.toggleSelection();
|
||||
},
|
||||
currentChange(currentPage){
|
||||
currentChange(currentPage) {
|
||||
this.page.currentPage = currentPage;
|
||||
},
|
||||
sizeChange(pageSize){
|
||||
sizeChange(pageSize) {
|
||||
this.page.pageSize = pageSize;
|
||||
},
|
||||
refreshChange() {
|
||||
@@ -455,7 +491,7 @@
|
||||
});
|
||||
},
|
||||
|
||||
benefitPackInfoOpen(row){
|
||||
benefitPackInfoOpen(row) {
|
||||
this.benefitPackBox = true;
|
||||
this.userAccount = row.account;
|
||||
benefitPackCountByUser(row.id)
|
||||
@@ -465,11 +501,11 @@
|
||||
|
||||
},
|
||||
|
||||
benefitPackClose(){
|
||||
benefitPackClose() {
|
||||
this.benefitPackData = [];
|
||||
},
|
||||
|
||||
userPointInfoOpen(row){
|
||||
userPointInfoOpen(row) {
|
||||
this.userPointInfoBox = true;
|
||||
this.userAccount = row.account;
|
||||
getUserPointInfo(row.id)
|
||||
@@ -478,11 +514,11 @@
|
||||
})
|
||||
},
|
||||
|
||||
userPointInfoClose(){
|
||||
userPointInfoClose() {
|
||||
this.userPointInfoData = [];
|
||||
},
|
||||
|
||||
userMallSpendOpen(row){
|
||||
userMallSpendOpen(row) {
|
||||
this.userMallSpendBox = true;
|
||||
this.userAccount = row.account;
|
||||
|
||||
@@ -493,11 +529,11 @@
|
||||
|
||||
},
|
||||
|
||||
userMallSpendClose(){
|
||||
userMallSpendClose() {
|
||||
this.userMallSpendData = [];
|
||||
},
|
||||
|
||||
userPerformanceOpen(row){
|
||||
userPerformanceOpen(row) {
|
||||
this.userPerformanceBox = true;
|
||||
this.userAccount = row.account;
|
||||
|
||||
@@ -507,12 +543,25 @@
|
||||
})
|
||||
},
|
||||
|
||||
userPerformanceClose(){
|
||||
userPerformanceClose() {
|
||||
this.userPerformanceData = [];
|
||||
},
|
||||
|
||||
handleDailySummaryData(row) {
|
||||
this.dailySummaryBox = true;
|
||||
this.userAccount = row.account;
|
||||
getDailySummaryList(row.id)
|
||||
.then(res => {
|
||||
this.dailySummaryData = res.data.data;
|
||||
})
|
||||
},
|
||||
handleDailySummaryClose(hide) {
|
||||
hide();
|
||||
},
|
||||
|
||||
|
||||
}
|
||||
};
|
||||
};
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
Reference in New Issue
Block a user