From dd5c7eb07d66d0e8c4147d26d6995781d899fe0d Mon Sep 17 00:00:00 2001
From: pengjun <158915633@qq.com>
Date: Tue, 27 Jan 2026 22:32:35 +0800
Subject: [PATCH] seo
---
.../doctorCheck/PatientRegisterBase2.vue | 12 +-
.../doctorCheck/PatientRegisterList.vue | 16 +-
.../PatientRegisterForChoose.vue | 5 +-
.../patientRegister/patientRegisterQuery.vue | 20 +-
.../sumDoctorCheck/SumAsbItemStatus.vue | 13 +-
src/views/doctorCheck/sumDoctorCheck.vue | 171 ++++++++++++------
6 files changed, 171 insertions(+), 66 deletions(-)
diff --git a/src/components/doctorCheck/PatientRegisterBase2.vue b/src/components/doctorCheck/PatientRegisterBase2.vue
index 4be52e3..23f3f91 100644
--- a/src/components/doctorCheck/PatientRegisterBase2.vue
+++ b/src/components/doctorCheck/PatientRegisterBase2.vue
@@ -104,7 +104,7 @@
-
+
@@ -192,6 +192,12 @@ export default {
...mapMutations(['doctorCheckPrBaseInit', 'sumPREditInit']),
dddw, moment,
+ // 选择人员返回
+ chooseBak(chooseData){
+ this.prBase.patientRegisterNo = chooseData.patientRegisterNo
+ this.onQueryByOnlyNo('patientRegisterNo')
+ },
+
//查询后触发相关信息处理
afterFind(rd) {
this.$emit("triggerQuery",rd)
@@ -222,6 +228,7 @@ export default {
},
+
// 根据pacs条码查询
onQueryByPacsNo(checkRequestNo) {
postapi('/api/app/PatientRegister/GetPatientRegisterNoByCheckRequestNo', { checkRequestNo }).then(res => {
@@ -477,6 +484,7 @@ export default {
if(newVal && newVal != oldVal){
// this.getPatientRegister(this.prBase.patientRegisterNo)
// this.dataTransOpts.refresh.register_check.M++
+ this.prBase = Object.assign({},this.prBase,this.refParams)
}
}
},
@@ -487,7 +495,7 @@ export default {
handler(newVal, oldVal) {
console.log(`watch.refParams.resetTimes newVal: ${newVal} oldVal: ${oldVal}`);
if(newVal && newVal != oldVal){
- this.prBase = Object.assign(this.prBase,this.prBaseInit)
+ this.prBase = Object.assign({},this.prBase,this.prBaseInit)
}
}
},
diff --git a/src/components/doctorCheck/PatientRegisterList.vue b/src/components/doctorCheck/PatientRegisterList.vue
index 59e821a..1d4bb42 100644
--- a/src/components/doctorCheck/PatientRegisterList.vue
+++ b/src/components/doctorCheck/PatientRegisterList.vue
@@ -5,7 +5,7 @@
@@ -274,7 +274,7 @@ export default {
// })
},
computed: {
- ...mapState(["window", "dataTransOpts", "dict", "customerOrg", "patientRegister", "doctorCheck", "sumDoctorCheck", "report"]),
+ ...mapState(["window", "dialogWin","dataTransOpts", "dict", "customerOrg", "patientRegister", "doctorCheck", "sumDoctorCheck", "report"]),
divHeight() {
if (this.win == "doctorCheck") {
return 210
@@ -372,6 +372,17 @@ export default {
},
+ // 关闭显示窗口
+ closePrList(){
+ this.doctorCheck.doctorCheckDialogVisible = false;
+ this.sumDoctorCheck.sumDoctorCheckDialogVisible = false;
+ // 新的
+ if(this.win == 'doctorCheck'){
+ this.dialogWin.doctorPrList = false
+ }else{
+ this.dialogWin.sumPrList = false
+ }
+ },
//快速选择组合项目时,调整可按拼间简码及简称查找
filterMethod(keyWords) {
@@ -435,6 +446,7 @@ export default {
this.oneClick = 0;
this.DbClick = 0;
+ this.$emit("choosedBak",row)
this.dataTransOpts.tableS.patient_register = deepCopy(row)
// setTimeout(() => {
this.dataTransOpts.refresh.patient_register.S++ //人员体检登记信息刷新
diff --git a/src/components/patientRegister/PatientRegisterForChoose.vue b/src/components/patientRegister/PatientRegisterForChoose.vue
index 59f8e98..6e580a2 100644
--- a/src/components/patientRegister/PatientRegisterForChoose.vue
+++ b/src/components/patientRegister/PatientRegisterForChoose.vue
@@ -162,12 +162,15 @@ export default {
if(!this.tableDataCurrentRow.id){
this.$message.warning({ showClose: true, message: "请选择体检人员!"})
return
- }
+ }
this.dataTransOpts.tableS.patient_register = deepCopy(this.tableDataCurrentRow)
this.dataTransOpts.refresh.patient_register.S++
setTimeout(() => {
this.tableDataCurrentRow = {}
}, 10);
+
+ this.$emit("chooseBak",this.tableDataCurrentRow) //将选中的数据返回到父组件
+
this.dialogWin.PatientRegisterForChoose = false
},
diff --git a/src/components/patientRegister/patientRegisterQuery.vue b/src/components/patientRegister/patientRegisterQuery.vue
index 05018f0..e48de76 100644
--- a/src/components/patientRegister/patientRegisterQuery.vue
+++ b/src/components/patientRegister/patientRegisterQuery.vue
@@ -153,7 +153,7 @@ export default {
customerOrgTopId: "", //单位顶级ID
isSeries: 'N', // 是否连续扫码
photo: '', // 参数控制 读身份证查询时,是否更新照片用
-
+ customerOrgName:'', //部门名称
// 查询条件 ================== Start ======================
dateType: '2', //体检日期
startDate: null,
@@ -251,19 +251,23 @@ export default {
},
changeOrgId(customerOrgId) {
+
+ this.query.customerOrgId = customerOrgId
+ this.query.customerOrgName = this.refParams.customerOrgName
+
if (!customerOrgId || customerOrgId == this.dict.personOrgId) {
- this.query.customerOrgRegister = null
+ this.query.customerOrgTopId = this.dict.personOrgId
+ this.query.customerOrgRegister = null
this.customerOrgRegisterList = []
if (customerOrgId == this.dict.personOrgId) {
- let today = new Date()
+ let today = moment(new Date()).format('yyyy-MM-DD')
this.query.startDate = today
this.query.endDate = today
}
return
}
- this.query.customerOrgId = customerOrgId
- this.query.customerOrgName = this.refParams.customerOrgName
+
// 获取顶级ID (优化无需获取顶级ID)
if (this.refParams?.parentNodes.length > 1) {
@@ -308,11 +312,11 @@ export default {
// 选择体检次数
changeCustomerOrgRegister(v) {
// console.log('changeCustomerOrgRegister')
- this.query.startDate = new Date(v.beginTime)
+ this.query.startDate = moment(new Date(v.beginTime)).format('yyyy-MM-DD')
if (v.isComplete == 'Y') {
- this.query.endDate = new Date(v.endTime)
+ this.query.endDate = moment(new Date(v.endTime)).format('yyyy-MM-DD')
} else {
- this.query.endDate = new Date()
+ this.query.endDate = moment(new Date()).format('yyyy-MM-DD')
}
if (v && v.id) this.getCustomerOrgGroup(v.id)
},
diff --git a/src/components/sumDoctorCheck/SumAsbItemStatus.vue b/src/components/sumDoctorCheck/SumAsbItemStatus.vue
index 563b807..0539c3e 100644
--- a/src/components/sumDoctorCheck/SumAsbItemStatus.vue
+++ b/src/components/sumDoctorCheck/SumAsbItemStatus.vue
@@ -37,7 +37,7 @@ import { getapi, postapi, putapi, deletapi } from "@/api/api";
export default {
components: {},
- props: ['patientRegisterId','tabChoosed'],
+ props: ['patientRegisterId','tabChoosed','brushSummary'],
data() {
return {
data: {
@@ -103,6 +103,17 @@ export default {
}
},
+ // 传入参数控制
+ "brushSummary": {
+ // immediate:true,
+ handler(newVal, oldVal) {
+ console.log(`watch 总检--检查状态汇总 newVal: ${newVal}, oldVal: ${oldVal} patientRegisterId: ${this.patientRegisterId}`);
+ // && this.tabChoosed == '1'
+ if(newVal && newVal != oldVal) this.getSumAsbItemStatus(this.patientRegisterId);
+ }
+ },
+
+
},
};
diff --git a/src/views/doctorCheck/sumDoctorCheck.vue b/src/views/doctorCheck/sumDoctorCheck.vue
index b65c3dd..7188f75 100644
--- a/src/views/doctorCheck/sumDoctorCheck.vue
+++ b/src/views/doctorCheck/sumDoctorCheck.vue
@@ -77,7 +77,7 @@
-
@@ -349,7 +349,8 @@
-
+
@@ -418,16 +419,17 @@
保存
- 修改
+ 修改
- 取消总检
+ 取消总检
- 审核
+ 审核
- 取消审核
+ 取消审核