diff --git a/src/views/contentManage/video/index.vue b/src/views/contentManage/video/index.vue index 1c3f15e..c84082b 100644 --- a/src/views/contentManage/video/index.vue +++ b/src/views/contentManage/video/index.vue @@ -338,17 +338,18 @@ const submitForm = () => { }); }; -/** 删除按钮操作 */ +/** 禁播按钮操作 */ const handleForbid = async (row: CategoryVO) => { - ElMessageBox.confirm('是否确认金币', '警告', { + ElMessageBox.confirm('是否确认禁播', '警告', { confirmButtonText: '确定', cancelButtonText: '取消', type: 'warning' }).then(async () => { - const res = await updateaforbid(row.id); + const data: Formaget = { vlogId: row.id, status: 4, reason: '视频禁播' }; + const res = await updateaudit(data); if (res.code == 200) { ElMessage({ - message: '删除成功', + message: '处理成功', type: 'success' }); getList();