增加列表显示危急值标识
This commit is contained in:
parent
3b8b2c1dcb
commit
af72564534
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -62,7 +62,7 @@
|
|||||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||||
},
|
},
|
||||||
"[typescript]": {
|
"[typescript]": {
|
||||||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
"editor.defaultFormatter": "vscode.typescript-language-features"
|
||||||
},
|
},
|
||||||
"[typescriptreact]": {
|
"[typescriptreact]": {
|
||||||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint"
|
||||||
|
@ -22,7 +22,7 @@ export interface PatientexamlistVO {
|
|||||||
diagResults: string // 诊断结论
|
diagResults: string // 诊断结论
|
||||||
diagDate: Date // 下诊断结论的时间:年月日时分秒
|
diagDate: Date // 下诊断结论的时间:年月日时分秒
|
||||||
diagDoctor: string // 诊断医生
|
diagDoctor: string // 诊断医生
|
||||||
diagDoctorId:string
|
diagDoctorId: string
|
||||||
reviewDoctor: string // 审核医生
|
reviewDoctor: string // 审核医生
|
||||||
reviewDate: Date // 审核日期:年月日时分秒
|
reviewDate: Date // 审核日期:年月日时分秒
|
||||||
thumbnailImgUrl: string // 缩略图oss url, httP:oss url
|
thumbnailImgUrl: string // 缩略图oss url, httP:oss url
|
||||||
@ -30,20 +30,20 @@ export interface PatientexamlistVO {
|
|||||||
regId: string // 登记单号
|
regId: string // 登记单号
|
||||||
diagFlag: string // 阴性阳性标记
|
diagFlag: string // 阴性阳性标记
|
||||||
deviceName: string // 影像设备名称
|
deviceName: string // 影像设备名称
|
||||||
notes:string//备注
|
notes: string//备注
|
||||||
billDoctorDepartment:string// 开单科室 送检科室
|
billDoctorDepartment: string// 开单科室 送检科室
|
||||||
StudyInsta:string
|
StudyInsta: string
|
||||||
isFavourite:string //是否收藏
|
isFavourite: string //是否收藏
|
||||||
pdfurl:String//pdf地址
|
pdfurl: String//pdf地址
|
||||||
warning:String//是否有危急值
|
warning: String//是否有危急值
|
||||||
applyhighLevelname:String//申请上级机构医生
|
applyhighLevelname: String//申请上级机构医生
|
||||||
}
|
}
|
||||||
export interface inspdfscreenshotVO {
|
export interface inspdfscreenshotVO {
|
||||||
|
|
||||||
id: string // 主键
|
id: string // 主键
|
||||||
imagebase: string // 图片
|
imagebase: string // 图片
|
||||||
model:string//类型 0 接口 1ftp
|
model: string//类型 0 接口 1ftp
|
||||||
folderPath:string //
|
folderPath: string //
|
||||||
}
|
}
|
||||||
// PACS检查列表 API
|
// PACS检查列表 API
|
||||||
export const PatientexamlistApi = {
|
export const PatientexamlistApi = {
|
||||||
@ -77,46 +77,51 @@ export const PatientexamlistApi = {
|
|||||||
return await request.download({ url: `/tblist/patientexamlist/export-excel`, params })
|
return await request.download({ url: `/tblist/patientexamlist/export-excel`, params })
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
getuporghiid: async (id: number,orgId:String) => {
|
|
||||||
return await request.get({ url: `/tblist/patientexamlist/UPDATEHigOrg?id=${id}&&orgId=${orgId}` })
|
|
||||||
},
|
|
||||||
|
|
||||||
// 超声保存修改
|
getuporghiid: async (id: number, orgId: String) => {
|
||||||
examineupdatelist: async (data: PatientexamlistVO) => {
|
return await request.get({ url: `/tblist/patientexamlist/UPDATEHigOrg?id=${id}&&orgId=${orgId}` })
|
||||||
|
},
|
||||||
|
|
||||||
|
// 超声保存修改
|
||||||
|
examineupdatelist: async (data: PatientexamlistVO) => {
|
||||||
return await request.put({ url: `/tblist/patientexamlist/examineupdate`, data })
|
return await request.put({ url: `/tblist/patientexamlist/examineupdate`, data })
|
||||||
},
|
},
|
||||||
|
|
||||||
// 超声审核
|
// 超声审核
|
||||||
examine: async (id: String) => {
|
examine: async (id: String) => {
|
||||||
return await request.get({ url: `/tblist/patientexamlist/examine?id=` + id })
|
return await request.get({ url: `/tblist/patientexamlist/examine?id=` + id })
|
||||||
},
|
},
|
||||||
|
|
||||||
// dicom数据同步
|
// dicom数据同步
|
||||||
dicomDataSync: async () => {
|
dicomDataSync: async () => {
|
||||||
return await request.get({ url: `/tblist/patientexamlist/dicomDataSync` })
|
return await request.get({ url: `/tblist/patientexamlist/dicomDataSync` })
|
||||||
},
|
},
|
||||||
|
|
||||||
|
// 分检数据刷新
|
||||||
|
dicomDataRefresh: async () => {
|
||||||
|
return await request.get({ url: `/tblist/patientexamlist/dicomDataRefresh` })
|
||||||
|
},
|
||||||
|
|
||||||
|
// 获取已检查全部的阴性阳性重大阳性统计
|
||||||
|
WholeDiagFlagCount: async () => {
|
||||||
|
return await request.get({ url: `/tblist/patientexamlist/WholeDiagFlagCount` })
|
||||||
|
},
|
||||||
|
// 获取一周已检查全部的阴性阳性重大阳性统计
|
||||||
|
GetDateYYZDYXCount: async () => {
|
||||||
|
return await request.get({ url: `/tblist/patientexamlist/GetDateYYZDYXCount` })
|
||||||
|
},
|
||||||
|
|
||||||
|
// 收藏功能
|
||||||
|
CollectAndCancellation: async (id: String, type: string) => {
|
||||||
|
return await request.get({ url: `/tblist/patientexamlist/CollectAndCancellation?id=${id}&&type=${type}` })
|
||||||
|
},
|
||||||
|
|
||||||
|
ftppdf: async (data: inspdfscreenshotVO) => {
|
||||||
|
return await request.post({ url: `/tblist/patientexamlist/ftppdf`, data })
|
||||||
|
},
|
||||||
|
// 更新危急值标识
|
||||||
|
Updatetblistwarning: async (id: String, type: string) => {
|
||||||
|
return await request.get({ url: `/tblist/patientexamlist/Updatetblistwarning?id=${id}&&type=${type}` })
|
||||||
|
},
|
||||||
|
|
||||||
// 分检数据刷新
|
|
||||||
dicomDataRefresh: async () => {
|
|
||||||
return await request.get({ url: `/tblist/patientexamlist/dicomDataRefresh` })
|
|
||||||
},
|
|
||||||
|
|
||||||
// 获取已检查全部的阴性阳性重大阳性统计
|
|
||||||
WholeDiagFlagCount: async () => {
|
|
||||||
return await request.get({ url: `/tblist/patientexamlist/WholeDiagFlagCount`})
|
|
||||||
},
|
|
||||||
// 获取一周已检查全部的阴性阳性重大阳性统计
|
|
||||||
GetDateYYZDYXCount: async () => {
|
|
||||||
return await request.get({ url: `/tblist/patientexamlist/GetDateYYZDYXCount`})
|
|
||||||
},
|
|
||||||
|
|
||||||
// 收藏功能
|
|
||||||
CollectAndCancellation: async (id: String,type:string) => {
|
|
||||||
return await request.get({ url: `/tblist/patientexamlist/CollectAndCancellation?id=${id}&&type=${type}`})
|
|
||||||
},
|
|
||||||
|
|
||||||
ftppdf: async (data:inspdfscreenshotVO) => {
|
|
||||||
return await request.post({ url: `/tblist/patientexamlist/ftppdf`,data})
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@
|
|||||||
<el-button type="primary" plain @click="openECGDialog" v-if="isshowwjz"
|
<el-button type="primary" plain @click="openECGDialog" v-if="isshowwjz"
|
||||||
><el-icon><Warning /></el-icon>危急值</el-button
|
><el-icon><Warning /></el-icon>危急值</el-button
|
||||||
>
|
>
|
||||||
<el-button type="primary" plain @click="openreprotdiag" v-if="isshowysb"
|
<el-button type="danger" plain @click="openreprotdiag" v-if="isshowysb"
|
||||||
><el-icon><Check /></el-icon>已上报</el-button
|
><el-icon><Check /></el-icon>已上报</el-button
|
||||||
>
|
>
|
||||||
</el-button-group>
|
</el-button-group>
|
||||||
@ -559,6 +559,7 @@ import ReportInfoECG from '@/views/applyregistration/reportPrintStatistics/Repor
|
|||||||
import htmlToPdf from '@/utils/htmlPdf'
|
import htmlToPdf from '@/utils/htmlPdf'
|
||||||
import ECGWarningDialog from '@/views/ECG/ECGWaring/ECGWarningDialog.vue'
|
import ECGWarningDialog from '@/views/ECG/ECGWaring/ECGWarningDialog.vue'
|
||||||
import ECGReport from '@/views/ECG/ECGWaring/ECGReport.vue'
|
import ECGReport from '@/views/ECG/ECGWaring/ECGReport.vue'
|
||||||
|
import { WarningApi, WarningVO } from '@/api/system/warning'
|
||||||
|
|
||||||
/** 提交表单 */
|
/** 提交表单 */
|
||||||
const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调
|
const emit = defineEmits(['success']) // 定义 success 事件,用于操作成功后的回调
|
||||||
@ -593,7 +594,7 @@ const imagebase64 = ref('')
|
|||||||
const isprintimage = ref(false) //是否生成打印文件base64
|
const isprintimage = ref(false) //是否生成打印文件base64
|
||||||
const ECGDialog = ref() //危急值消息弹窗
|
const ECGDialog = ref() //危急值消息弹窗
|
||||||
const isshowwjz = ref(false)
|
const isshowwjz = ref(false)
|
||||||
const isshowysb=ref(false)
|
const isshowysb = ref(false)
|
||||||
const ECGReportDialog = ref() //危急值消息弹窗
|
const ECGReportDialog = ref() //危急值消息弹窗
|
||||||
// 树配置项
|
// 树配置项
|
||||||
const treeDefaultProps = {
|
const treeDefaultProps = {
|
||||||
@ -636,9 +637,13 @@ const open = async (row: any) => {
|
|||||||
eltextrow.value = integer
|
eltextrow.value = integer
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//判断是否显示危急值上报功能 条件是当前机构等于上级机构
|
//查询当前患者的危急值相关信息
|
||||||
isshowwjz.value=Profilevo.value.orgId===row.highLevelOrgId?true:false
|
const warningdata = await WarningApi.getexmidororgiddata(row.examId, row.orgId)
|
||||||
isshowysb.value=Profilevo.value.orgId===row.orgId?true:false
|
//判断是否显示危急值上报功能 条件是当前机构等于上级机构
|
||||||
|
isshowwjz.value = Profilevo.value.orgId === row.highLevelOrgId ? true : false
|
||||||
|
if (warningdata.reportDate) {
|
||||||
|
isshowysb.value = Profilevo.value.orgId === row.orgId ? true : false
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// 返回的列表的数据
|
// 返回的列表的数据
|
||||||
|
@ -1,10 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<el-dialog
|
<el-dialog v-model="dialogVisible" title="危急值上报详情" width="1000px" style="height: 720px">
|
||||||
v-model="dialogVisible"
|
|
||||||
title="危急值上报详情"
|
|
||||||
width="1000px"
|
|
||||||
style="height: 720px"
|
|
||||||
>
|
|
||||||
<div class="modal">
|
<div class="modal">
|
||||||
<div class="modal-content">
|
<div class="modal-content">
|
||||||
<div class="left-side">
|
<div class="left-side">
|
||||||
@ -164,7 +159,7 @@ const warintinfo = ref()
|
|||||||
const rowinfo = ref() //外面传递的患者信息
|
const rowinfo = ref() //外面传递的患者信息
|
||||||
const conreadDateTime = ref() //检查段收到时间
|
const conreadDateTime = ref() //检查段收到时间
|
||||||
const Profilevo = ref<ProfileVO>({} as ProfileVO) //当前登录人信息
|
const Profilevo = ref<ProfileVO>({} as ProfileVO) //当前登录人信息
|
||||||
const issaveshow=ref(false)//是否显示保存按钮
|
const issaveshow = ref(false) //是否显示保存按钮
|
||||||
const receivename = ref() //接受医生
|
const receivename = ref() //接受医生
|
||||||
const dealname = ref() //处理医生
|
const dealname = ref() //处理医生
|
||||||
const isshowwjztime = ref(false) //是否显示确认危急值时间
|
const isshowwjztime = ref(false) //是否显示确认危急值时间
|
||||||
@ -173,11 +168,10 @@ const opendiag = async (row) => {
|
|||||||
rowinfo.value = row
|
rowinfo.value = row
|
||||||
resetForm()
|
resetForm()
|
||||||
await getlogininfo() // 使用 ISO 格式的时间字符串
|
await getlogininfo() // 使用 ISO 格式的时间字符串
|
||||||
|
|
||||||
//查询当前患者的危急值相关信息
|
//查询当前患者的危急值相关信息
|
||||||
const data = await WarningApi.getexmidororgiddata(rowinfo.value.examId, rowinfo.value.orgId)
|
const data = await WarningApi.getexmidororgiddata(rowinfo.value.examId, rowinfo.value.orgId)
|
||||||
warintinfo.value = data
|
warintinfo.value = data
|
||||||
|
|
||||||
//处理时间轴相关
|
//处理时间轴相关
|
||||||
if (!data.readDateTime) {
|
if (!data.readDateTime) {
|
||||||
await updatereadDateTime(data.id)
|
await updatereadDateTime(data.id)
|
||||||
@ -188,11 +182,11 @@ const opendiag = async (row) => {
|
|||||||
if (data.checkDateTime) {
|
if (data.checkDateTime) {
|
||||||
formData.value.checkDateTime = formattedDate(data.checkDateTime)
|
formData.value.checkDateTime = formattedDate(data.checkDateTime)
|
||||||
isshowwjztime.value = true
|
isshowwjztime.value = true
|
||||||
issaveshow.value=true
|
issaveshow.value = true
|
||||||
} else {
|
} else {
|
||||||
formData.value.checkDateTime = new Date().toLocaleString().replace(/\//g, '-')
|
formData.value.checkDateTime = new Date().toLocaleString().replace(/\//g, '-')
|
||||||
isshowwjztime.value = false
|
isshowwjztime.value = false
|
||||||
issaveshow.value=false
|
issaveshow.value = false
|
||||||
}
|
}
|
||||||
|
|
||||||
receivename.value = Profilevo.value.nickname
|
receivename.value = Profilevo.value.nickname
|
||||||
@ -209,7 +203,7 @@ async function save() {
|
|||||||
const data = await WarningApi.SaveupdateWarning(savedata)
|
const data = await WarningApi.SaveupdateWarning(savedata)
|
||||||
if (data) {
|
if (data) {
|
||||||
isshowwjztime.value = true
|
isshowwjztime.value = true
|
||||||
issaveshow.value=true
|
issaveshow.value = true
|
||||||
message.alertSuccess('确认成功')
|
message.alertSuccess('确认成功')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -267,8 +261,8 @@ const resetForm = () => {
|
|||||||
warningProcess: undefined,
|
warningProcess: undefined,
|
||||||
readremark: undefined
|
readremark: undefined
|
||||||
}
|
}
|
||||||
//重置一下数据
|
//重置一下数据
|
||||||
warintinfo.value=''
|
warintinfo.value = ''
|
||||||
}
|
}
|
||||||
defineExpose({ opendiag }) // 提供 open 方法,用于打开弹窗
|
defineExpose({ opendiag }) // 提供 open 方法,用于打开弹窗
|
||||||
/** 提交表单 */
|
/** 提交表单 */
|
||||||
|
@ -63,6 +63,7 @@ import { ref } from 'vue'
|
|||||||
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
import { getUserProfile, ProfileVO } from '@/api/system/user/profile'
|
||||||
import { WarningApi, WarningVO } from '@/api/system/warning'
|
import { WarningApi, WarningVO } from '@/api/system/warning'
|
||||||
import { ReportPrintStatisticsApi } from '@/api/applyregistration/reportPrintStatistics'
|
import { ReportPrintStatisticsApi } from '@/api/applyregistration/reportPrintStatistics'
|
||||||
|
import { PatientexamlistApi, PatientexamlistVO } from '@/api/tblist/patientexamlist'
|
||||||
const { t } = useI18n() // 国际化
|
const { t } = useI18n() // 国际化
|
||||||
const message = useMessage() // 消息弹窗
|
const message = useMessage() // 消息弹窗
|
||||||
const orgInfo = ref<any>('')
|
const orgInfo = ref<any>('')
|
||||||
@ -103,7 +104,7 @@ const opendiag = async (type, row) => {
|
|||||||
//上报医生
|
//上报医生
|
||||||
formData.value.reportDoctor = Profilevo.value.nickname
|
formData.value.reportDoctor = Profilevo.value.nickname
|
||||||
}
|
}
|
||||||
|
|
||||||
formLoading.value = false
|
formLoading.value = false
|
||||||
dialogVisible.value = true
|
dialogVisible.value = true
|
||||||
}
|
}
|
||||||
@ -126,6 +127,8 @@ async function report() {
|
|||||||
const data = formData.value as unknown as WarningVO
|
const data = formData.value as unknown as WarningVO
|
||||||
const re = await WarningApi.createWarning(data)
|
const re = await WarningApi.createWarning(data)
|
||||||
if (re) {
|
if (re) {
|
||||||
|
//更新数据列表的危急值状态
|
||||||
|
await PatientexamlistApi.Updatetblistwarning(rowinfo.value.id, '1')
|
||||||
message.alertSuccess('上报成功')
|
message.alertSuccess('上报成功')
|
||||||
}
|
}
|
||||||
dialogVisible.value = false
|
dialogVisible.value = false
|
||||||
|
@ -198,6 +198,12 @@
|
|||||||
<span>已申请</span>
|
<span>已申请</span>
|
||||||
</el-tag>
|
</el-tag>
|
||||||
</div>
|
</div>
|
||||||
|
<!--如果有危急值显示红心-->
|
||||||
|
<div v-if="scope.row.warning===1">
|
||||||
|
<el-tag>
|
||||||
|
<span> <el-icon><Star /></el-icon></span>
|
||||||
|
</el-tag>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
|
Loading…
Reference in New Issue
Block a user