dusenyao 3 anni fa
parent
commit
8b559d41f0
1 ha cambiato i file con 5 aggiunte e 3 eliminazioni
  1. 5 3
      src/views/quota/LiveDetail.vue

+ 5 - 3
src/views/quota/LiveDetail.vue

@@ -10,7 +10,9 @@
         <el-table-column prop="live_room_id" label="直播间ID" width="115" />
         <el-table-column prop="live_id" label="直播ID" width="115" />
         <el-table-column label="类型" width="115">
-          <template slot-scope="{ row }"> {{ onlineTypeList[row.online_type].label }} </template>
+          <template slot-scope="{ row }">
+            {{ row.online_type === 1 || row.online_type === 0 ? onlineTypeList[row.online_type].label : '' }}
+          </template>
         </el-table-column>
         <el-table-column prop="person_count" label="人数" width="115" />
         <el-table-column prop="v_duration" label="直播时长" width="115" />
@@ -97,11 +99,11 @@ export default {
     },
     changePage(newPage) {
       this.cur_page = newPage;
-      this.pageQueryOrgQuotaAdjustRecordList();
+      this.pageQueryTaskLiveDetailList();
     },
     changePageSize(pageSize) {
       this.page_capacity = pageSize;
-      this.pageQueryOrgQuotaAdjustRecordList();
+      this.pageQueryTaskLiveDetailList();
     }
   }
 };