|
|
@@ -52,6 +52,7 @@
|
|
|
style="width: 100%; margin-bottom: 12px;"
|
|
|
>
|
|
|
<el-table-column label="直播名称" prop="liveNameAndId" width="100" align="center" />
|
|
|
+ <el-table-column label="公司主题" prop="companyName" width="100" align="center" />
|
|
|
<el-table-column
|
|
|
v-for="(date, index) in timeSeries"
|
|
|
:key="index"
|
|
|
@@ -161,7 +162,7 @@ export default {
|
|
|
this.tableData = liveList.map(liveItem => {
|
|
|
const dailyData = liveItem.dataList || []
|
|
|
const total = dailyData.reduce((sum, num) => sum + (num || 0), 0)
|
|
|
- return { liveNameAndId: liveItem.liveNameAndId, dailyData, total }
|
|
|
+ return { liveNameAndId: liveItem.liveNameAndId, dailyData, total, companyName: liveItem.companyName }
|
|
|
})
|
|
|
},
|
|
|
handleTimeStepChange() {
|