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({