diff --git a/src/components/360View/commonForm/eyesVision.vue b/src/components/360View/commonForm/eyesVision.vue index 6276423..bcffd06 100644 --- a/src/components/360View/commonForm/eyesVision.vue +++ b/src/components/360View/commonForm/eyesVision.vue @@ -344,10 +344,6 @@ export default { type: String, default: '' }, - formContent: { - type: Object, - default: () => { } - }, onlyRead: { type: Boolean, default: false diff --git a/src/components/360View/commonForm/threeVision.vue b/src/components/360View/commonForm/threeVision.vue index d0a6576..4e2248a 100644 --- a/src/components/360View/commonForm/threeVision.vue +++ b/src/components/360View/commonForm/threeVision.vue @@ -207,10 +207,6 @@ export default { type: String, default: '' }, - formContent: { - type: Object, - default: () => { } - }, onlyRead: { type: Boolean, default: false diff --git a/src/components/360View/medicalRecord/index.vue b/src/components/360View/medicalRecord/index.vue index b09e3b8..48b3603 100644 --- a/src/components/360View/medicalRecord/index.vue +++ b/src/components/360View/medicalRecord/index.vue @@ -191,10 +191,9 @@ export default { } }, addRecord(name) { - this.name = name const date = this.$moment().format('YYYY-MM-DD HH:mm:ss') // 判断表中是否有今日的数据 - const isToday = this.formList.some(item => item.createTime.includes(date.split(' ')[0])) + const isToday = this.formList.some(item => item.createTime.includes(date.split(' ')[0]) && item.name === '门急诊电子病历') if (name === '门急诊电子病历' && isToday) { this.$message({ message: '今日已有病历,请勿重复添加!', @@ -213,6 +212,7 @@ export default { } this.$http.post('/case/save', params).then(res => { this.getFormList() + this.name = name }).catch(err => { this.$message.error(err.msg) })