pengjun 2 years ago
parent
commit
45c05b8943
  1. 15
      src/components/patientRegister/PatientRegisterEdit.vue
  2. 5
      src/components/patientRegister/PatientRegisterList.vue
  3. 2
      src/store/index.js

15
src/components/patientRegister/PatientRegisterEdit.vue

@ -1789,7 +1789,7 @@ export default {
watch: {
//ID
"dataTransOpts.refresh.patient_register.S": {
immediate: true,
// immediate: true,
handler(newVal, oldVal) {
console.log(`watch 人员登记 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.patient_register.id}`);
this.initFormData(this.dataTransOpts.tableS.patient_register.id)
@ -1816,6 +1816,19 @@ export default {
}
},
//
//
"dataTransOpts.plus.clearPatientRegisterQuery":{
immediate:true,
handler(newVal, oldVal) {
console.log('从体检人员登记列表 点登记,触发',newVal, oldVal)
if(newVal != oldVal){
this.preCustomerOrgId = this.patientRegister.query.customerOrgId
console.log('this.preCustomerOrgId',this.preCustomerOrgId)
}
}
},
},
};
</script>

5
src/components/patientRegister/PatientRegisterList.vue

@ -592,11 +592,10 @@ export default {
this.dataTransOpts.tableS.patient_register.id = ''
this.dialogWin.PatientRegisterEdit = true;
this.dataTransOpts.plus.clearPatientRegisterQuery++ //
setTimeout(() => {
//
this.dataTransOpts.refresh.patient_register.S++ //
this.dataTransOpts.plus.clearPatientRegisterQuery++ //
}, 20);
}, 10);
},

2
src/store/index.js

@ -357,7 +357,7 @@ export default new Vuex.Store({
sum_diagnosis: [], // 总检诊断
},
plus: {
clearPatientRegisterQuery: 0, //清空人员登记界面查询条件
clearPatientRegisterQuery: 0, //清空人员登记界面查询条件(重新赋值体检单位)
PatientRegisterEditGroupBatch: 0, //刷新批量调整分组窗口
PatientRegisterEditItemBatch: 0, //刷新批量调整项目窗口
PatientRegisterForChoose:0, // 体检人员查询窗口

Loading…
Cancel
Save