diff --git a/src/api/alertmessage/index.ts b/src/api/alertmessage/index.ts index 972eca307..ef7145d57 100644 --- a/src/api/alertmessage/index.ts +++ b/src/api/alertmessage/index.ts @@ -6,6 +6,7 @@ export interface AlertMessageVO { alerttype: number // 预警类型:1 SOS/ 2 分析预警 content: string // 预警内容 userid: number // 用户ID + username: string // 用户名称 status: number // 状态:0-未读 1-已读 createtime: Date // 创建时间 updatetime: Date // 更新时间 diff --git a/src/views/notice/analysis.vue b/src/views/notice/analysis.vue deleted file mode 100644 index e69de29bb..000000000 diff --git a/src/views/notice/content.vue b/src/views/notice/content.vue new file mode 100644 index 000000000..e62283b93 --- /dev/null +++ b/src/views/notice/content.vue @@ -0,0 +1,147 @@ + + + + + 预警时间: + {{ formatTime(alertData.createtime) }} + + + + 预警内容: + + {{ alertData.content }} + + + + + + + + + + + + + diff --git a/src/views/notice/sos.vue b/src/views/notice/sos.vue index e69de29bb..8b77998e3 100644 --- a/src/views/notice/sos.vue +++ b/src/views/notice/sos.vue @@ -0,0 +1,166 @@ + + + + + + + + + + + + + + + + + + 搜索 + 重置 + + + + + + + + + + + + + + 未读 + 已读 + + + + + + + 查看内容 + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/views/vip/doctornotice/index.vue b/src/views/vip/doctornotice/index.vue index 82e813fe2..83bde959a 100644 --- a/src/views/vip/doctornotice/index.vue +++ b/src/views/vip/doctornotice/index.vue @@ -162,19 +162,6 @@ const openForm = (id: number) => { formRef.value.open(id) } -/** 删除按钮操作 */ -const handleDelete = async (id: number) => { - try { - // 删除的二次确认 - await message.delConfirm() - // 发起删除 - await DoctornoticeApi.deleteDoctornotice(id) - message.success(t('common.delSuccess')) - // 刷新列表 - await getList() - } catch { } -} - /** 导出按钮操作 */ const handleExport = async () => { try {