修改撤回发布的提醒

This commit is contained in:
yangjun 2024-10-12 13:33:36 +08:00
parent 2c1e834931
commit b426e61614
1 changed files with 12 additions and 2 deletions

View File

@ -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: '<span style="color:red;font-size:16px">您已面向学生发布,是否确定撤回评分</span>',
okText: '确认',
cancelText: '取消',
onOk: () => {
defHttp.post({ url: '/zyInfoStudent/zyInfoStudent/editFabu', params: { id: record.id, scoreFabu: '0' } }).then((res) => {
handleSuccess();
});
}
});
}
//