|
@@ -56,7 +56,7 @@
|
|
|
<el-popconfirm
|
|
|
title="确定启用该素材吗?"
|
|
|
v-if="scope.row.status == 6 || scope.row.status == 8 || scope.row.status == 4"
|
|
|
- @confirm="changeStatus(scope.row.creativeId, 10, '启用成功')"
|
|
|
+ @confirm="changeStatus(scope.row.stuffId, 10, '启用成功')"
|
|
|
>
|
|
|
<template #reference>
|
|
|
<el-button link type="primary" size="small">启用</el-button>
|
|
@@ -65,12 +65,21 @@
|
|
|
<el-popconfirm
|
|
|
title="确定禁用该素材吗?"
|
|
|
v-if="scope.row.status == 10"
|
|
|
- @confirm="changeStatus(scope.row.creativeId, 6, '禁用成功')"
|
|
|
+ @confirm="changeStatus(scope.row.stuffId, 6, '禁用成功')"
|
|
|
>
|
|
|
<template #reference>
|
|
|
<el-button link type="primary" size="small">禁用</el-button>
|
|
|
</template>
|
|
|
</el-popconfirm>
|
|
|
+ <el-popconfirm
|
|
|
+ title="确定通过该素材吗?"
|
|
|
+ v-if="scope.row.status == 0"
|
|
|
+ @confirm="changeStatus(scope.row.stuffId, 10, '审核成功')"
|
|
|
+ >
|
|
|
+ <template #reference>
|
|
|
+ <el-button link type="primary" size="small">审核</el-button>
|
|
|
+ </template>
|
|
|
+ </el-popconfirm>
|
|
|
<el-button link type="primary" size="small" @click="() => creatEditPlan(scope.row)">
|
|
|
修改
|
|
|
</el-button>
|