From b426e6161405726c2a012c60e527a16c564fa22b Mon Sep 17 00:00:00 2001 From: yangjun <1173114630@qq.com> Date: Sat, 12 Oct 2024 13:33:36 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=92=A4=E5=9B=9E=E5=8F=91?= =?UTF-8?q?=E5=B8=83=E7=9A=84=E6=8F=90=E9=86=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/zy/zyInfo/ZyInfoV2List.vue | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/views/zy/zyInfo/ZyInfoV2List.vue b/src/views/zy/zyInfo/ZyInfoV2List.vue index 1aa0451..aa9e80f 100644 --- a/src/views/zy/zyInfo/ZyInfoV2List.vue +++ b/src/views/zy/zyInfo/ZyInfoV2List.vue @@ -877,9 +877,19 @@ function handleAddOne() { //撤回发布 function handleNoScoreFabu(record: Recordable) { - defHttp.post({ url: '/zyInfoStudent/zyInfoStudent/editFabu', params: { id: record.id, scoreFabu: '0' } }).then((res) => { - handleSuccess(); + createConfirm({ + iconType: 'warning', + title: '撤回发布', + content: '您已面向学生发布,是否确定撤回评分', + okText: '确认', + cancelText: '取消', + onOk: () => { + defHttp.post({ url: '/zyInfoStudent/zyInfoStudent/editFabu', params: { id: record.id, scoreFabu: '0' } }).then((res) => { + handleSuccess(); + }); + } }); + } //设置样本