mirror of
https://github.com/FatttSnake/Pinnacle-OA.git
synced 2026-04-05 23:11:24 +08:00
AlRead and ToRead function have been compeled,another add rightClick menu
This commit is contained in:
@@ -14,7 +14,12 @@
|
||||
>发布公告</el-button
|
||||
>
|
||||
<!-- 添加公告对话框-->
|
||||
<el-dialog v-model="dialogAddVisible" center>
|
||||
<el-dialog
|
||||
v-model="dialogAddVisible"
|
||||
center
|
||||
:close-on-click-modal="false"
|
||||
:before-close="handleDialogClose"
|
||||
>
|
||||
<template #header>
|
||||
<h2 style="color: red">发布公告</h2>
|
||||
</template>
|
||||
@@ -73,6 +78,15 @@ export default {
|
||||
}
|
||||
})
|
||||
},
|
||||
handleDialogClose() {
|
||||
noticeStore.$patch((state) => {
|
||||
state.dialogEditVisible = false
|
||||
state.dialogAddVisible = false
|
||||
state.dialogShowVisible = false
|
||||
state.editFlag = false
|
||||
state.hackReset = false
|
||||
})
|
||||
},
|
||||
handleDeleteById(deleteID) {
|
||||
ElMessageBox.confirm('确定是否要删除?该操作将无法回退', '警告', {
|
||||
confirmButtonText: '确定',
|
||||
|
||||
Reference in New Issue
Block a user