master
xy 2 years ago
parent 7fa1858308
commit 1973bb563e

@ -47,11 +47,11 @@
@click="$refs['addDrawPrize'].id = row.id,$refs['addDrawPrize'].isShow = true,$refs['addDrawPrize'].type = 'editor'">编辑
</Button>
<Button v-if="row.activity_list_id === 8 && (row.draw_logs_count < row.total)" style="margin-left: 4px;" size="small" type="primary" ghost
<Button v-if="row.activity_list_id === 8 && !(row.draw_logs_count > 0)" style="margin-left: 4px;" size="small" type="primary" ghost
@click="toDraw(1,row)">抽奖
</Button>
<Button v-if="row.activity_list_id === 8 && !(row.draw_logs_count < row.total)" style="margin-left: 4px;" size="small" type="primary" ghost
<Button v-if="row.activity_list_id === 8 && (row.draw_logs_count > 0)" style="margin-left: 4px;" size="small" type="primary" ghost
@click="toDraw(2,row)">中奖结果
</Button>
@ -184,6 +184,13 @@
mounted() {
this.load();
this.loadActivity()
window.onfocus = () => {
this.load();
}
},
destroyed() {
window.onfocus = null;
},
created() {
let type = parseInt(this.$route.path.split("_")[1]);

@ -22,8 +22,8 @@
</el-image>
<div class="info">
<p>奖品 {{ config.draw_prize.price_item }}</p>
<p>本次抽取 {{ config.draw_prize.total }} </p>
<p>奖品 {{ config.draw_prize.price_item }} x {{ config.draw_prize.total }}</p>
<p>本次抽取 {{ config.draw_prize.has_total }} </p>
<p>赞助商 {{ config.draw_prize.apply }}</p>
</div>
</div>

Loading…
Cancel
Save