Browse Source

直播积分消耗修改

yuhongqi 3 ngày trước cách đây
mục cha
commit
7918b5e5a3
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/views/live/liveRewardRecord/index.vue

+ 2 - 1
src/views/live/liveRewardRecord/index.vue

@@ -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() {