|
@@ -115,6 +115,8 @@ export default defineComponent({
|
|
|
mallShareRate: 0,
|
|
|
musicShareAmount: 0,
|
|
|
musicShareRate: 0,
|
|
|
+ albumShareAmount: 0,
|
|
|
+ albumShareRate: 0,
|
|
|
actiRegistShareAmount: 0,
|
|
|
actiRegistShareRate: 0
|
|
|
},
|
|
@@ -158,11 +160,12 @@ export default defineComponent({
|
|
|
result.musicRate,
|
|
|
totalShareRate:
|
|
|
result.vipShareRate +
|
|
|
- result.liveShareRate +
|
|
|
- result.videoShareRate +
|
|
|
- result.musicShareRate +
|
|
|
- result.mallShareRate +
|
|
|
- result.actiRegistShareRate,
|
|
|
+ result.liveShareRate +
|
|
|
+ result.videoShareRate +
|
|
|
+ result.musicShareRate +
|
|
|
+ result.mallShareRate +
|
|
|
+ result.actiRegistShareRate +
|
|
|
+ result.albumShareRate || 0,
|
|
|
totalInAmount: result.totalInAmount || 0,
|
|
|
practiceAmount: result.practiceAmount || 0,
|
|
|
practiceRate: result.practiceRate || 0,
|
|
@@ -182,6 +185,8 @@ export default defineComponent({
|
|
|
mallShareRate: result.mallShareRate || 0,
|
|
|
musicShareAmount: result.musicShareAmount || 0,
|
|
|
musicShareRate: result.musicShareRate || 0,
|
|
|
+ albumShareAmount: result.albumShareAmount || 0,
|
|
|
+ albumShareRate: result.albumShareRate || 0,
|
|
|
actiRegistShareAmount: result.actiRegistShareAmount || 0,
|
|
|
actiRegistShareRate: result.actiRegistShareRate || 0
|
|
|
}
|
|
@@ -197,6 +202,7 @@ export default defineComponent({
|
|
|
videoShareAmount: [] as any,
|
|
|
mallShareAmount: [] as any,
|
|
|
musicShareAmount: [] as any,
|
|
|
+ albumShareAmount: [] as any,
|
|
|
actiRegistShareAmount: [] as any
|
|
|
}
|
|
|
;(result.infoList || []).forEach((item: any) => {
|
|
@@ -214,6 +220,7 @@ export default defineComponent({
|
|
|
lineData.videoShareAmount.push(item.videoShareAmount)
|
|
|
lineData.mallShareAmount.push(item.mallShareAmount)
|
|
|
lineData.musicShareAmount.push(item.musicShareAmount)
|
|
|
+ lineData.albumShareAmount.push(item.albumShareAmount || 0)
|
|
|
lineData.actiRegistShareAmount.push(item.actiRegistShareAmount)
|
|
|
})
|
|
|
// 初始化折线图
|
|
@@ -227,7 +234,8 @@ export default defineComponent({
|
|
|
lineChartOption.series[6].data = lineData.videoShareAmount
|
|
|
lineChartOption.series[7].data = lineData.mallShareAmount
|
|
|
lineChartOption.series[8].data = lineData.musicShareAmount
|
|
|
- lineChartOption.series[9].data = lineData.actiRegistShareAmount
|
|
|
+ lineChartOption.series[9].data = lineData.albumShareAmount
|
|
|
+ lineChartOption.series[10].data = lineData.actiRegistShareAmount
|
|
|
// console.log(lineChartOption)
|
|
|
this.myChart.clear()
|
|
|
this.myChart.setOption(lineChartOption)
|
|
@@ -242,7 +250,8 @@ export default defineComponent({
|
|
|
pieChartOption.series[0].data[6].value = result.videoShareAmount
|
|
|
pieChartOption.series[0].data[7].value = result.mallShareAmount
|
|
|
pieChartOption.series[0].data[8].value = result.musicShareAmount
|
|
|
- pieChartOption.series[0].data[9].value = result.actiRegistShareAmount
|
|
|
+ pieChartOption.series[0].data[9].value = result.albumShareAmount
|
|
|
+ pieChartOption.series[0].data[10].value = result.actiRegistShareAmount
|
|
|
this.myChart2.clear()
|
|
|
this.myChart2.setOption(pieChartOption)
|
|
|
} catch (e) {
|
|
@@ -358,6 +367,15 @@ export default defineComponent({
|
|
|
</div>
|
|
|
</Col>
|
|
|
<Col span={6}>
|
|
|
+ <i class={styles.color10}></i>
|
|
|
+ <div class={styles.type}>
|
|
|
+ <span>专辑推荐</span>
|
|
|
+ <span class={styles.price}>
|
|
|
+ {moneyFormat(this.moneyInfo.musicShareAmount)}
|
|
|
+ </span>
|
|
|
+ </div>
|
|
|
+ </Col>
|
|
|
+ <Col span={6}>
|
|
|
<i class={styles.color9}></i>
|
|
|
<div class={styles.type}>
|
|
|
<span>活动报名</span>
|
|
@@ -435,11 +453,7 @@ export default defineComponent({
|
|
|
<span class={styles.pieTitle}>乐谱</span>
|
|
|
<span>{this.moneyInfo.musicRate}%</span>
|
|
|
</div>
|
|
|
- <div>
|
|
|
- <i class={styles.pie5}></i>
|
|
|
- <span class={styles.pieTitle}>乐谱推荐</span>
|
|
|
- <span>{this.moneyInfo.musicShareRate}%</span>
|
|
|
- </div>
|
|
|
+
|
|
|
<div>
|
|
|
<i class={styles.pie6}></i>
|
|
|
<span class={styles.pieTitle}>活动报名</span>
|
|
@@ -450,6 +464,16 @@ export default defineComponent({
|
|
|
<span class={styles.pieTitle}>商品推荐</span>
|
|
|
<span>{this.moneyInfo.mallShareRate}%</span>
|
|
|
</div>
|
|
|
+ <div>
|
|
|
+ <i class={styles.pie5}></i>
|
|
|
+ <span class={styles.pieTitle}>乐谱推荐</span>
|
|
|
+ <span>{this.moneyInfo.musicShareRate}%</span>
|
|
|
+ </div>
|
|
|
+ <div>
|
|
|
+ <i class={styles.pie7}></i>
|
|
|
+ <span class={styles.pieTitle}>专辑推荐</span>
|
|
|
+ <span>{this.moneyInfo.mallShareRate}%</span>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
|