From add52f6aa23c76561d7c3ab712a36805c944a922 Mon Sep 17 00:00:00 2001 From: nicky Date: Sun, 2 Mar 2025 13:12:20 +0800 Subject: [PATCH] 20250302 --- .../components/throm-result-baseInfo.vue | 16 ++++++++-------- .../components/throm-result-firstInfo.vue | 12 ++++++++---- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/src/views/thrombolysis/components/throm-result-baseInfo.vue b/src/views/thrombolysis/components/throm-result-baseInfo.vue index e5db692..5aee0c9 100644 --- a/src/views/thrombolysis/components/throm-result-baseInfo.vue +++ b/src/views/thrombolysis/components/throm-result-baseInfo.vue @@ -348,14 +348,14 @@ codeAndAnswerList }, false) }else{ - const res = await updateFirstAid({ - codeAndAnswerList, - ...params - }) - // const res = await saveAidRecord({ - // codeAndAnswerList, - // ...params - // }); + // const res = await updateFirstAid({ + // codeAndAnswerList, + // ...params + // }) + const res = await saveAidRecord({ + codeAndAnswerList, + ...params + }); this.$message.success(res.msg) } this.$emit('next') diff --git a/src/views/thrombolysis/components/throm-result-firstInfo.vue b/src/views/thrombolysis/components/throm-result-firstInfo.vue index 455146a..c672412 100644 --- a/src/views/thrombolysis/components/throm-result-firstInfo.vue +++ b/src/views/thrombolysis/components/throm-result-firstInfo.vue @@ -558,12 +558,16 @@ }else{ console.log('3902390293023', this.patientId) // var res = await updateFirstAid(params) - const res = await updateFirstAid({ + // const res = await updateFirstAid({ + // firstAidId, + // codeAndAnswerList, + // ...params + // }) + const res = await saveAidRecord({ firstAidId, - codeAndAnswerList, - ...params + codeAndAnswerList, + ...params }) - // const res = await saveAidRecord(param); this.$message.success(res.msg) } // await this.home.updateAidCode({