|
@@ -3,7 +3,7 @@
|
|
|
<div class="m-container">
|
|
|
<el-page-header
|
|
|
@back="onCancel"
|
|
|
- :content="'202双1十一活动'"
|
|
|
+ :content="'2021双十一活动'"
|
|
|
></el-page-header>
|
|
|
<!-- <h2>
|
|
|
<div class="squrt"></div>
|
|
@@ -43,20 +43,20 @@
|
|
|
>
|
|
|
</el-form-item>
|
|
|
<el-form-item>
|
|
|
- <auth auths="export/countCloudTeacherActive">
|
|
|
+ <auth auths="export/organDoubleEleven2021Statis">
|
|
|
<el-button type="primary" @click="onExport">导出</el-button>
|
|
|
</auth>
|
|
|
</el-form-item>
|
|
|
</save-form>
|
|
|
<!-- <div style="font-size: 14px; color: #f85043; padding-bottom: 10px"> -->
|
|
|
- <!-- 应收总金额:{{ totalExpectAmount }}元
|
|
|
+ <!-- 应收总金额:{{ totalExpectAmount }}元
|
|
|
现金实收总额:{{ totalActualAmount }}元
|
|
|
余额实收总额:{{ Number((totalExpectAmount - totalActualAmount).toFixed(2)) }}元 -->
|
|
|
- <!-- 营收金额=2-3
|
|
|
+ <!-- 营收金额=2-3
|
|
|
实收金额=应收总额(包含余额支付)
|
|
|
预收金额=充值总额(发生消费,记负数)
|
|
|
预收余额=充值总余额 -->
|
|
|
- <!-- 总金额:{{ head.buyAmount | moneyFormat }}元<i
|
|
|
+ <!-- 总金额:{{ head.buyAmount | moneyFormat }}元<i
|
|
|
style="width: 10px; display: inline-block"
|
|
|
></i>
|
|
|
目标总金额:{{ head.targetAmount | moneyFormat }}元<i
|
|
@@ -79,209 +79,146 @@
|
|
|
style="width: 10px; display: inline-block"
|
|
|
></i> -->
|
|
|
|
|
|
- <!-- 购买总金额:{{ head.buyAmount | moneyFormat }}元<i
|
|
|
+ <!-- 购买总金额:{{ head.buyAmount | moneyFormat }}元<i
|
|
|
style="width: 10px; display: inline-block"
|
|
|
></i> -->
|
|
|
|
|
|
- <!-- 购买率:{{ head.buyScale }}%
|
|
|
+ <!-- 购买率:{{ head.buyScale }}%
|
|
|
<i style="width: 10px; display: inline-block"></i> -->
|
|
|
|
|
|
- <!-- 总人数:{{ head.totalNum }}元<i
|
|
|
+ <!-- 总人数:{{ head.totalNum }}元<i
|
|
|
style="width: 10px; display: inline-block"
|
|
|
></i> -->
|
|
|
- </div>
|
|
|
- <div class="tableWrap">
|
|
|
- <el-table
|
|
|
- style="width: 100%"
|
|
|
- :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
|
- :data="tableList"
|
|
|
- @sort-change="sortChang"
|
|
|
-
|
|
|
- >
|
|
|
- <!-- :default-sort="{
|
|
|
- prop: 'targetFinishScale',
|
|
|
+ </div>
|
|
|
+ <div class="tableWrap">
|
|
|
+ <el-table
|
|
|
+ style="width: 100%"
|
|
|
+ :header-cell-style="{ background: '#EDEEF0', color: '#444' }"
|
|
|
+ :data="tableList"
|
|
|
+ @sort-change="sortChang"
|
|
|
+ :default-sort="{
|
|
|
+ prop: 'totalBuyAmount',
|
|
|
order: 'descending',
|
|
|
- }" -->
|
|
|
- <!-- <el-table-column
|
|
|
+ }"
|
|
|
+ >
|
|
|
+
|
|
|
+ <!-- <el-table-column
|
|
|
align="center"
|
|
|
prop="targetNum"
|
|
|
label="排名"
|
|
|
></el-table-column> -->
|
|
|
- <el-table-column align="center" label="排名" type="index" width="50">
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- prop="organName"
|
|
|
- label="分部"
|
|
|
- width="170px"
|
|
|
- ></el-table-column>
|
|
|
- <el-table-column align="center" prop="buyAmount" label="总金额">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>{{ scope.row.buyAmount | moneyFormat }}元</div>
|
|
|
- </template></el-table-column
|
|
|
- >
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- prop="targetAmount"
|
|
|
- sortable="custom"
|
|
|
- label="目标金额"
|
|
|
- width="150px"
|
|
|
- >
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>{{ scope.row.targetAmount | moneyFormat }}元</div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- prop="targetAmountFinishScale"
|
|
|
- sortable="custom"
|
|
|
- width="170px"
|
|
|
- >
|
|
|
- <template slot="header" slot-scope="slot">
|
|
|
- <div class="titleCell">
|
|
|
- <span>目标金额达成率</span>
|
|
|
- <el-tooltip placement="top" popper-class="mTooltip">
|
|
|
- <div slot="content">总成交额/目标总额*100%</div>
|
|
|
- <i
|
|
|
- class="el-icon-question micon el-tooltip"
|
|
|
- style="
|
|
|
- font-size: 18px;
|
|
|
- color: #f56c6c;
|
|
|
- top: 2px;
|
|
|
- position: relative;
|
|
|
- "
|
|
|
- ></i>
|
|
|
- </el-tooltip>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>{{ scope.row.targetAmountFinishScale }}%</div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- prop="buyNum"
|
|
|
- sortable="custom"
|
|
|
- width="150px"
|
|
|
- >
|
|
|
- <template slot="header" slot-scope="slot">
|
|
|
- <div class="titleCell">
|
|
|
- <span>购买人数</span>
|
|
|
- <el-tooltip placement="top" popper-class="mTooltip">
|
|
|
- <div slot="content">本次活动交易成功总人数(去重)</div>
|
|
|
- <i
|
|
|
- class="el-icon-question micon el-tooltip"
|
|
|
- style="
|
|
|
- font-size: 18px;
|
|
|
- color: #f56c6c;
|
|
|
- top: 2px;
|
|
|
- position: relative;
|
|
|
- "
|
|
|
- ></i>
|
|
|
- </el-tooltip>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>{{ scope.row.buyNum }}人</div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- prop="avgBuyAmount"
|
|
|
- sortable="custom"
|
|
|
- width="150px"
|
|
|
- >
|
|
|
- <template slot="header" slot-scope="slot">
|
|
|
- <div class="titleCell">
|
|
|
- <span>人均购买金额</span>
|
|
|
- <el-tooltip placement="top" popper-class="mTooltip">
|
|
|
- <div slot="content">总金额 / 购买人数</div>
|
|
|
- <i
|
|
|
- class="el-icon-question micon el-tooltip"
|
|
|
- style="
|
|
|
- font-size: 18px;
|
|
|
- color: #f56c6c;
|
|
|
- top: 2px;
|
|
|
- position: relative;
|
|
|
- "
|
|
|
- ></i>
|
|
|
- </el-tooltip>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>{{ scope.row.avgBuyAmount }}元</div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- prop="targetNum"
|
|
|
- sortable="custom"
|
|
|
- width="150px"
|
|
|
- >
|
|
|
- <template slot="header" slot-scope="slot">
|
|
|
- <div class="titleCell">
|
|
|
- <span>目标人数</span>
|
|
|
- <el-tooltip placement="top" popper-class="mTooltip">
|
|
|
- <div slot="content">
|
|
|
- 进行中非会员乐团-已上乐团课小于等于4节学员-非本活动购买会员-弦乐声部学员
|
|
|
- </div>
|
|
|
- <i
|
|
|
- class="el-icon-question micon el-tooltip"
|
|
|
- style="
|
|
|
- font-size: 18px;
|
|
|
- color: #f56c6c;
|
|
|
- top: 2px;
|
|
|
- position: relative;
|
|
|
- "
|
|
|
- ></i>
|
|
|
- </el-tooltip>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>{{ scope.row.targetNum }}人</div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column
|
|
|
- align="center"
|
|
|
- prop="targetFinishScale"
|
|
|
- sortable="custom"
|
|
|
- width="150px"
|
|
|
- >
|
|
|
- <template slot="header" slot-scope="slot">
|
|
|
- <div class="titleCell">
|
|
|
- <span>目标达成率</span>
|
|
|
- <el-tooltip placement="top" popper-class="mTooltip">
|
|
|
- <div slot="content">
|
|
|
- 该分部实际交易成功人数 / 目标人数*100%
|
|
|
- </div>
|
|
|
- <i
|
|
|
- class="el-icon-question micon el-tooltip"
|
|
|
- style="
|
|
|
- font-size: 18px;
|
|
|
- color: #f56c6c;
|
|
|
- top: 2px;
|
|
|
- position: relative;
|
|
|
- "
|
|
|
- ></i>
|
|
|
- </el-tooltip>
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>{{ scope.row.targetFinishScale }}%</div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
+ <el-table-column align="center" label="排名" type="index" width="50">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="organName"
|
|
|
+ label="分部"
|
|
|
+ width="170px"
|
|
|
+ ></el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="totalBuyAmount"
|
|
|
+ label="总成交金额"
|
|
|
+ sortable="custom"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>{{ scope.row.totalBuyAmount | moneyFormat }}元</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="avgBuyAmount"
|
|
|
+ label="人均购买金额"
|
|
|
+ sortable="custom"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>{{ scope.row.avgBuyAmount | moneyFormat }}元</div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="targetAmount"
|
|
|
+ label="20节1v1成交金额/人数"
|
|
|
+ width="150px"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.vip1V120Amount| moneyFormat }}元/{{ scope.row.vip1V120Num }}人
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="targetAmount"
|
|
|
+ label="40节1v1成交金额/人数"
|
|
|
+ width="150px"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.vip1V140Amount| moneyFormat }}元/{{ scope.row.vip1V140Num }}人
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="targetAmount"
|
|
|
+ label="20节1v2成交金额/人数"
|
|
|
+ width="150px"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.vip1V220Amount| moneyFormat }}元/{{ scope.row.vip1V220Num }}人
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="targetAmount"
|
|
|
+ label="40节1v2成交金额/人数"
|
|
|
+ width="150px"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.vip1V240Amount| moneyFormat }}元/{{ scope.row.vip1V240Num }}人
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="targetAmount"
|
|
|
+ label="乐理课成交金额/人数"
|
|
|
+ width="150px"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.musicTheoryAmount | moneyFormat }}元/{{ scope.row.musicTheoryNum }}人
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column
|
|
|
+ align="center"
|
|
|
+ prop="giveMemberNum"
|
|
|
+ label="赠送会员人数"
|
|
|
+ width="150px"
|
|
|
+ >
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ {{ scope.row.giveMemberNum }}人
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
|
|
|
- <el-table-column label="详情" align="left">
|
|
|
- <template slot-scope="scope">
|
|
|
- <div>
|
|
|
- <el-button type="text" @click="gotoDetail(scope.row)"
|
|
|
- >详情</el-button
|
|
|
- >
|
|
|
- </div>
|
|
|
- </template>
|
|
|
- </el-table-column>
|
|
|
- </el-table>
|
|
|
- <!-- <pagination
|
|
|
+ <el-table-column label="详情" align="left">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <div>
|
|
|
+ <el-button type="text" @click="gotoDetail(scope.row)"
|
|
|
+ >详情</el-button
|
|
|
+ >
|
|
|
+ </div>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ </el-table>
|
|
|
+ <!-- <pagination
|
|
|
sync
|
|
|
:total.sync="rules.total"
|
|
|
:page.sync="rules.page"
|
|
@@ -312,7 +249,7 @@ export default {
|
|
|
searchForm: {
|
|
|
organId: null,
|
|
|
},
|
|
|
- searchList: { sort: "targetFinishScale", order: "DESC" },
|
|
|
+ searchList: { sort: "totalBuyAmount", order: "DESC" },
|
|
|
head: {
|
|
|
avgBuyAmount: null,
|
|
|
buyAmount: null,
|
|
@@ -352,10 +289,9 @@ export default {
|
|
|
try {
|
|
|
const res = await getDoubleElevenList({
|
|
|
organId: this.searchForm.organId,
|
|
|
-
|
|
|
});
|
|
|
// ...this.searchList,
|
|
|
- this.tableList = res.data.resultList;
|
|
|
+ this.tableList = res.data;
|
|
|
// this.head = res.data.head;
|
|
|
} catch (e) {
|
|
|
console.log(e);
|
|
@@ -391,7 +327,7 @@ export default {
|
|
|
gotoDetail(row) {
|
|
|
// console.log('跳转详情')
|
|
|
this.$router.push({
|
|
|
- path: "/operateManager/memberActiveDetail",
|
|
|
+ path: "/operateManager/2021doubleDetail",
|
|
|
query: { organId: row.organId, organName: row.organName },
|
|
|
});
|
|
|
},
|