pengjun 3 months ago
parent
commit
e99619bef2
  1. 8
      src/components/doctorCheck/PatientRegisterBase2.vue
  2. 23
      src/views/doctorCheck/sumDoctorCheck.vue

8
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++
}
}
},

23
src/views/doctorCheck/sumDoctorCheck.vue

@ -492,7 +492,7 @@
<div v-show="dialogWin.sumPrList"
:style="`z-index:3;border-radius: 10px;border: 1px solid #ddd;background-color:#FFF; position: absolute;top:50px;right:120px;width:350px;height: ${window.pageHeight - 42 - 10}px;opacity:1;`">
<PatientRegisterList win="sumDoctorCheck" :winAbsolute="true" />
<PatientRegisterList win="sumDoctorCheck" :winAbsolute="true" @choosedBak="choosedBak"/>
</div>
</div>
@ -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 {
}
}
},
},
};
</script>

Loading…
Cancel
Save