diff --git a/src/components/doctorCheck/CheckItemList.vue b/src/components/doctorCheck/CheckItemList.vue index e30a8be..a8a2e7c 100644 --- a/src/components/doctorCheck/CheckItemList.vue +++ b/src/components/doctorCheck/CheckItemList.vue @@ -233,7 +233,7 @@ export default { `/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}` ); getapi( - `/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}` + `/api/app/registercheckitem/getlistinregistercheckid?RegisterCheckId=${RegisterCheckId}&PatientRegisterId=${this.dataTransOpts.tableS.patient_register.id}` ) .then((res) => { // console.log("checkItemList", res.data); @@ -334,11 +334,11 @@ export default { // }, //检查项目未切换换时 也可以强制刷新数据 - "dataTransOpts.refresh.register_check_item.S":{ + "dataTransOpts.refresh.register_check_item.M":{ immediate:true, handler(newVal, oldVal) { - console.log(`watch dataTransOpts.refresh.register_check_item.S newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.registerCheckId}`); - this.checkItemList(this.registerCheckId); + console.log(`watch 检查明细 newVal:${newVal} oldVal:${oldVal} registerCheckId: ${this.dataTransOpts.tableS.register_check.id}`); + this.checkItemList(this.dataTransOpts.tableS.register_check.id); } }, }, diff --git a/src/components/doctorCheck/CheckSumSug.vue b/src/components/doctorCheck/CheckSumSug.vue index 23f7a81..98050c6 100644 --- a/src/components/doctorCheck/CheckSumSug.vue +++ b/src/components/doctorCheck/CheckSumSug.vue @@ -4,6 +4,7 @@ +