Ver Fonte

显示直播id

yuhongqi há 2 semanas atrás
pai
commit
0af9dca3a9

+ 1 - 0
src/views/live/live/index.vue

@@ -145,6 +145,7 @@
     </div>
     <el-table ref="liveTable" v-loading="loading" :data="liveList"  @selection-change="handleSelectionChange">
       <el-table-column type="selection" width="55"></el-table-column>
+      <el-table-column label="直播ID" align="center" prop="liveId" />
       <el-table-column label="直播封面" align="center" prop="liveImgUrl" width="180">
         <template slot-scope="scope">
           <el-image style="width: 90px;height: 90px;" :src="scope.row.liveImgUrl" mode="aspectFill" :preview-src-list="[scope.row.liveImgUrl]" />

+ 1 - 1
src/views/live/liveConfig/liveCoupon.vue

@@ -476,7 +476,7 @@ export default {
     handleAddLiveCoupon(){
       this.couponDialogVisible = true;
       this.getCouponLists();
-      this.getProductOptions();
+      // this.getProductOptions();
     },
     getProductOptions() {
       listOnSaleProducts({ pageNum: 1, pageSize: 1000 }).then(response => {

+ 2 - 2
src/views/live/liveConfig/task.vue

@@ -618,7 +618,7 @@ export default {
           res.rows.forEach(item => {
             // 根据productName和goodsId组装成为label和value
             this.couponOptions.push({
-              value: item.couponId,
+              value: item.id,
               label: item.title
             })
           })
@@ -727,7 +727,7 @@ export default {
         }else if (this.form.taskType == 4) {
           this.form.content = content.lotteryId;
         }else if(this.form.taskType == 5){
-          this.form.content = content.couponId;
+          this.form.content = content.id;
         }else if(this.form.taskType == 6){
           this.form.goodsId = content.goodsId;
           this.form.goodsStatus = content.status;