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(); + }); + } }); + } //设置样本