修改危急值模块取消站内信图标
This commit is contained in:
parent
af72564534
commit
a4070d0fa8
@ -16,9 +16,9 @@ export interface WarningVO {
|
|||||||
checkDateTime: Date // 确认时间
|
checkDateTime: Date // 确认时间
|
||||||
remark: string // 备注
|
remark: string // 备注
|
||||||
warningProcess: string // 危急值报告进程:Json格式
|
warningProcess: string // 危急值报告进程:Json格式
|
||||||
readDateTime:string
|
readDateTime: string
|
||||||
receiptDateTime:string
|
receiptDateTime: string
|
||||||
readremark:string
|
readremark: string
|
||||||
}
|
}
|
||||||
|
|
||||||
// 危急值记录 API
|
// 危急值记录 API
|
||||||
@ -52,16 +52,20 @@ export const WarningApi = {
|
|||||||
exportWarning: async (params) => {
|
exportWarning: async (params) => {
|
||||||
return await request.download({ url: `/system/warning/export-excel`, params })
|
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}` })
|
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}` })
|
return await request.get({ url: `/system/warning/updateWarningdate?id=${id}&&readDateTime=${readDateTime}&&receiptDateTime=${receiptDateTime}` })
|
||||||
},
|
},
|
||||||
// 修改危急值记录
|
// 修改危急值记录
|
||||||
SaveupdateWarning: async (data: WarningVO) => {
|
SaveupdateWarning: async (data: WarningVO) => {
|
||||||
return await request.put({ url: `/system/warning/Saveupdate`, data })
|
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}` })
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
@ -56,7 +56,7 @@ onMounted(() => {
|
|||||||
<el-scrollbar class="message-list">
|
<el-scrollbar class="message-list">
|
||||||
<template v-for="item in list" :key="item.id">
|
<template v-for="item in list" :key="item.id">
|
||||||
<div class="message-item">
|
<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">
|
<div class="message-content">
|
||||||
<span class="message-title">
|
<span class="message-title">
|
||||||
{{ item.templateNickname }}:{{ item.templateContent }}
|
{{ item.templateNickname }}:{{ item.templateContent }}
|
||||||
|
@ -5,35 +5,46 @@
|
|||||||
<div class="left-side">
|
<div class="left-side">
|
||||||
<!-- 左边的内容 -->
|
<!-- 左边的内容 -->
|
||||||
<el-timeline style="max-width: 600px">
|
<el-timeline style="max-width: 600px">
|
||||||
<el-timeline-item :timestamp="formattedDate(warintinfo?.reportDate)" placement="top">
|
<el-timeline-item
|
||||||
<span>危急值上报</span>
|
:timestamp="formattedDate(warintinfo?.reportDate)"
|
||||||
|
placement="top"
|
||||||
|
type="primary"
|
||||||
|
:hollow="true"
|
||||||
|
>
|
||||||
|
<span style="font-size: 18px;">危急值上报</span>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item
|
<el-timeline-item
|
||||||
:timestamp="new Date(conreadDateTime).toLocaleString().replace(/\//g, '-')"
|
:timestamp="new Date(conreadDateTime).toLocaleString().replace(/\//g, '-')"
|
||||||
placement="top"
|
placement="top"
|
||||||
|
type="primary"
|
||||||
|
:hollow="true"
|
||||||
>
|
>
|
||||||
<span>检查端收到提醒</span>
|
<span style="font-size: 18px;">检查端收到提醒</span>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item
|
<el-timeline-item
|
||||||
:timestamp="formData.checkDateTime"
|
:timestamp="formData.checkDateTime"
|
||||||
placement="top"
|
placement="top"
|
||||||
|
type="primary"
|
||||||
|
:hollow="true"
|
||||||
v-if="isshowwjztime"
|
v-if="isshowwjztime"
|
||||||
>
|
>
|
||||||
<span>检查端确认危急值</span>
|
<span style="font-size: 18px;">检查端确认危急值</span>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
<el-timeline-item
|
<el-timeline-item
|
||||||
:timestamp="formData.checkDateTime"
|
:timestamp="formData.checkDateTime"
|
||||||
placement="top"
|
placement="top"
|
||||||
|
type="primary"
|
||||||
|
:hollow="true"
|
||||||
v-if="isshowwjztime"
|
v-if="isshowwjztime"
|
||||||
>
|
>
|
||||||
<span>检查端发送确认回执</span>
|
<span style="font-size: 18px;">检查端发送确认回执</span>
|
||||||
</el-timeline-item>
|
</el-timeline-item>
|
||||||
</el-timeline>
|
</el-timeline>
|
||||||
</div>
|
</div>
|
||||||
<div class="right-side">
|
<div class="right-side">
|
||||||
<!-- 基础信息 -->
|
<!-- 基础信息 -->
|
||||||
<div class="info-section">
|
<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-form label-width="80px">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="9">
|
<el-col :span="9">
|
||||||
@ -73,7 +84,7 @@
|
|||||||
|
|
||||||
<!-- 上报信息 -->
|
<!-- 上报信息 -->
|
||||||
<div class="info-section">
|
<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-form label-width="80px">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="9">
|
<el-col :span="9">
|
||||||
@ -107,7 +118,7 @@
|
|||||||
|
|
||||||
<!-- 处理信息 -->
|
<!-- 处理信息 -->
|
||||||
<div class="info-section">
|
<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-form label-width="80px">
|
||||||
<el-row :gutter="24">
|
<el-row :gutter="24">
|
||||||
<el-col :span="7">
|
<el-col :span="7">
|
||||||
@ -188,7 +199,6 @@ const opendiag = async (row) => {
|
|||||||
isshowwjztime.value = false
|
isshowwjztime.value = false
|
||||||
issaveshow.value = false
|
issaveshow.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
receivename.value = Profilevo.value.nickname
|
receivename.value = Profilevo.value.nickname
|
||||||
dealname.value = Profilevo.value.nickname
|
dealname.value = Profilevo.value.nickname
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
@ -204,6 +214,7 @@ async function save() {
|
|||||||
if (data) {
|
if (data) {
|
||||||
isshowwjztime.value = true
|
isshowwjztime.value = true
|
||||||
issaveshow.value = true
|
issaveshow.value = true
|
||||||
|
await WarningApi.sendMessage('144',rowinfo.value.pname)
|
||||||
message.alertSuccess('确认成功')
|
message.alertSuccess('确认成功')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -199,9 +199,9 @@
|
|||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
<!--如果有危急值显示红心-->
|
<!--如果有危急值显示红心-->
|
||||||
<div v-if="scope.row.warning===1">
|
<div v-if="scope.row.warning==='1'" >
|
||||||
<el-tag>
|
<el-tag type="danger" >
|
||||||
<span> <el-icon><Star /></el-icon></span>
|
<span> 危急值</span>
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user