diff --git a/src/views/system/notice/index.vue b/src/views/system/notice/index.vue index 17a1f4f..e61dab8 100644 --- a/src/views/system/notice/index.vue +++ b/src/views/system/notice/index.vue @@ -58,6 +58,7 @@ + + + + + @@ -111,6 +125,7 @@ import Editor from '@/components/Editor' import { listNotice, getNotice, delNotice, addNotice, updateNotice, sendNotice } from '@/api/system/notice' import { getCurrentInstance } from 'vue' +import dayjs from 'dayjs' const { proxy } = getCurrentInstance() const noticeList = ref([]) @@ -274,5 +289,18 @@ function handleNotice(row) { proxy.$modal.msgSuccess('发送通知成功') }) } + +const openPreview = ref(false) +const info = ref(undefined) +const handleOpenPre = function (row) { + openPreview.value = true + info.value = { ...row } +} getList() +