pengjun 2 years ago
parent
commit
45c05b8943
  1. 15
      src/components/patientRegister/PatientRegisterEdit.vue
  2. 7
      src/components/patientRegister/PatientRegisterList.vue
  3. 6
      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>

7
src/components/patientRegister/PatientRegisterList.vue

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

6
src/store/index.js

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

Loading…
Cancel
Save