|
@@ -61,10 +61,10 @@
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
<el-button type="text" @click="addOrEdit('edit', scope.row.secKillId)">编辑</el-button>
|
|
<el-button type="text" @click="addOrEdit('edit', scope.row.secKillId)">编辑</el-button>
|
|
<template>
|
|
<template>
|
|
- <el-popconfirm v-if="scope.row.status" style="margin-left: 10px;" title="确定关闭吗?" @onConfirm="changeActivityStatus(scope.row.secKillId, 0)" >
|
|
|
|
|
|
+ <el-popconfirm v-if="scope.row.status" style="margin-left: 10px;" title="确定关闭吗?" @confirm="changeActivityStatus(scope.row.secKillId, 0)" >
|
|
<el-button slot="reference" type="text">关闭</el-button>
|
|
<el-button slot="reference" type="text">关闭</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
- <el-popconfirm v-else style="margin-left: 10px;" title="确定开启吗?" @onConfirm="changeActivityStatus(scope.row.secKillId, 1)" >
|
|
|
|
|
|
+ <el-popconfirm v-else style="margin-left: 10px;" title="确定开启吗?" @confirm="changeActivityStatus(scope.row.secKillId, 1)" >
|
|
<el-button slot="reference" type="text">开启</el-button>
|
|
<el-button slot="reference" type="text">开启</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
</template>
|
|
</template>
|
|
@@ -133,14 +133,14 @@
|
|
|
|
|
|
<el-table-column align="center" label="操作" width="180">
|
|
<el-table-column align="center" label="操作" width="180">
|
|
<template slot-scope="scope">
|
|
<template slot-scope="scope">
|
|
- <el-popconfirm title="确定删除吗?" @onConfirm="deleteGoods(scope.row.secKillSpecId)" >
|
|
|
|
|
|
+ <el-popconfirm title="确定删除吗?" @confirm="deleteGoods(scope.row.secKillSpecId)" >
|
|
<el-button slot="reference" type="text">删除</el-button>
|
|
<el-button slot="reference" type="text">删除</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
<template>
|
|
<template>
|
|
- <el-popconfirm v-if="scope.row.status == 1 || scope.row.status == 2" style="margin-left: 10px;" title="确定关闭吗?" @onConfirm="changeGoodsStatus(scope.row.secKillSpecId, 0)" >
|
|
|
|
|
|
+ <el-popconfirm v-if="scope.row.status == 1 || scope.row.status == 2" style="margin-left: 10px;" title="确定关闭吗?" @confirm="changeGoodsStatus(scope.row.secKillSpecId, 0)" >
|
|
<el-button slot="reference" type="text">关闭</el-button>
|
|
<el-button slot="reference" type="text">关闭</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
- <el-popconfirm v-if="scope.row.status == 4" style="margin-left: 10px;" title="确定开启吗?" @onConfirm="changeGoodsStatus(scope.row.secKillSpecId, 1)" >
|
|
|
|
|
|
+ <el-popconfirm v-if="scope.row.status == 4" style="margin-left: 10px;" title="确定开启吗?" @confirm="changeGoodsStatus(scope.row.secKillSpecId, 1)" >
|
|
<el-button slot="reference" type="text">开启</el-button>
|
|
<el-button slot="reference" type="text">开启</el-button>
|
|
</el-popconfirm>
|
|
</el-popconfirm>
|
|
</template>
|
|
</template>
|