diff --git a/src/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue
index 48b3603..2ce826b 100644
--- a/src/components/360View/medicalRecord/index.vue
+++ b/src/components/360View/medicalRecord/index.vue
@@ -239,17 +239,12 @@ export default {
})
if (res.code === 0) {
this.formList = res.data || []
- const date = this.$moment().format('YYYY-MM-DD')
- if (this.formList.length) {
- if (!mode) {
- this.name = this.formList[0].name
- this.id = this.formList[0].id
- }
- this.curIndex = this.formList.findIndex(item => item.id === this.id)
- this.jsonText = this.formList[this.curIndex].jsonText
- } else {
- this.addRecord('门急诊电子病历')
+ if (!mode) {
+ this.name = this.formList[0].name
+ this.id = this.formList[0].id
}
+ this.curIndex = this.formList.findIndex(item => item.id === this.id)
+ this.jsonText = this.formList[this.curIndex].jsonText
} else {
this.$message.error(res.msg)
}
diff --git a/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue b/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue
index 847c48c..5e5590f 100644
--- a/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue
+++ b/src/components/360View/medicalRecord/outPatientRecord/leftFormList.vue
@@ -10,7 +10,7 @@
-
+