|
@@ -61,7 +61,7 @@
|
|
>
|
|
>
|
|
<el-button slot="reference" class="delCls" type="text">删除</el-button>
|
|
<el-button slot="reference" class="delCls" type="text">删除</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
- <el-popconfirm v-if="scope.row.state === 1" title="确定停止此活动?" @onConfirm="stopFn(scope.row.shopSeckillId)">
|
|
|
|
|
|
+ <el-popconfirm v-if="scope.row.state === 1" title="确定停止此活动?" @confirm="stopFn(scope.row.shopSeckillId)">
|
|
<el-button slot="reference" class="delCls" type="text">停止</el-button>
|
|
<el-button slot="reference" class="delCls" type="text">停止</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
</div>
|
|
</div>
|
|
@@ -205,6 +205,7 @@ export default {
|
|
},
|
|
},
|
|
// 停止秒杀活动
|
|
// 停止秒杀活动
|
|
stopFn(id) {
|
|
stopFn(id) {
|
|
|
|
+ console.log("来了老弟", id);
|
|
seckillStop({ shopSeckillId: id }).then((res) => {
|
|
seckillStop({ shopSeckillId: id }).then((res) => {
|
|
if (res.code === '') {
|
|
if (res.code === '') {
|
|
this.$message.success('停止成功')
|
|
this.$message.success('停止成功')
|