wip: 🚧 通知公告重构临时提交

This commit is contained in:
ray
2024-09-27 08:40:00 +08:00
parent 060fe452a2
commit b797acbb49
17 changed files with 340 additions and 367 deletions

View File

@@ -184,7 +184,7 @@
type="primary"
size="small"
link
@click="recallNotice(scope.row.id)"
@click="revokeNotice(scope.row.id)"
>
撤回
</el-button>
@@ -415,8 +415,8 @@ function releaseNotice(id: number) {
});
}
function recallNotice(id: number) {
NoticeAPI.recallNotice(id).then((res) => {
function revokeNotice(id: number) {
NoticeAPI.revokeNotice(id).then((res) => {
ElMessage.success("撤回成功");
handleQuery();
});