diff --git a/src/api/ECG/processManage/index.ts b/src/api/ECG/processManage/index.ts index e3285677..105b1d9a 100644 --- a/src/api/ECG/processManage/index.ts +++ b/src/api/ECG/processManage/index.ts @@ -1,14 +1,37 @@ import request from '@/config/axios' -/* - * 李传洋 - * ProcessManageApi - */ +export interface ProcessManageVO { + id: string // 主键 + orgId: string // 机构ID + examId: string // 检查ID,一人多个检查的检查id + regId: string // 登记ID :patientid + processOrgId: string // 审核机构id + processorgName: string // 审核机构名称 + processDoctor: string // 审核医生 + processDate: Date // 审核时间 + processContent: string // 申请原因 + applyDoctor: string // 申请医生 + applyDateTime: string // 申请时间 + processstats: number // 审核状态 0申请 1审核 2拒绝 + pname: string // 姓名 + remark?: string // 备注 + refuseremark?: string // 拒绝原因 +} + export const ProcessManageApi = { getPage: async (params: any) => { return await request.get({ url: `/system/process/page`, params }) }, get: async (id: any) => { return await request.get({ url: `/system/process/get?id=` + id }) - } + }, + create: async (data: ProcessManageVO) => { + return await request.post({ url: `/system/process/save`, data }) + }, + update: async (data: ProcessManageVO) => { + return await request.put({ url: `/system/process/update`, data }) + }, + delete: async (id: any) => { + return await request.delete({ url: `/system/process/delete?id=` + id }) + }, } diff --git a/src/views/ECG/ECGForm.vue b/src/views/ECG/ECGForm.vue index dd6e1d63..49607f18 100644 --- a/src/views/ECG/ECGForm.vue +++ b/src/views/ECG/ECGForm.vue @@ -20,7 +20,7 @@ {{ age + '岁' }} 检查编号:{{ rowinfo.examId }} - 检查日期:{{ formatDate(rowinfo.examDate, 'YYYY-MM-DD HH:mm:ss') }} 检查机构: {{ rowinfo.orgName }} @@ -61,6 +61,9 @@ 打印 + 申请返修 危急值 @@ -555,6 +558,7 @@ + +