From 7628120b072490ab55c05ed26a8e20d98b6fa274 Mon Sep 17 00:00:00 2001 From: Euni4U <958079825@qq.com> Date: Wed, 4 Dec 2024 19:17:17 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E5=BF=83=E7=94=B5=E5=8D=B1?= =?UTF-8?q?=E6=80=A5=E5=80=BC=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/system/warning/index.ts | 119 ++++--- src/api/tblist/patientexamlist/index.ts | 2 + src/views/ECG/ECGForm.vue | 45 ++- src/views/ECG/ECGWaring/ECGReport.vue | 307 ++++++++++++++++++ src/views/ECG/ECGWaring/ECGWarningDialog.vue | 164 ++++++++++ src/views/tblist/patientexamlistECG/index.vue | 8 +- 6 files changed, 577 insertions(+), 68 deletions(-) create mode 100644 src/views/ECG/ECGWaring/ECGReport.vue create mode 100644 src/views/ECG/ECGWaring/ECGWarningDialog.vue diff --git a/src/api/system/warning/index.ts b/src/api/system/warning/index.ts index 824ffd85..0c53408f 100644 --- a/src/api/system/warning/index.ts +++ b/src/api/system/warning/index.ts @@ -1,52 +1,67 @@ -import request from '@/config/axios' - -// 危急值记录 VO -export interface WarningVO { - id: string // 主键 - orgId: string // 机构ID - examId: string // 检查ID,一人多个检查的检查id - regId: string // 登记ID :patientid - reportOrgId: string // 上报机构id - reportorgName: string // 上报机构名称 - reportDoctor: string // 上报医生 - reportDate: Date // 上报时间 - warningContent: string // 危急值内容 - receiveDoctor: string // 危急值接收医生 - dealDoctor: string // 处理医生 - checkDateTime: Date // 确认时间 - remark: string // 备注 - warningProcess: string // 危急值报告进程:Json格式 -} - -// 危急值记录 API -export const WarningApi = { - // 查询危急值记录分页 - getWarningPage: async (params: any) => { - return await request.get({ url: `/system/warning/page`, params }) - }, - - // 查询危急值记录详情 - getWarning: async (id: number) => { - return await request.get({ url: `/system/warning/get?id=` + id }) - }, - - // 新增危急值记录 - createWarning: async (data: WarningVO) => { - return await request.post({ url: `/system/warning/create`, data }) - }, - - // 修改危急值记录 - updateWarning: async (data: WarningVO) => { - return await request.put({ url: `/system/warning/update`, data }) - }, - - // 删除危急值记录 - deleteWarning: async (id: number) => { - return await request.delete({ url: `/system/warning/delete?id=` + id }) - }, - - // 导出危急值记录 Excel - exportWarning: async (params) => { - return await request.download({ url: `/system/warning/export-excel`, params }) - }, -} \ No newline at end of file +import request from '@/config/axios' + +// 危急值记录 VO +export interface WarningVO { + id: string // 主键 + orgId: string // 机构ID + examId: string // 检查ID,一人多个检查的检查id + regId: string // 登记ID :patientid + reportOrgId: string // 上报机构id + reportorgName: string // 上报机构名称 + reportDoctor: string // 上报医生 + reportDate: Date // 上报时间 + warningContent: string // 危急值内容 + receiveDoctor: string // 危急值接收医生 + dealDoctor: string // 处理医生 + checkDateTime: Date // 确认时间 + remark: string // 备注 + warningProcess: string // 危急值报告进程:Json格式 + readDateTime:string + receiptDateTime:string + readremark:string +} + +// 危急值记录 API +export const WarningApi = { + // 查询危急值记录分页 + getWarningPage: async (params: any) => { + return await request.get({ url: `/system/warning/page`, params }) + }, + + // 查询危急值记录详情 + getWarning: async (id: number) => { + return await request.get({ url: `/system/warning/get?id=` + id }) + }, + + // 新增危急值记录 + createWarning: async (data: WarningVO) => { + return await request.post({ url: `/system/warning/create`, data }) + }, + + // 修改危急值记录 + updateWarning: async (data: WarningVO) => { + return await request.put({ url: `/system/warning/update`, data }) + }, + + // 删除危急值记录 + deleteWarning: async (id: number) => { + return await request.delete({ url: `/system/warning/delete?id=` + id }) + }, + + // 导出危急值记录 Excel + exportWarning: async (params) => { + return await request.download({ url: `/system/warning/export-excel`, params }) + }, + // 查询患者危急值记录详情 + 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) => { + 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 }) + }, +} diff --git a/src/api/tblist/patientexamlist/index.ts b/src/api/tblist/patientexamlist/index.ts index 6a6a3536..3dca2ac7 100644 --- a/src/api/tblist/patientexamlist/index.ts +++ b/src/api/tblist/patientexamlist/index.ts @@ -35,6 +35,8 @@ export interface PatientexamlistVO { StudyInsta:string isFavourite:string //是否收藏 pdfurl:String//pdf地址 + warning:String//是否有危急值 + applyhighLevelname:String//申请上级机构医生 } export interface inspdfscreenshotVO { diff --git a/src/views/ECG/ECGForm.vue b/src/views/ECG/ECGForm.vue index da6980d5..ffb02427 100644 --- a/src/views/ECG/ECGForm.vue +++ b/src/views/ECG/ECGForm.vue @@ -61,6 +61,12 @@ 打印 + 危急值 + 已上报 @@ -465,6 +471,8 @@ /> + + + + diff --git a/src/views/ECG/ECGWaring/ECGWarningDialog.vue b/src/views/ECG/ECGWaring/ECGWarningDialog.vue new file mode 100644 index 00000000..d3653ea5 --- /dev/null +++ b/src/views/ECG/ECGWaring/ECGWarningDialog.vue @@ -0,0 +1,164 @@ + + + + + diff --git a/src/views/tblist/patientexamlistECG/index.vue b/src/views/tblist/patientexamlistECG/index.vue index d3144c12..1c3c3d92 100644 --- a/src/views/tblist/patientexamlistECG/index.vue +++ b/src/views/tblist/patientexamlistECG/index.vue @@ -348,7 +348,7 @@ const openultrForm = (row:any) => { const clickNumber = ref(0) function handleEdit(row) { console.log(111111121212) - if (row.deviceType.includes('US')) { + if (row.deviceType.includes('ECG')) { //US是超声类 openultrForm(row) @@ -409,7 +409,7 @@ function nowDate(time) { const getList = async () => { loading.value = true try { - queryParams.deviceType = 'US' + queryParams.deviceType = 'ECG' const data = await PatientexamlistApi.getPatientexamlistPage(queryParams) list.value = data.list total.value = data.total @@ -421,7 +421,7 @@ const getList = async () => { const selectcollect = () => { queryFormRef.value.resetFields() queryParams.pageNo = 1 - queryParams.deviceType = 'US' + queryParams.deviceType = 'ECG' queryParams.isFavourite = '1' getList() } @@ -458,7 +458,7 @@ const dicomDataSync = async () => { const handleQuery = () => { queryParams.pageNo = 1 queryParams.isFavourite = '' - queryParams.deviceType = 'US' + queryParams.deviceType = 'ECG' getList() }