diff --git a/src/views/document/components/detail.vue b/src/views/document/components/detail.vue
index 754c1d8..4be7a11 100644
--- a/src/views/document/components/detail.vue
+++ b/src/views/document/components/detail.vue
@@ -3,8 +3,8 @@
@cancel="close">
onTabChange(key)">
-
-
+
+
@@ -56,6 +56,9 @@
onTabChange(key) {
this.activeKey = key;
},
+ handleOk(){
+ this.$emit('ok')
+ }
}
}
diff --git a/src/views/document/index.vue b/src/views/document/index.vue
index d72ab1e..2e84f54 100644
--- a/src/views/document/index.vue
+++ b/src/views/document/index.vue
@@ -46,7 +46,7 @@
-
+
diff --git a/src/views/thrombolysis/components/throm-result-baseInfo.vue b/src/views/thrombolysis/components/throm-result-baseInfo.vue
index 5aee0c9..94d44be 100644
--- a/src/views/thrombolysis/components/throm-result-baseInfo.vue
+++ b/src/views/thrombolysis/components/throm-result-baseInfo.vue
@@ -347,18 +347,16 @@
await this.home.updateAidCode({
codeAndAnswerList
}, false)
+ this.$emit('next')
}else{
- // const res = await updateFirstAid({
- // codeAndAnswerList,
- // ...params
- // })
const res = await saveAidRecord({
codeAndAnswerList,
...params
});
this.$message.success(res.msg)
+ this.$emit('ok')
}
- this.$emit('next')
+
})
})
},
diff --git a/src/views/thrombolysis/components/throm-result-firstInfo.vue b/src/views/thrombolysis/components/throm-result-firstInfo.vue
index c672412..61a3fc4 100644
--- a/src/views/thrombolysis/components/throm-result-firstInfo.vue
+++ b/src/views/thrombolysis/components/throm-result-firstInfo.vue
@@ -555,33 +555,19 @@
codeAndAnswerList,
finishStatus
}, false)
+
+ if(finishStatus === 1) {
+ // console.log('firstinfo', firstAidId)
+ this.$emit('next', {firstAidId})
+ }
}else{
- console.log('3902390293023', this.patientId)
- // var res = await updateFirstAid(params)
- // const res = await updateFirstAid({
- // firstAidId,
- // codeAndAnswerList,
- // ...params
- // })
const res = await saveAidRecord({
firstAidId,
codeAndAnswerList,
...params
})
this.$message.success(res.msg)
- }
- // await this.home.updateAidCode({
- // ...params,
- // codeAndAnswerList,
- // finishStatus
- // },
- // false
- // );
- // this.$message.success("操作成功")
- if(finishStatus === 1) {
- console.log('firstinfo', firstAidId)
- this.$emit('next', {firstAidId})
- // this.setPatientData({})
+ this.$emit('ok')
}
});