From 9dc798ea39e5cf19ed0aac7ec69f38f6c6d569f9 Mon Sep 17 00:00:00 2001 From: lichuanyang <1176537920@qq.com> Date: Mon, 26 Aug 2024 23:52:54 +0800 Subject: [PATCH] =?UTF-8?q?=E6=89=B9=E9=87=8F=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../applyregistration/deviceManage/index.ts | 10 +- .../diagnosisTemplate/index.ts | 10 +- .../applyregistration/exampartManage/index.ts | 12 +- .../applyregistration/illnessCase/index.ts | 2 +- .../reportPrintStatistics/index.ts | 2 +- .../reservationInfo/index.ts | 2 +- .../deviceManage/DeviceManageForm.vue | 17 +- .../applyregistration/deviceManage/index.vue | 39 +- .../DiagnosisTemplateForm.vue | 15 +- .../diagnosisTemplate/index.vue | 36 +- .../exampartManage/ExampartManageForm.vue | 9 - .../exampartManage/index.vue | 24 +- .../applyregistration/illnessCase/index.vue | 57 ++- .../reportPrintStatistics/ReportInfoCT.vue | 168 +++++++ .../reportPrintStatistics/ReportInfoUS.vue | 170 +++++++ .../reportPrintStatistics/index.vue | 419 +++++++----------- .../reservationInfo/index.vue | 9 - 17 files changed, 623 insertions(+), 378 deletions(-) create mode 100644 src/views/applyregistration/reportPrintStatistics/ReportInfoCT.vue create mode 100644 src/views/applyregistration/reportPrintStatistics/ReportInfoUS.vue diff --git a/src/api/applyregistration/deviceManage/index.ts b/src/api/applyregistration/deviceManage/index.ts index 68f11fc6..2a06f1e1 100644 --- a/src/api/applyregistration/deviceManage/index.ts +++ b/src/api/applyregistration/deviceManage/index.ts @@ -13,18 +13,18 @@ export const DeviceManageApi = { return await request.get({ url: `/system/department/getlist` }) }, getPage: async (params: any) => { - return await request.get({ url: `/test/device/page`, params }) + return await request.get({ url: `/system/device/page`, params }) }, get: async (id: any) => { - return await request.get({ url: `/test/device/get?id=`+ id }) + return await request.get({ url: `/system/device/get?id=`+ id }) }, create: async (data: any) => { - return await request.post({ url: `/test/device/create`, data }) + return await request.post({ url: `/system/device/create`, data }) }, update: async (data: any) => { - return await request.put({ url: `/test/device/update`, data }) + return await request.put({ url: `/system/device/update`, data }) }, delete: async (id: any) => { - return await request.delete({ url: `/test/device/delete?id=` + id }) + return await request.delete({ url: `/system/device/delete?id=` + id }) }, } diff --git a/src/api/applyregistration/diagnosisTemplate/index.ts b/src/api/applyregistration/diagnosisTemplate/index.ts index 78225696..fc9a3423 100644 --- a/src/api/applyregistration/diagnosisTemplate/index.ts +++ b/src/api/applyregistration/diagnosisTemplate/index.ts @@ -13,18 +13,18 @@ export const DiagnosisTemplateApi = { return await request.get({ url: `/doctor/getAlllist` }) }, getPage: async (params: any) => { - return await request.get({ url: `/test/reporttemplate/page`, params }) + return await request.get({ url: `/system/reporttemplate/page`, params }) }, get: async (id: any) => { - return await request.get({ url: `/test/reporttemplate/get?id=`+ id }) + return await request.get({ url: `/system/reporttemplate/get?id=`+ id }) }, create: async (data: any) => { - return await request.post({ url: `/test/reporttemplate/create`, data }) + return await request.post({ url: `/system/reporttemplate/create`, data }) }, update: async (data: any) => { - return await request.put({ url: `/test/reporttemplate/update`, data }) + return await request.put({ url: `/system/reporttemplate/update`, data }) }, delete: async (id: any) => { - return await request.delete({ url: `/test/reporttemplate/delete?id=` + id }) + return await request.delete({ url: `/system/reporttemplate/delete?id=` + id }) }, } diff --git a/src/api/applyregistration/exampartManage/index.ts b/src/api/applyregistration/exampartManage/index.ts index 1a894b65..a2272dc3 100644 --- a/src/api/applyregistration/exampartManage/index.ts +++ b/src/api/applyregistration/exampartManage/index.ts @@ -10,22 +10,22 @@ export const ExampartManageApi = { return await request.get({ url: `/org/org/getlist` }) }, getPage: async (params: any) => { - return await request.get({ url: `/test/exampart/page`, params }) + return await request.get({ url: `/system/exampart/page`, params }) }, get: async (id: any) => { - return await request.get({ url: `/test/exampart/get?id=`+ id }) + return await request.get({ url: `/system/exampart/get?id=`+ id }) }, create: async (data: any) => { - return await request.post({ url: `/test/exampart/create`, data }) + return await request.post({ url: `/system/exampart/create`, data }) }, update: async (data: any) => { - return await request.put({ url: `/test/exampart/update`, data }) + return await request.put({ url: `/system/exampart/update`, data }) }, delete: async (id: any) => { - return await request.delete({ url: `/test/exampart/delete?id=` + id }) + return await request.delete({ url: `/system/exampart/delete?id=` + id }) }, getexampartlist: async () => { - return await request.get({ url: `/test/exampart/getlist` }) + return await request.get({ url: `/system/exampart/getlist` }) }, } diff --git a/src/api/applyregistration/illnessCase/index.ts b/src/api/applyregistration/illnessCase/index.ts index ad1b50f3..54598d10 100644 --- a/src/api/applyregistration/illnessCase/index.ts +++ b/src/api/applyregistration/illnessCase/index.ts @@ -7,7 +7,7 @@ import request from '@/config/axios' export const IllnessCaseApi = { /* 测试方法 */ getDeviceList: async () => { - return await request.get({ url: `/test/device/getlist` }) + return await request.get({ url: `/system/device/getlist` }) }, getExamitemsList: async () => { return await request.get({ url: `/examitems/examitems/getlist` }) diff --git a/src/api/applyregistration/reportPrintStatistics/index.ts b/src/api/applyregistration/reportPrintStatistics/index.ts index b1bbf6ab..36ab3ea9 100644 --- a/src/api/applyregistration/reportPrintStatistics/index.ts +++ b/src/api/applyregistration/reportPrintStatistics/index.ts @@ -7,7 +7,7 @@ import request from '@/config/axios' export const ReportPrintStatisticsApi = { /* 测试方法 */ getDeviceList: async () => { - return await request.get({ url: `/test/device/getlist` }) + return await request.get({ url: `/system/device/getlist` }) }, getPage: async (params: any) => { return await request.get({ url: `/tblist/patientexamlist/pageReportPrintStatistics`, params }) diff --git a/src/api/applyregistration/reservationInfo/index.ts b/src/api/applyregistration/reservationInfo/index.ts index d2be2787..5ad65bd4 100644 --- a/src/api/applyregistration/reservationInfo/index.ts +++ b/src/api/applyregistration/reservationInfo/index.ts @@ -7,7 +7,7 @@ import request from '@/config/axios' export const ReservationInfoApi = { /* 测试方法 */ getDeviceList: async () => { - return await request.get({ url: `/test/device/getlist` }) + return await request.get({ url: `/system/device/getlist` }) }, getDepartmentList: async () => { return await request.get({ url: `/system/department/getlist` }) diff --git a/src/views/applyregistration/deviceManage/DeviceManageForm.vue b/src/views/applyregistration/deviceManage/DeviceManageForm.vue index 9a90a3ad..390117a9 100644 --- a/src/views/applyregistration/deviceManage/DeviceManageForm.vue +++ b/src/views/applyregistration/deviceManage/DeviceManageForm.vue @@ -40,10 +40,14 @@ clearable class="item-width" > - + + - + + + + @@ -204,14 +208,7 @@ const formType = ref('') const orgList = ref([]) const departmentList = ref([]) //表单核心 -const formData0 = ref({ - pageNo: 1, - pageSize: 10, - doctorName: undefined, - departmentName: undefined -}) const formData = ref({ - /** 测试数据 **/ id: '', deviceName: '', deviceStatus: '', @@ -232,7 +229,6 @@ const deviceDepartmentInfo = ref() /****** 自定义内容 ******/ const resetForm = async () => { formData.value = { - /** 测试数据 **/ id: '', deviceName: '', deviceStatus: '', @@ -325,7 +321,6 @@ onMounted(async () => { /** 防空作用域 **/ console.log(dateFormatter) -console.log(formData0) //console.log(null) /** 导出内容 **/ diff --git a/src/views/applyregistration/deviceManage/index.vue b/src/views/applyregistration/deviceManage/index.vue index e1f86f58..9f5c3cd0 100644 --- a/src/views/applyregistration/deviceManage/index.vue +++ b/src/views/applyregistration/deviceManage/index.vue @@ -63,10 +63,14 @@ clearable class="item-width" > - + + - + + + + @@ -89,6 +93,9 @@ > 搜索 + + 重置 + @@ -179,17 +186,10 @@ const message = useMessage() const { t } = useI18n() const departmentList = ref([]) //表单核心 -const queryParams0 = ref({ - pageNo: 1, - pageSize: 10, - doctorName: undefined, - departmentName: undefined -}) const queryParams = ref({ pageNo: 1, pageSize: 10, - /** 测试数据 **/ - deviceDesc: undefined, + deviceDesc: '', departmentCode: '', deviceDepartment: '', deviceName: '', @@ -234,11 +234,27 @@ const getList = async () => { } } -const handleQuery = () => { +const handleQuery = async () => { queryParams.value.pageNo = 1 getList() } +const resetQuery = async () => { + queryParams.value = { + pageNo: 1, + pageSize: 10, + deviceDesc: '', + departmentCode: '', + deviceDepartment: '', + deviceName: '', + deviceType: '', + deviceModel: '' + } + deviceDepartmentInfo.value = undefined + queryFormRef.value?.clearValidate() + handleQuery() +} + /** 钩子方法 **/ onMounted(async () => { departmentList.value = await DeviceManageApi.getDepartmentList() @@ -248,7 +264,6 @@ onMounted(async () => { /** 防空作用域 **/ console.log(dateFormatter) console.log(download) -console.log(queryParams0) //console.log(null) /** 导出内容 **/ diff --git a/src/views/applyregistration/diagnosisTemplate/DiagnosisTemplateForm.vue b/src/views/applyregistration/diagnosisTemplate/DiagnosisTemplateForm.vue index af9d1903..4e73180a 100644 --- a/src/views/applyregistration/diagnosisTemplate/DiagnosisTemplateForm.vue +++ b/src/views/applyregistration/diagnosisTemplate/DiagnosisTemplateForm.vue @@ -123,14 +123,7 @@ const formType = ref('') const orgList = ref([]) const doctorList = ref([]) //表单核心 -const formData0 = ref({ - pageNo: 1, - pageSize: 10, - doctorName: undefined, - departmentName: undefined -}) const formData = ref({ - /** 测试数据 **/ templateName: '', examDescription: '', diagResults: '', @@ -159,11 +152,6 @@ const open = async (type: string, id?: number) => { } /****** 可参考内容 ******/ -const openTest = () => { - dialogVisible.value = true - //清空内容 -} - /** 组件事件 **/ const submitForm = async () => { formLoading.value = true @@ -194,11 +182,10 @@ onMounted(async () => { console.log(dateFormatter) console.log(message) console.log(t) -console.log(formData0) //console.log(null) /** 导出内容 **/ -defineExpose({ open, openTest }) +defineExpose({ open }) /** * 备注: * diff --git a/src/views/applyregistration/diagnosisTemplate/index.vue b/src/views/applyregistration/diagnosisTemplate/index.vue index bd9c8d83..642a1bd7 100644 --- a/src/views/applyregistration/diagnosisTemplate/index.vue +++ b/src/views/applyregistration/diagnosisTemplate/index.vue @@ -21,25 +21,25 @@ /> - + - - 全部 - 公共 - 私有 + + 全部 + 公共 + 私有 - + 搜索 + + 重置 + @@ -47,7 +47,7 @@ - + { getList() } +const resetQuery = async () => { + /* aaaaa */ + queryFormRef.value?.clearValidate() + handleQuery() +} + /** 钩子方法 **/ onMounted(() => { getList() @@ -185,9 +184,6 @@ onMounted(() => { /** 防空作用域 **/ console.log(dateFormatter) console.log(download) -console.log(message) -console.log(t) -console.log(queryParams0) //console.log(null) /** 导出内容 **/ diff --git a/src/views/applyregistration/exampartManage/ExampartManageForm.vue b/src/views/applyregistration/exampartManage/ExampartManageForm.vue index 21ed01a9..05704e98 100644 --- a/src/views/applyregistration/exampartManage/ExampartManageForm.vue +++ b/src/views/applyregistration/exampartManage/ExampartManageForm.vue @@ -104,14 +104,7 @@ const formLoading = ref(false) const formType = ref('') const orgList = ref([]) //表单核心 -const formData0 = ref({ - pageNo: 1, - pageSize: 10, - doctorName: undefined, - departmentName: undefined -}) const formData = ref({ - /** 测试数据 **/ id: '', examPartCode: '', examPartName: '', @@ -122,7 +115,6 @@ const formData = ref({ /****** 自定义内容 ******/ const resetForm = async () => { formData.value = { - /** 测试数据 **/ id: '', examPartCode: '', examPartName: '', @@ -188,7 +180,6 @@ onMounted(async () => { /** 防空作用域 **/ console.log(dateFormatter) -console.log(formData0) //console.log(null) /** 导出内容 **/ diff --git a/src/views/applyregistration/exampartManage/index.vue b/src/views/applyregistration/exampartManage/index.vue index 051bdc32..93bd9b70 100644 --- a/src/views/applyregistration/exampartManage/index.vue +++ b/src/views/applyregistration/exampartManage/index.vue @@ -38,6 +38,9 @@ > 搜索 + + 重置 + @@ -124,16 +127,9 @@ const formRef = ref() const message = useMessage() const { t } = useI18n() //表单核心 -const queryParams0 = ref({ - pageNo: 1, - pageSize: 10, - doctorName: undefined, - departmentName: undefined -}) const queryParams = ref({ pageNo: 1, pageSize: 10, - /** 测试数据 **/ examPartName: '', examPartCode: '' }) @@ -169,11 +165,22 @@ const getList = async () => { } } -const handleQuery = () => { +const handleQuery = async () => { queryParams.value.pageNo = 1 getList() } +const resetQuery = async () => { + queryParams.value = { + pageNo: 1, + pageSize: 10, + examPartName: '', + examPartCode: '' + } + queryFormRef.value?.clearValidate() + handleQuery() +} + /** 钩子方法 **/ onMounted(() => { getList() @@ -182,7 +189,6 @@ onMounted(() => { /** 防空作用域 **/ console.log(dateFormatter) console.log(download) -console.log(queryParams0) //console.log(null) /** 导出内容 **/ diff --git a/src/views/applyregistration/illnessCase/index.vue b/src/views/applyregistration/illnessCase/index.vue index 36a2638c..2c61fe78 100644 --- a/src/views/applyregistration/illnessCase/index.vue +++ b/src/views/applyregistration/illnessCase/index.vue @@ -95,10 +95,14 @@ clearable class="item-width" > - + + - + + + + @@ -107,8 +111,8 @@ 全部 阴性 - 阳性 - 重大阳性 + 阳性 + 重大阳性 @@ -178,6 +182,9 @@ > 搜索 + + 重置 + @@ -202,6 +209,13 @@ + - ([]) const examitemsList = ref([]) //表单核心 -const queryParams0 = ref({ - pageNo: 1, - pageSize: 10, - doctorName: undefined, - departmentName: undefined -}) const queryParams = ref({ pageNo: 1, pageSize: 10, - /** 测试数据 **/ regId: '', examId: '', examDate_ge: '', @@ -403,6 +403,26 @@ const handleQuery = async () => { getList() } +const resetQuery = async () => { + queryParams.value = { + pageNo: 1, + pageSize: 10, + regId: '', + examId: '', + examDate_ge: '', + examDate_le: '', + deviceType: '', + deviceName: '', + diagFlag: '', + examItemName: '', + reportstatus: '', + pname: '', + gender: '' + } + queryFormRef.value?.clearValidate() + handleQuery() +} + const handleRowClick = async (row) => { examitemsDesc.value = row ? row.examDescription : '' diagnosisDesc.value = row ? row.diagResults : '' @@ -421,7 +441,6 @@ console.log(dateFormatter) console.log(download) console.log(message) console.log(t) -console.log(queryParams0) //console.log(null) /** 导出内容 **/ diff --git a/src/views/applyregistration/reportPrintStatistics/ReportInfoCT.vue b/src/views/applyregistration/reportPrintStatistics/ReportInfoCT.vue new file mode 100644 index 00000000..d6797ba0 --- /dev/null +++ b/src/views/applyregistration/reportPrintStatistics/ReportInfoCT.vue @@ -0,0 +1,168 @@ + + + + + diff --git a/src/views/applyregistration/reportPrintStatistics/ReportInfoUS.vue b/src/views/applyregistration/reportPrintStatistics/ReportInfoUS.vue new file mode 100644 index 00000000..9ddf2478 --- /dev/null +++ b/src/views/applyregistration/reportPrintStatistics/ReportInfoUS.vue @@ -0,0 +1,170 @@ + + + + + diff --git a/src/views/applyregistration/reportPrintStatistics/index.vue b/src/views/applyregistration/reportPrintStatistics/index.vue index 6569b779..32af220f 100644 --- a/src/views/applyregistration/reportPrintStatistics/index.vue +++ b/src/views/applyregistration/reportPrintStatistics/index.vue @@ -94,12 +94,15 @@ > 搜索 + + 重置 + - + - + + - - +
- + - -
-
-

超声检查报告单

-
-
-

门诊号:{{ infoParams.regId }}

-

姓名:{{ infoParams.pname }}

-

性别:{{ infoParams.gender }}

-

年龄:{{ age }}岁

-

检查号:{{ infoParams.examId }}

-

检查项目:{{ infoParams.examItemName }}

-

设备:{{ infoParams.deviceName }}

-

送检科室:{{ infoParams.billDoctorDepartment }}

-
-
-

超声图像:

- -
-

超声所见:

-

{{ infoParams.examDescription }}

-
-
-

超声提示:

-

{{ infoParams.diagResults }}

-
-
-

医生签名:{{ infoParams.reviewDoctor }}

+ +
+
+
+ + 打印 + +
- -
- 打印 +
+ +
+
-
-
- - -

科右前旗康立寿医院

-
- -

CT检查报告单

-
-
-
- - -
患者编号:
-
{{ infoParams.regId }}
-
- -
检查编号:
-
{{ infoParams.examId }}
-
-
-
-
-

门诊号:{{ infoParams.regId }}

-

姓名:{{ infoParams.pname }}

-

性别:{{ infoParams.gender }}

-

年龄:{{ age }}岁

-

检查号:{{ infoParams.examId }}

-

检查项目:{{ infoParams.examItemName }}

-

设备:{{ infoParams.deviceName }}

-

送检科室:{{ infoParams.billDoctorDepartment }}

-
-
-
-

检查项目:

-

{{ infoParams.examItemName }}

-
-
-

影像学表现:

-

{{ infoParams.examDescription }}

-
-
-

影像学诊断:

-

{{ infoParams.diagResults }}

-
-
-
- - 报告医师:{{ infoParams.diagDoctor }} - 报告日期:{{ - formatDate(infoParams.diagDate as unknown as Date, 'YYYY-MM-DD') - }} + +
+
+
+ + - 审核医师:{{ infoParams.reviewDoctor }} - 审核日期:{{ - formatDate(infoParams.reviewDate as unknown as Date, 'YYYY-MM-DD') - }} - + 批量打印 + + + +
+
+
+
+
@@ -532,10 +464,11 @@