From cbf3673f34d137c4dab3de9999f329c76638a562 Mon Sep 17 00:00:00 2001 From: huk Date: Tue, 30 Sep 2025 10:45:24 +0800 Subject: [PATCH] =?UTF-8?q?fix(contentManage):=20=E4=BF=AE=E6=94=B9?= =?UTF-8?q?=E8=A7=86=E9=A2=91=E7=A6=81=E6=92=AD=E5=8A=9F=E8=83=BD=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/contentManage/video/index.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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();