From 5769b34c7ef553f8a3d4f7b30ceeaf3eaac532c1 Mon Sep 17 00:00:00 2001 From: pengjun <158915633@qq.com> Date: Sat, 20 Dec 2025 17:12:08 +0800 Subject: [PATCH] seo --- .../patientRegister/PatientRegisterEdit.vue | 195 +++++++++++------- .../patientRegister/PatientRegisterItem.vue | 37 ++-- .../patientRegister/PatientRegisterList.vue | 6 +- .../PatientRegisterRecoverList.vue | 1 + 4 files changed, 146 insertions(+), 93 deletions(-) diff --git a/src/components/patientRegister/PatientRegisterEdit.vue b/src/components/patientRegister/PatientRegisterEdit.vue index d2308ad..afa5479 100644 --- a/src/components/patientRegister/PatientRegisterEdit.vue +++ b/src/components/patientRegister/PatientRegisterEdit.vue @@ -12,12 +12,6 @@
职业病
-
- 读身份证 -
-
- 拍照 -
个人预约
@@ -62,10 +56,11 @@ - - + - + @@ -85,32 +80,31 @@ - - - - - - - - + - + + + + + + + @@ -146,16 +140,20 @@ + + + + + + + - - - - - - - - - + + - + @@ -471,43 +465,71 @@
-
新增
-
- 复制新增 +
+ 读身份证 +
+
+ 拍照
保存
- -
- 检验单申请 +
+ 复制新增 +
+ +
+ 指引单+条码 +
+
+ 指引单打印
-
条码打印
-
- 条码补打 -
-
- 指引单打印 +
+ + + 更多…… + + + + 指引单预览 + 条码补打 + 检验单申请 + 条码合并 + 手动合并项目 + + +
条码合并
手动合并项目
+ --> + +
全个人支付 @@ -544,8 +566,8 @@ - - + + - - + + - - - + + + 取消 @@ -614,9 +636,7 @@ :append-to-body="true">
+ filterable popper-class="example" :props="{ ...customerOrg.treeprops, leaf: 'isLeaf' }" size="small">
@@ -1388,6 +1408,9 @@ export default { // 获取登记信息 初始form表单数据 initFormData(patientRegisterId) { return new Promise((resolve, reject) => { + this.peoplePhoto = '' // 清掉照片 + this.form.photo = '' + this.peisid = window.sessionStorage.getItem('peisid'); let customerOrgId, customerOrgName, customerOrgParentId if (this.patientRegister.query.customerOrgId) { @@ -1401,7 +1424,6 @@ export default { } this.preCustomerOrgId = this.patientRegister.query.customerOrgId if (!patientRegisterId) { //添加 - this.peoplePhoto = '' // 清掉照片 this.form = Object.assign({}, this.form, this.formInit) this.form.registerCheckAsbitems = [] this.form.medicalCenterId = this.peisid; //体检中收 @@ -1433,7 +1455,7 @@ export default { }) }, - // 根据体检单位ID,获取体检类别 + // 根据体检单位ID,获取体检类别、人员类别,介绍人 getMedicalTypeByOrg(customerOrgId) { return new Promise((resolve, reject) => { postapi('/api/app/Customerorg/GetMedicalTypeIdByCustomerOrgId', { customerOrgId }) @@ -1441,6 +1463,7 @@ export default { if (res.code > -1) { this.form.medicalTypeId = res.data.medicalTypeId this.form.personnelTypeId = res.data.personnelTypeId + this.form.salesman = res.data.salesPerson } }) }) @@ -1605,7 +1628,7 @@ export default { } else { // 更换了顶级单位时,要更换体检次数 if (customerOrgParentId != this.form.customerOrgParentId) { - this.form.customerOrgRegisterId = '' + this.form.customerOrgRegisterId = '' if (customerOrgRegisterList.length > 0) { this.form.customerOrgRegisterId = customerOrgRegisterList[customerOrgRegisterList.length - 1].id } @@ -1790,7 +1813,7 @@ export default { // isNameContinue 身份证号查重后是否姓名查重 changeIdNo(isNameContinue) { if (!this.form.idNo) return - this.Query(this.form.idNo,isNameContinue) + this.Query(this.form.idNo, isNameContinue) let ret = parseID(this.form.idNo) // console.log('changeIdNo',ret) if (ret.age != -1) { @@ -1819,12 +1842,12 @@ export default { //根据姓名,身份证号 查询档案信息,用于判断人员多次体检 // isNameContinue 身份证号查重后是否姓名查重 - Query(param,isNameContinue) { + Query(param, isNameContinue) { this.patientChoosed = { id: '' } // 清空之前的选择 - + //编辑的时候不查重 if (this.form.id || !param) return; - + //// console.log(`/api/app/patient/in-filter?Filter=${param}`) let body = { filter: param, @@ -1839,9 +1862,9 @@ export default { if (res.data && res.data.length > 0) { this.patientList = res.data; this.dialogVisible = true; - }else{ + } else { // 读身份证没 - if(isNameContinue == 'Y' && this.LocalConfig.patientRegister.findPatientByName){ + if (isNameContinue == 'Y' && this.LocalConfig.patientRegister.findPatientByName) { this.Query(this.form.patientName) } } @@ -2445,10 +2468,19 @@ export default { }) }, + // 处理照片 getPeoplePhoto(photo) { this.peoplePhoto = photoParse(photo) }, + // 指引单 + 条码 + guideLabelPrint(isPreview){ + this.guidePrint('0001',isPreview) + .then(() => { + return this.labelPrint(isPreview) + }) + }, + // 打印指引单(isPreview) guidePrint(ReportCode, isPreview) { return new Promise((resolve, reject) => { @@ -2879,7 +2911,30 @@ export default { }); }, - //补打条码 + // 更多…… + btnMoreOpr(oprType) { + switch (oprType) { + case "指引单预览": + this.guidePrint('0001', true) + break; + case "条码补打": + this.btnLabel() + break; + case "检验单申请": + this.lisRequest() + break; + case "条码合并": + this.reLisRequest() + break; + case "手动合并项目": + this.reMergeAsbitem() + break; + default: + break; + } + }, + + //条码合并 reLisRequest() { if (!this.form.id) { this.$message.info({ showClose: true, message: "人员信息尚未保存,不可执行此操作!" }); diff --git a/src/components/patientRegister/PatientRegisterItem.vue b/src/components/patientRegister/PatientRegisterItem.vue index af7ebb8..d22cfb3 100644 --- a/src/components/patientRegister/PatientRegisterItem.vue +++ b/src/components/patientRegister/PatientRegisterItem.vue @@ -138,7 +138,7 @@ - +