|
@@ -63,7 +63,7 @@
|
|
|
</vxe-column>
|
|
|
<vxe-column title="操作" width="200" fixed="right" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <el-button v-if="hasPermission('lucky_draw:events:edit')" type="text" size="small" @click="luckyDraw(scope.row.eventsId,scope.row.number,scope.row.id)">抽奖</el-button>
|
|
|
+ <el-button v-if="hasPermission('lucky_draw:events:edit') &&scope.row.luckyDrawFlag === '0'" type="text" size="small" @click="luckyDraw(scope.row.eventsId,scope.row.number,scope.row.id)">抽奖</el-button>
|
|
|
<!-- <el-button v-if="hasPermission('lucky_draw:events:del')" type="text" size="small" @click="del(scope.row.id)">删除</el-button>-->
|
|
|
|
|
|
</template>
|
|
@@ -166,7 +166,7 @@
|
|
|
luckyDraw (id, number, awardId) {
|
|
|
let param = {id: id, number: number, awardId: awardId}
|
|
|
this.luckyDrawInfoService.save(param)
|
|
|
- // this.refreshList()
|
|
|
+ this.refreshList()
|
|
|
},
|
|
|
// 查看
|
|
|
view (id) {
|