diff --git a/src/components/doctorCheck/PatientRegisterBase2.vue b/src/components/doctorCheck/PatientRegisterBase2.vue index 4ac2324..4be52e3 100644 --- a/src/components/doctorCheck/PatientRegisterBase2.vue +++ b/src/components/doctorCheck/PatientRegisterBase2.vue @@ -470,12 +470,14 @@ export default { // }, // 强制刷新人员登记信息 - "dataTransOpts.refresh.patient_register.S": { + "refParams.brushQueryDisp": { // immediate:true, handler(newVal, oldVal) { - console.log(`watch 组合项目列表 newVal: ${newVal} oldVal: ${oldVal} patient_register.id: ${this.prBase.patientRegisterNo}`); - this.getPatientRegister(this.prBase.patientRegisterNo) + console.log(`watch 组合项目列表 newVal: ${newVal} oldVal: ${oldVal} patientRegisterId: ${this.refParams.id}`); + if(newVal && newVal != oldVal){ + // this.getPatientRegister(this.prBase.patientRegisterNo) // this.dataTransOpts.refresh.register_check.M++ + } } }, diff --git a/src/views/doctorCheck/sumDoctorCheck.vue b/src/views/doctorCheck/sumDoctorCheck.vue index 588eab3..b65c3dd 100644 --- a/src/views/doctorCheck/sumDoctorCheck.vue +++ b/src/views/doctorCheck/sumDoctorCheck.vue @@ -492,7 +492,7 @@
- +
@@ -992,14 +992,30 @@ export default { // 根据人员ID 查询总检数据 triggerQuery(rd) { - console.log('triggerQuery.patientRegisterId', rd) + console.log('triggerQuery.rd', rd) this.patient_register = Object.assign(this.patient_register,rd) - this.refParamsQuery = Object.assign({}, this.refParamsQuery, rd, { brushSummary: Number(this.refParamsQuery.brushSummary) + 1 }) + this.refParamsQuery = Object.assign({}, this.refParamsQuery, rd, + { brushSummary: Number(this.refParamsQuery.brushSummary) + 1 //触发综述建议刷新 + } + ) console.log('this.patient_register',this.patient_register) //brushSummary++ 刷新综述建议 }, + // 人员列表选中数据 + choosedBak(choosedData){ + console.log('choosedBak.choosedData', choosedData) + this.patient_register = Object.assign(this.patient_register,rd) + this.refParamsQuery = Object.assign({}, this.refParamsQuery, rd, + { brushSummary: Number(this.refParamsQuery.brushSummary) + 1 , //触发综述建议刷新 + brushQueryDisp:Number(this.refParamsQuery.brushQueryDisp) + 1 // 触发人员信息刷新 + } + ) + + console.log('this.patient_register',this.patient_register) + }, + // 人员列表按钮 btnPrList() { this.dialogWin.sumPrList = true @@ -2668,7 +2684,6 @@ export default { } } }, - }, };