|
@@ -55,15 +55,15 @@
|
|
</vxe-column>
|
|
</vxe-column>
|
|
<vxe-column min-width="180" title="奖品名称" field="prizeName" align="left"></vxe-column>
|
|
<vxe-column min-width="180" title="奖品名称" field="prizeName" align="left"></vxe-column>
|
|
<vxe-column min-width="180" title="奖品数量" field="number" align="left"></vxe-column>
|
|
<vxe-column min-width="180" title="奖品数量" field="number" align="left"></vxe-column>
|
|
- <vxe-column width="90" title="状态" field="switchFlag" align="center">
|
|
|
|
- <template slot-scope="scope">
|
|
|
|
- <span v-if="scope.row.switchFlag === '1'" style="color: #67C23A">已开启</span>
|
|
|
|
- <span v-if="scope.row.switchFlag === '0'" style="color: #F56C6C">已关闭</span>
|
|
|
|
- </template>
|
|
|
|
- </vxe-column>
|
|
|
|
|
|
+<!-- <vxe-column width="90" title="状态" field="switchFlag" align="center">-->
|
|
|
|
+<!-- <template slot-scope="scope">-->
|
|
|
|
+<!-- <span v-if="scope.row.switchFlag === '1'" style="color: #67C23A">已开启</span>-->
|
|
|
|
+<!-- <span v-if="scope.row.switchFlag === '0'" style="color: #F56C6C">已关闭</span>-->
|
|
|
|
+<!-- </template>-->
|
|
|
|
+<!-- </vxe-column>-->
|
|
<vxe-column title="操作" width="200" fixed="right" align="center">
|
|
<vxe-column title="操作" width="200" fixed="right" align="center">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <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: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:del')" type="text" size="small" @click="del(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>
|
|
</template>
|