修改危急值模块取消站内信图标

This commit is contained in:
lxd 2024-12-05 17:30:27 +08:00
parent af72564534
commit a4070d0fa8
4 changed files with 39 additions and 24 deletions

View File

@ -16,9 +16,9 @@ export interface WarningVO {
checkDateTime: Date // 确认时间
remark: string // 备注
warningProcess: string // 危急值报告进程Json格式
readDateTime:string
receiptDateTime:string
readremark:string
readDateTime: string
receiptDateTime: string
readremark: string
}
// 危急值记录 API
@ -53,15 +53,19 @@ export const WarningApi = {
return await request.download({ url: `/system/warning/export-excel`, params })
},
// 查询患者危急值记录详情
getexmidororgiddata: async (examId: String,orgId: String) => {
getexmidororgiddata: async (examId: String, orgId: String) => {
return await request.get({ url: `/system/warning/getexmidororgiddata?examID=${examId}&&orgID=${orgId}` })
},
// 查询患者危急值记录详情
updateWarningdate: async (id:String,readDateTime: String,receiptDateTime: String) => {
updateWarningdate: async (id: String, readDateTime: String, receiptDateTime: String) => {
return await request.get({ url: `/system/warning/updateWarningdate?id=${id}&&readDateTime=${readDateTime}&&receiptDateTime=${receiptDateTime}` })
},
// 修改危急值记录
SaveupdateWarning: async (data: WarningVO) => {
return await request.put({ url: `/system/warning/Saveupdate`, data })
},
// 发送站内消息
sendMessage: async (userid: String, name: String) => {
return await request.get({ url: `/system/warning/sendMessage?userid=${userid}&&name=${name}` })
},
}

View File

@ -56,7 +56,7 @@ onMounted(() => {
<el-scrollbar class="message-list">
<template v-for="item in list" :key="item.id">
<div class="message-item">
<img alt="" class="message-icon" src="@/assets/imgs/avatar.gif" />
<!-- <img alt="" class="message-icon" src="@/assets/imgs/avatar.gif" /> 不显示图标-->
<div class="message-content">
<span class="message-title">
{{ item.templateNickname }}{{ item.templateContent }}

View File

@ -5,35 +5,46 @@
<div class="left-side">
<!-- 左边的内容 -->
<el-timeline style="max-width: 600px">
<el-timeline-item :timestamp="formattedDate(warintinfo?.reportDate)" placement="top">
<span>危急值上报</span>
<el-timeline-item
:timestamp="formattedDate(warintinfo?.reportDate)"
placement="top"
type="primary"
:hollow="true"
>
<span style="font-size: 18px;">危急值上报</span>
</el-timeline-item>
<el-timeline-item
:timestamp="new Date(conreadDateTime).toLocaleString().replace(/\//g, '-')"
placement="top"
type="primary"
:hollow="true"
>
<span>检查端收到提醒</span>
<span style="font-size: 18px;">检查端收到提醒</span>
</el-timeline-item>
<el-timeline-item
:timestamp="formData.checkDateTime"
placement="top"
type="primary"
:hollow="true"
v-if="isshowwjztime"
>
<span>检查端确认危急值</span>
<span style="font-size: 18px;">检查端确认危急值</span>
</el-timeline-item>
<el-timeline-item
:timestamp="formData.checkDateTime"
placement="top"
type="primary"
:hollow="true"
v-if="isshowwjztime"
>
<span>检查端发送确认回执</span>
<span style="font-size: 18px;">检查端发送确认回执</span>
</el-timeline-item>
</el-timeline>
</div>
<div class="right-side">
<!-- 基础信息 -->
<div class="info-section">
<div class="section-title">基础信息</div>
<div class="section-title"><span style="margin-left: 5px;" >基础信息</span></div>
<el-form label-width="80px">
<el-row :gutter="24">
<el-col :span="9">
@ -73,7 +84,7 @@
<!-- 上报信息 -->
<div class="info-section">
<div class="section-title">上报信息</div>
<div class="section-title"><span style="margin-left: 5px;" >上报信息</span></div>
<el-form label-width="80px">
<el-row :gutter="24">
<el-col :span="9">
@ -107,7 +118,7 @@
<!-- 处理信息 -->
<div class="info-section">
<div class="section-title">处理信息</div>
<div class="section-title"><span style="margin-left: 5px;" >处理信息</span></div>
<el-form label-width="80px">
<el-row :gutter="24">
<el-col :span="7">
@ -188,7 +199,6 @@ const opendiag = async (row) => {
isshowwjztime.value = false
issaveshow.value = false
}
receivename.value = Profilevo.value.nickname
dealname.value = Profilevo.value.nickname
dialogVisible.value = true
@ -204,6 +214,7 @@ async function save() {
if (data) {
isshowwjztime.value = true
issaveshow.value = true
await WarningApi.sendMessage('144',rowinfo.value.pname)
message.alertSuccess('确认成功')
}
}

View File

@ -199,9 +199,9 @@
</el-tag>
</div>
<!--如果有危急值显示红心-->
<div v-if="scope.row.warning===1">
<el-tag>
<span> <el-icon><Star /></el-icon></span>
<div v-if="scope.row.warning==='1'" >
<el-tag type="danger" >
<span> 危急值</span>
</el-tag>
</div>
</div>