|
|
@@ -96,15 +96,16 @@
|
|
|
<el-table-column label="当前会员上线数" align="center" prop="onlineUserCount" />
|
|
|
<el-table-column label="所属销售部门" align="center" prop="salesDept"/>
|
|
|
<el-table-column label="所属销售公司" align="center" prop="salesCompany"/>
|
|
|
- <el-table-column label="训练营" align="center" prop="trainingCampName"/>
|
|
|
- <el-table-column label="营期" align="center" prop="periodName"/>
|
|
|
- <el-table-column label="课程小节" align="center" prop="videoTitle" />
|
|
|
+<!-- <el-table-column label="训练营" align="center" prop="trainingCampName"/>-->
|
|
|
+<!-- <el-table-column label="营期" align="center" prop="periodName"/>-->
|
|
|
+<!-- <el-table-column label="课程小节" align="center" prop="videoTitle" />-->
|
|
|
<el-table-column label="完课数" align="center" prop="finishedCount" />
|
|
|
<el-table-column label="未完课" align="center" prop="unfinishedCount" />
|
|
|
<el-table-column label="完课率" align="center" prop="completionRate" />
|
|
|
<el-table-column label="未看数" align="center" prop="notWatchedCount" />
|
|
|
<el-table-column label="未答题人数" align="center" prop="notAnsweredCount" />
|
|
|
<el-table-column label="红包金额" align="center" prop="redPacketAmount" />
|
|
|
+ <el-table-column label="红包领取数" align="center" prop="redPacketCount" />
|
|
|
<el-table-column label="历史疗法订单数" align="center" prop="historyOrderCount" />
|
|
|
</el-table>
|
|
|
<div class="total-summary">
|
|
|
@@ -115,6 +116,7 @@
|
|
|
<span class="total-item">未看数: {{ calculatedTotalData.notWatchedCount }}</span>
|
|
|
<span class="total-item">未答题人数: {{ calculatedTotalData.notAnsweredCount }}</span>
|
|
|
<span class="total-item">红包金额: {{ calculatedTotalData.redPacketAmount }}</span>
|
|
|
+ <span class="total-item">红包领取数: {{ calculatedTotalData.redPacketCount }}</span>
|
|
|
<span class="total-item">历史疗法订单数: {{ calculatedTotalData.historyOrderCount }}</span>
|
|
|
</div>
|
|
|
<pagination v-show="total > 0" :total="total" :page.sync="queryParams.pageNum" :limit.sync="queryParams.pageSize"
|
|
|
@@ -251,6 +253,7 @@ export default {
|
|
|
{ prop: 'finishTime', label: '完课时间', width: 100 },
|
|
|
{ prop: 'answerStatus', label: '答题状态', width: 100 },
|
|
|
{ prop: 'redPacketAmount', label: '红包金额', width: 120 },
|
|
|
+ { prop: 'redPacketCount', label: '红包领取数', width: 120 },
|
|
|
{ prop: 'historyOrderCount', label: '历史疗法订单数', width: 120 }
|
|
|
],
|
|
|
sales: [
|
|
|
@@ -269,6 +272,7 @@ export default {
|
|
|
{ prop: 'notWatchedCount', label: '未看数', width: 100, sortable: true },
|
|
|
{ prop: 'notAnsweredCount', label: '未答题人数', width: 100, sortable: true },
|
|
|
{ prop: 'redPacketAmount', label: '红包金额', width: 120 },
|
|
|
+ { prop: 'redPacketCount', label: '红包领取数', width: 120 },
|
|
|
{ prop: 'historyOrderCount', label: '历史疗法订单数', width: 120 }
|
|
|
],
|
|
|
company: [
|
|
|
@@ -287,6 +291,7 @@ export default {
|
|
|
{ prop: 'notWatchedCount', label: '未看数', width: 100, sortable: true },
|
|
|
{ prop: 'notAnsweredCount', label: '未答题人数', width: 100, sortable: true },
|
|
|
{ prop: 'redPacketAmount', label: '红包金额', width: 120 },
|
|
|
+ { prop: 'redPacketCount', label: '红包领取数', width: 120 },
|
|
|
{ prop: 'historyOrderCount', label: '历史疗法订单数', width: 120 }
|
|
|
]
|
|
|
},
|
|
|
@@ -313,6 +318,7 @@ export default {
|
|
|
notWatchedCount: 0,
|
|
|
notAnsweredCount: 0,
|
|
|
redPacketAmount: 0,
|
|
|
+ redPacketCount: 0,
|
|
|
historyOrderCount: 0
|
|
|
},
|
|
|
describeJson: { usageMethod: "", forPeople: "", tabootPeople: "", use: "" },
|
|
|
@@ -457,6 +463,7 @@ export default {
|
|
|
notWatchedCount: 0,
|
|
|
notAnsweredCount: 0,
|
|
|
redPacketAmount: 0,
|
|
|
+ redPacketCount: 0,
|
|
|
historyOrderCount: 0
|
|
|
};
|
|
|
// 遍历当前页数据计算总和
|
|
|
@@ -466,6 +473,7 @@ export default {
|
|
|
this.calculatedTotalData.notWatchedCount += Number(item.notWatchedCount) || 0;
|
|
|
this.calculatedTotalData.notAnsweredCount += Number(item.notAnsweredCount) || 0;
|
|
|
this.calculatedTotalData.redPacketAmount += Number(item.redPacketAmount) || 0;
|
|
|
+ this.calculatedTotalData.redPacketCount += Number(item.redPacketCount) || 0;
|
|
|
this.calculatedTotalData.historyOrderCount += Number(item.historyOrderCount) || 0;
|
|
|
});
|
|
|
const totalCount = this.calculatedTotalData.finishedCount + this.calculatedTotalData.unfinishedCount;
|