From 5471a136283f2dda749ea99ee98649d2796a3052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=81=9A=E7=A0=81=E5=86=9C?= <599854767@qq.com> Date: Mon, 13 Nov 2023 19:58:05 +0800 Subject: [PATCH] =?UTF-8?q?:sparkles:=20=E9=80=9A=E7=9F=A5=E5=85=AC?= =?UTF-8?q?=E5=91=8A=E6=96=B0=E5=A2=9E=E9=A2=84=E8=A7=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/notice/index.vue | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) 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() +